$product = {"id":7769452150883,"title":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - 冷靜","handle":"iphone-13-mini-mod-nx-printable-xf46","description":null,"published_at":"2025-07-16T17:34:52+08:00","created_at":"2025-04-15T16:19:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 13 Mini","merge","reseller-ilovedoodle"],"price":90000,"price_min":90000,"price_max":90000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":43302415073379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196894187619,"product_id":7769452150883,"position":6,"created_at":"2025-07-16T14:53:41+08:00","updated_at":"2025-07-16T14:53:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21e17f26763beeadcce939e45e255cef65ef75d_80062628-5ae7-4798-a8cf-602d21a96671.webp?v=1752648823","variant_ids":[43302415073379]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF46","featured_media":{"alt":null,"id":25829602689123,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21e17f26763beeadcce939e45e255cef65ef75d_80062628-5ae7-4798-a8cf-602d21a96671.webp?v=1752648823"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302421004387,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196897497187,"product_id":7769452150883,"position":11,"created_at":"2025-07-16T14:53:44+08:00","updated_at":"2025-07-16T14:53:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f60771e926bfc951d8831d396009ffe4f2641506_441a24c4-fa3c-4644-91f0-f785bc6d4e2c.webp?v=1752648826","variant_ids":[43302421004387]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - 冷靜 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-XF46","featured_media":{"alt":null,"id":25829604229219,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f60771e926bfc951d8831d396009ffe4f2641506_441a24c4-fa3c-4644-91f0-f785bc6d4e2c.webp?v=1752648826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302421168227,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196893466723,"product_id":7769452150883,"position":4,"created_at":"2025-07-16T14:53:40+08:00","updated_at":"2025-07-16T14:53:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ee131d21fd0c4a448779f99c12696a63ce30d8_a857810a-27e8-4ee1-9990-a6c00495b1b5.webp?v=1752648822","variant_ids":[43302421168227]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - 冷靜 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-XF46","featured_media":{"alt":null,"id":25829602394211,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ee131d21fd0c4a448779f99c12696a63ce30d8_a857810a-27e8-4ee1-9990-a6c00495b1b5.webp?v=1752648822"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1845a480cbb8a36ea4d84618f0ee15d8a61c4b34.webp?v=1744705169","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/564da8fee47abee91af84d3e1a7b3bc61624c48b_e6b149c4-1566-41f9-8316-a2bad7fde1d0.webp?v=1752648821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a23549d22b5a5c756bbbaa1e34e267e0a6a99903_f4487969-a769-4bff-a358-df367ea25d92.webp?v=1752648821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ee131d21fd0c4a448779f99c12696a63ce30d8_a857810a-27e8-4ee1-9990-a6c00495b1b5.webp?v=1752648822","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a231070de09fcb24040f51b823d0bace8e5f7d28_db2e66d1-ad40-49fb-bbd7-e312417910c4.webp?v=1752648822","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21e17f26763beeadcce939e45e255cef65ef75d_80062628-5ae7-4798-a8cf-602d21a96671.webp?v=1752648823","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff8ed62ad15bedda27076dcb516d00f2821820d8_cde2b39d-0c27-4581-af6d-470601b032fd.webp?v=1752648824","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac9d73cad7e36a4e441aa2cbaf1088becfda89f0_002da3ae-8cbe-4a00-9214-f20ae1f66020.webp?v=1752648824","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b720fa789cbaa1d0ddcd7e2693d4b469d45c6e2d_17b2461f-da2e-4962-b2bf-c8731aa9e30a.webp?v=1752648824","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca5a10f0d2e4952376fd1712deb0e8d2626820ad_017f84a9-f18c-4964-bfe8-828d66b55930.webp?v=1752648825","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f60771e926bfc951d8831d396009ffe4f2641506_441a24c4-fa3c-4644-91f0-f785bc6d4e2c.webp?v=1752648826"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1845a480cbb8a36ea4d84618f0ee15d8a61c4b34.webp?v=1744705169","options":["color"],"media":[{"alt":null,"id":25495478009955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1845a480cbb8a36ea4d84618f0ee15d8a61c4b34.webp?v=1744705169"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1845a480cbb8a36ea4d84618f0ee15d8a61c4b34.webp?v=1744705169","width":2000},{"alt":null,"id":25829601869923,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/564da8fee47abee91af84d3e1a7b3bc61624c48b_e6b149c4-1566-41f9-8316-a2bad7fde1d0.webp?v=1752648821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/564da8fee47abee91af84d3e1a7b3bc61624c48b_e6b149c4-1566-41f9-8316-a2bad7fde1d0.webp?v=1752648821","width":2000},{"alt":null,"id":25829602295907,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a23549d22b5a5c756bbbaa1e34e267e0a6a99903_f4487969-a769-4bff-a358-df367ea25d92.webp?v=1752648821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a23549d22b5a5c756bbbaa1e34e267e0a6a99903_f4487969-a769-4bff-a358-df367ea25d92.webp?v=1752648821","width":2000},{"alt":null,"id":25829602394211,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ee131d21fd0c4a448779f99c12696a63ce30d8_a857810a-27e8-4ee1-9990-a6c00495b1b5.webp?v=1752648822"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ee131d21fd0c4a448779f99c12696a63ce30d8_a857810a-27e8-4ee1-9990-a6c00495b1b5.webp?v=1752648822","width":2000},{"alt":null,"id":25829602525283,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a231070de09fcb24040f51b823d0bace8e5f7d28_db2e66d1-ad40-49fb-bbd7-e312417910c4.webp?v=1752648822"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a231070de09fcb24040f51b823d0bace8e5f7d28_db2e66d1-ad40-49fb-bbd7-e312417910c4.webp?v=1752648822","width":2000},{"alt":null,"id":25829602689123,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21e17f26763beeadcce939e45e255cef65ef75d_80062628-5ae7-4798-a8cf-602d21a96671.webp?v=1752648823"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21e17f26763beeadcce939e45e255cef65ef75d_80062628-5ae7-4798-a8cf-602d21a96671.webp?v=1752648823","width":2000},{"alt":null,"id":25829602885731,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff8ed62ad15bedda27076dcb516d00f2821820d8_cde2b39d-0c27-4581-af6d-470601b032fd.webp?v=1752648824"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff8ed62ad15bedda27076dcb516d00f2821820d8_cde2b39d-0c27-4581-af6d-470601b032fd.webp?v=1752648824","width":2000},{"alt":null,"id":25829603115107,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac9d73cad7e36a4e441aa2cbaf1088becfda89f0_002da3ae-8cbe-4a00-9214-f20ae1f66020.webp?v=1752648824"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac9d73cad7e36a4e441aa2cbaf1088becfda89f0_002da3ae-8cbe-4a00-9214-f20ae1f66020.webp?v=1752648824","width":2000},{"alt":null,"id":25829603344483,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b720fa789cbaa1d0ddcd7e2693d4b469d45c6e2d_17b2461f-da2e-4962-b2bf-c8731aa9e30a.webp?v=1752648824"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b720fa789cbaa1d0ddcd7e2693d4b469d45c6e2d_17b2461f-da2e-4962-b2bf-c8731aa9e30a.webp?v=1752648824","width":2000},{"alt":null,"id":25829603606627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca5a10f0d2e4952376fd1712deb0e8d2626820ad_017f84a9-f18c-4964-bfe8-828d66b55930.webp?v=1752648825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca5a10f0d2e4952376fd1712deb0e8d2626820ad_017f84a9-f18c-4964-bfe8-828d66b55930.webp?v=1752648825","width":2000},{"alt":null,"id":25829604229219,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f60771e926bfc951d8831d396009ffe4f2641506_441a24c4-fa3c-4644-91f0-f785bc6d4e2c.webp?v=1752648826"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f60771e926bfc951d8831d396009ffe4f2641506_441a24c4-fa3c-4644-91f0-f785bc6d4e2c.webp?v=1752648826","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43302415073379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196894187619,"product_id":7769452150883,"position":6,"created_at":"2025-07-16T14:53:41+08:00","updated_at":"2025-07-16T14:53:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21e17f26763beeadcce939e45e255cef65ef75d_80062628-5ae7-4798-a8cf-602d21a96671.webp?v=1752648823","variant_ids":[43302415073379]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF46","featured_media":{"alt":null,"id":25829602689123,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21e17f26763beeadcce939e45e255cef65ef75d_80062628-5ae7-4798-a8cf-602d21a96671.webp?v=1752648823"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302421004387,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196897497187,"product_id":7769452150883,"position":11,"created_at":"2025-07-16T14:53:44+08:00","updated_at":"2025-07-16T14:53:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f60771e926bfc951d8831d396009ffe4f2641506_441a24c4-fa3c-4644-91f0-f785bc6d4e2c.webp?v=1752648826","variant_ids":[43302421004387]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - 冷靜 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-XF46","featured_media":{"alt":null,"id":25829604229219,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f60771e926bfc951d8831d396009ffe4f2641506_441a24c4-fa3c-4644-91f0-f785bc6d4e2c.webp?v=1752648826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302421168227,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196893466723,"product_id":7769452150883,"position":4,"created_at":"2025-07-16T14:53:40+08:00","updated_at":"2025-07-16T14:53:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ee131d21fd0c4a448779f99c12696a63ce30d8_a857810a-27e8-4ee1-9990-a6c00495b1b5.webp?v=1752648822","variant_ids":[43302421168227]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - 冷靜 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-XF46","featured_media":{"alt":null,"id":25829602394211,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ee131d21fd0c4a448779f99c12696a63ce30d8_a857810a-27e8-4ee1-9990-a6c00495b1b5.webp?v=1752648822"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43302415073379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196894187619,"product_id":7769452150883,"position":6,"created_at":"2025-07-16T14:53:41+08:00","updated_at":"2025-07-16T14:53:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21e17f26763beeadcce939e45e255cef65ef75d_80062628-5ae7-4798-a8cf-602d21a96671.webp?v=1752648823","variant_ids":[43302415073379]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF46","featured_media":{"alt":null,"id":25829602689123,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21e17f26763beeadcce939e45e255cef65ef75d_80062628-5ae7-4798-a8cf-602d21a96671.webp?v=1752648823"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (mergedImg) { $('.merged-img').attr('src', mergedImg); }); }); }; var sellingStatusData window.fetchSellingStatus().then(data => { try { sellingStatusData = data; } catch (error) { sellingStatusData = null console.error('Unable to parse selling status', error) } $(document).ready(function() { handleSellingStatus($defaultVariant.sku); }); }) function handleSellingStatus(currentSku) { if (!sellingStatusData) { console.error('No selling status available!') return } const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder] const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku) if (matchSellingStatusProduct.length > 0) { const isProductPending = matchSellingStatusProduct[0].status === 'pending' const matchDate = matchSellingStatusProduct[0].date sellingStatus = isProductPending ? "缺貨中" : "預購完成出貨日:" + matchDate sellingStatusElement.textContent = sellingStatus if (sellingStatus.includes("缺貨中")){ addToCartButton.disabled ='true'; addToCartButton.textContent = "缺貨中無法加入購物車" } else { addToCartButton.textContent = "加到購物車" } } else { sellingStatusElement.textContent = '' addToCartButton.textContent = "加到購物車" }; }; }; document.addEventListener('DOMContentLoaded', function () { var currentVariantSelect = document.getElementById('SingleOptionSelector-0') currentVariantSelect.addEventListener('change', function() { var currentSku = $('#current_sku').text() var skuElement = document.getElementById('current-sku') skuElement.textContent = currentSku handleSellingStatus(currentSku) }); });
// Override default values of shop.strings for each template. // Alternate product templates can change values of // add to cart button, sold out, and unavailable states here. theme.productStrings = { addToCart: "加到購物車", soldOut: "售完", unavailable: "停產" }