$product = {"id":7769520013411,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - 冷靜","handle":"iphone-14-plus-mod-nx-magsafe-printable-xf46","description":null,"published_at":"2025-07-16T17:27:37+08:00","created_at":"2025-04-15T17:14:55+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 14 Plus","merge","reseller-ilovedoodle"],"price":110000,"price_min":110000,"price_max":110000,"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":43302736592995,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197790228579,"product_id":7769520013411,"position":11,"created_at":"2025-07-16T15:22:37+08:00","updated_at":"2025-07-16T15:22:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269f758d6f3536310194d071bec523efd7611eea_583b3865-63f9-4ed5-9c6a-c66ccc0d7c7f.webp?v=1752650559","variant_ids":[43302736592995]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-XF46","featured_media":{"alt":null,"id":25830103613539,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269f758d6f3536310194d071bec523efd7611eea_583b3865-63f9-4ed5-9c6a-c66ccc0d7c7f.webp?v=1752650559"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f271df47bd30944022ef69232894ca25850803.webp?v=1744708502","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5bff8eed4284f323260f1344ea502652bdd24cd_1cfae8ea-6d9e-4471-97aa-2587834f5003.webp?v=1752650554","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c56b5acc3c7454d17d6c8ef7e72f224cf015c_63e25c1b-5265-44b5-a9a2-370e822529bf.webp?v=1752650554","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e1dadcee73c4cc9b3118c4634d917173bd7b8db_ff6a6a2e-7b4c-4790-92b1-fd03bb6a161f.webp?v=1752650555","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e28d85581624324e36881434b6b8d9606f8309a6_afa5f678-29ee-4ab5-824f-160bfe454f7a.webp?v=1752650556","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5d8e56ab90a5d1a42bb7cb9a1b98915b8c7441_ce575dff-b93a-43a8-bd69-3e8ab2ea0289.webp?v=1752650557","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc267667e3072c22e120de1924af8624d33d8848_574f24fd-7644-4908-9955-4eba20e220fb.webp?v=1752650557","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25327d4e5aea213d38f62a38a626752f5f769fb5_059f8341-d9d3-47fc-bb0d-bf57a34fdda9.webp?v=1752650557","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f333c9a82020c4ff9b93c266edb4a38245e2d0_1a4bdc9b-c986-47c8-bc0a-ab1cc2308069.webp?v=1752650558","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96568dee597c443a5e66cba78f5209b35970a015_26e44b1c-83ba-449b-8109-86803d235dd3.webp?v=1752650559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269f758d6f3536310194d071bec523efd7611eea_583b3865-63f9-4ed5-9c6a-c66ccc0d7c7f.webp?v=1752650559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98eb00550bae8c8a9eaa30873bcd1bbb2cfdb90a_b9780d1a-af21-41c4-b66c-99c3a2af8bed.webp?v=1752650560","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4778e7e7b2cd6b82621d6dacb5d0dab78350db_cba0fa1b-1cc1-41c1-9a2c-9b5d84dd2237.webp?v=1752650560","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caee552f768cb6e85c436160c22dc612808d8e18_e374b832-cd56-4bad-935f-b4c2caafe93d.webp?v=1752650561"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f271df47bd30944022ef69232894ca25850803.webp?v=1744708502","options":["color"],"media":[{"alt":null,"id":25495686742115,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f271df47bd30944022ef69232894ca25850803.webp?v=1744708502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f271df47bd30944022ef69232894ca25850803.webp?v=1744708502","width":2000},{"alt":null,"id":25830100664419,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5bff8eed4284f323260f1344ea502652bdd24cd_1cfae8ea-6d9e-4471-97aa-2587834f5003.webp?v=1752650554"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5bff8eed4284f323260f1344ea502652bdd24cd_1cfae8ea-6d9e-4471-97aa-2587834f5003.webp?v=1752650554","width":2000},{"alt":null,"id":25830101024867,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c56b5acc3c7454d17d6c8ef7e72f224cf015c_63e25c1b-5265-44b5-a9a2-370e822529bf.webp?v=1752650554"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c56b5acc3c7454d17d6c8ef7e72f224cf015c_63e25c1b-5265-44b5-a9a2-370e822529bf.webp?v=1752650554","width":2000},{"alt":null,"id":25830101319779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e1dadcee73c4cc9b3118c4634d917173bd7b8db_ff6a6a2e-7b4c-4790-92b1-fd03bb6a161f.webp?v=1752650555"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e1dadcee73c4cc9b3118c4634d917173bd7b8db_ff6a6a2e-7b4c-4790-92b1-fd03bb6a161f.webp?v=1752650555","width":2000},{"alt":null,"id":25830101811299,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e28d85581624324e36881434b6b8d9606f8309a6_afa5f678-29ee-4ab5-824f-160bfe454f7a.webp?v=1752650556"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e28d85581624324e36881434b6b8d9606f8309a6_afa5f678-29ee-4ab5-824f-160bfe454f7a.webp?v=1752650556","width":2000},{"alt":null,"id":25830102073443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5d8e56ab90a5d1a42bb7cb9a1b98915b8c7441_ce575dff-b93a-43a8-bd69-3e8ab2ea0289.webp?v=1752650557"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5d8e56ab90a5d1a42bb7cb9a1b98915b8c7441_ce575dff-b93a-43a8-bd69-3e8ab2ea0289.webp?v=1752650557","width":2000},{"alt":null,"id":25830102302819,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc267667e3072c22e120de1924af8624d33d8848_574f24fd-7644-4908-9955-4eba20e220fb.webp?v=1752650557"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc267667e3072c22e120de1924af8624d33d8848_574f24fd-7644-4908-9955-4eba20e220fb.webp?v=1752650557","width":2000},{"alt":null,"id":25830102564963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25327d4e5aea213d38f62a38a626752f5f769fb5_059f8341-d9d3-47fc-bb0d-bf57a34fdda9.webp?v=1752650557"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25327d4e5aea213d38f62a38a626752f5f769fb5_059f8341-d9d3-47fc-bb0d-bf57a34fdda9.webp?v=1752650557","width":2000},{"alt":null,"id":25830102794339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f333c9a82020c4ff9b93c266edb4a38245e2d0_1a4bdc9b-c986-47c8-bc0a-ab1cc2308069.webp?v=1752650558"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f333c9a82020c4ff9b93c266edb4a38245e2d0_1a4bdc9b-c986-47c8-bc0a-ab1cc2308069.webp?v=1752650558","width":2000},{"alt":null,"id":25830103351395,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96568dee597c443a5e66cba78f5209b35970a015_26e44b1c-83ba-449b-8109-86803d235dd3.webp?v=1752650559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96568dee597c443a5e66cba78f5209b35970a015_26e44b1c-83ba-449b-8109-86803d235dd3.webp?v=1752650559","width":2000},{"alt":null,"id":25830103613539,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269f758d6f3536310194d071bec523efd7611eea_583b3865-63f9-4ed5-9c6a-c66ccc0d7c7f.webp?v=1752650559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269f758d6f3536310194d071bec523efd7611eea_583b3865-63f9-4ed5-9c6a-c66ccc0d7c7f.webp?v=1752650559","width":2000},{"alt":null,"id":25830103941219,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98eb00550bae8c8a9eaa30873bcd1bbb2cfdb90a_b9780d1a-af21-41c4-b66c-99c3a2af8bed.webp?v=1752650560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98eb00550bae8c8a9eaa30873bcd1bbb2cfdb90a_b9780d1a-af21-41c4-b66c-99c3a2af8bed.webp?v=1752650560","width":2000},{"alt":null,"id":25830104268899,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4778e7e7b2cd6b82621d6dacb5d0dab78350db_cba0fa1b-1cc1-41c1-9a2c-9b5d84dd2237.webp?v=1752650560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4778e7e7b2cd6b82621d6dacb5d0dab78350db_cba0fa1b-1cc1-41c1-9a2c-9b5d84dd2237.webp?v=1752650560","width":2000},{"alt":null,"id":25830104563811,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caee552f768cb6e85c436160c22dc612808d8e18_e374b832-cd56-4bad-935f-b4c2caafe93d.webp?v=1752650561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caee552f768cb6e85c436160c22dc612808d8e18_e374b832-cd56-4bad-935f-b4c2caafe93d.webp?v=1752650561","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43302736592995,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197790228579,"product_id":7769520013411,"position":11,"created_at":"2025-07-16T15:22:37+08:00","updated_at":"2025-07-16T15:22:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269f758d6f3536310194d071bec523efd7611eea_583b3865-63f9-4ed5-9c6a-c66ccc0d7c7f.webp?v=1752650559","variant_ids":[43302736592995]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-XF46","featured_media":{"alt":null,"id":25830103613539,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269f758d6f3536310194d071bec523efd7611eea_583b3865-63f9-4ed5-9c6a-c66ccc0d7c7f.webp?v=1752650559"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43302736592995,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197790228579,"product_id":7769520013411,"position":11,"created_at":"2025-07-16T15:22:37+08:00","updated_at":"2025-07-16T15:22:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269f758d6f3536310194d071bec523efd7611eea_583b3865-63f9-4ed5-9c6a-c66ccc0d7c7f.webp?v=1752650559","variant_ids":[43302736592995]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-XF46","featured_media":{"alt":null,"id":25830103613539,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269f758d6f3536310194d071bec523efd7611eea_583b3865-63f9-4ed5-9c6a-c66ccc0d7c7f.webp?v=1752650559"}},"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: "停產" }