$product = {"id":7769580732515,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Stay Curious - 保持好奇心","handle":"iphone-14-plus-mod-nx-magsafe-printable-xf57","description":null,"published_at":"2025-07-16T17:21:31+08:00","created_at":"2025-04-15T18:02:53+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":43303029440611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197710766179,"product_id":7769580732515,"position":10,"created_at":"2025-07-16T15:21:25+08:00","updated_at":"2025-07-16T15:21:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f686e00486520431a169a6f68cfbc0398e3a3134_bc58adce-0f5b-41aa-9c05-a7bbe04624c0.webp?v=1752650486","variant_ids":[43303029440611]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25830061965411,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f686e00486520431a169a6f68cfbc0398e3a3134_bc58adce-0f5b-41aa-9c05-a7bbe04624c0.webp?v=1752650486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04e9ff9010dadd10a5839d45f75f9892b2fc09e4.webp?v=1744711380","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b05e7a56f85b94fccadd66c504dd5e1ccce209f7_e7adb018-3e47-4a3e-a24b-130654772d31.webp?v=1752650482","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c5b4acf2caf81ad2994dfbee09451b0415eba48_4549cf74-5cd4-46b0-a232-a1495a224336.webp?v=1752650482","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09de82c7800e88396a30250a2ce19619137f9693_28e5b841-0313-4b4c-bf26-1919956036a6.webp?v=1752650483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90721bcc1ed2c726ce5bbf92539cbf6f1c88b864_acc72bba-e086-43ff-8428-54cc37e56232.webp?v=1752650483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be9cf32dfd413f63c2bd249502542b69bda0435a_64823b43-903c-4410-8b30-cc1f3e1f5c4d.webp?v=1752650484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3259a79e12c8ba83613af729b78f3d28d855ae27_0ac39066-5564-4372-8c2d-4a5541cf368f.webp?v=1752650484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c133b016726a423424f52158696140735fdfb81e_92f62a44-16a9-4c47-9b0d-2fbeeb309168.webp?v=1752650486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f54e62c7aaed4482625c8ad03eb3279b2cdc7b6d_715b5997-c5b3-401e-aeb3-6445adb6902c.webp?v=1752650486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f686e00486520431a169a6f68cfbc0398e3a3134_bc58adce-0f5b-41aa-9c05-a7bbe04624c0.webp?v=1752650486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f3128f6a5f4dd7b2e2b887f6d76c567eea232a4_bd14a0b6-b33c-4e81-9fb1-56bd397ab0e6.webp?v=1752650487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce4941ea9a5470264d52e34e5aa057c4700dd7f_f851839a-1ea6-48bb-ac90-cf6b3f09ca03.webp?v=1752650487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f4e16bb8369e98af2d66675aea1eaa3d3012f22_cbd2d1c5-ac43-49a9-883c-871967b51334.webp?v=1752650488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd53930c6901fa4f5dbaf3e914bc376deeb6d6c8_0ecddd28-377b-439b-b5b3-f1c314ec1f68.webp?v=1752650488"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04e9ff9010dadd10a5839d45f75f9892b2fc09e4.webp?v=1744711380","options":["color"],"media":[{"alt":null,"id":25495865557091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04e9ff9010dadd10a5839d45f75f9892b2fc09e4.webp?v=1744711380"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04e9ff9010dadd10a5839d45f75f9892b2fc09e4.webp?v=1744711380","width":2000},{"alt":null,"id":25830056984675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b05e7a56f85b94fccadd66c504dd5e1ccce209f7_e7adb018-3e47-4a3e-a24b-130654772d31.webp?v=1752650482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b05e7a56f85b94fccadd66c504dd5e1ccce209f7_e7adb018-3e47-4a3e-a24b-130654772d31.webp?v=1752650482","width":2000},{"alt":null,"id":25830057541731,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c5b4acf2caf81ad2994dfbee09451b0415eba48_4549cf74-5cd4-46b0-a232-a1495a224336.webp?v=1752650482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c5b4acf2caf81ad2994dfbee09451b0415eba48_4549cf74-5cd4-46b0-a232-a1495a224336.webp?v=1752650482","width":2000},{"alt":null,"id":25830058229859,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09de82c7800e88396a30250a2ce19619137f9693_28e5b841-0313-4b4c-bf26-1919956036a6.webp?v=1752650483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09de82c7800e88396a30250a2ce19619137f9693_28e5b841-0313-4b4c-bf26-1919956036a6.webp?v=1752650483","width":2000},{"alt":null,"id":25830058819683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90721bcc1ed2c726ce5bbf92539cbf6f1c88b864_acc72bba-e086-43ff-8428-54cc37e56232.webp?v=1752650483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90721bcc1ed2c726ce5bbf92539cbf6f1c88b864_acc72bba-e086-43ff-8428-54cc37e56232.webp?v=1752650483","width":2000},{"alt":null,"id":25830059802723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be9cf32dfd413f63c2bd249502542b69bda0435a_64823b43-903c-4410-8b30-cc1f3e1f5c4d.webp?v=1752650484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be9cf32dfd413f63c2bd249502542b69bda0435a_64823b43-903c-4410-8b30-cc1f3e1f5c4d.webp?v=1752650484","width":2000},{"alt":null,"id":25830060294243,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3259a79e12c8ba83613af729b78f3d28d855ae27_0ac39066-5564-4372-8c2d-4a5541cf368f.webp?v=1752650484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3259a79e12c8ba83613af729b78f3d28d855ae27_0ac39066-5564-4372-8c2d-4a5541cf368f.webp?v=1752650484","width":2000},{"alt":null,"id":25830061015139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c133b016726a423424f52158696140735fdfb81e_92f62a44-16a9-4c47-9b0d-2fbeeb309168.webp?v=1752650486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c133b016726a423424f52158696140735fdfb81e_92f62a44-16a9-4c47-9b0d-2fbeeb309168.webp?v=1752650486","width":2000},{"alt":null,"id":25830061473891,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f54e62c7aaed4482625c8ad03eb3279b2cdc7b6d_715b5997-c5b3-401e-aeb3-6445adb6902c.webp?v=1752650486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f54e62c7aaed4482625c8ad03eb3279b2cdc7b6d_715b5997-c5b3-401e-aeb3-6445adb6902c.webp?v=1752650486","width":2000},{"alt":null,"id":25830061965411,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f686e00486520431a169a6f68cfbc0398e3a3134_bc58adce-0f5b-41aa-9c05-a7bbe04624c0.webp?v=1752650486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f686e00486520431a169a6f68cfbc0398e3a3134_bc58adce-0f5b-41aa-9c05-a7bbe04624c0.webp?v=1752650486","width":2000},{"alt":null,"id":25830062325859,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f3128f6a5f4dd7b2e2b887f6d76c567eea232a4_bd14a0b6-b33c-4e81-9fb1-56bd397ab0e6.webp?v=1752650487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f3128f6a5f4dd7b2e2b887f6d76c567eea232a4_bd14a0b6-b33c-4e81-9fb1-56bd397ab0e6.webp?v=1752650487","width":2000},{"alt":null,"id":25830062588003,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce4941ea9a5470264d52e34e5aa057c4700dd7f_f851839a-1ea6-48bb-ac90-cf6b3f09ca03.webp?v=1752650487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce4941ea9a5470264d52e34e5aa057c4700dd7f_f851839a-1ea6-48bb-ac90-cf6b3f09ca03.webp?v=1752650487","width":2000},{"alt":null,"id":25830062882915,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f4e16bb8369e98af2d66675aea1eaa3d3012f22_cbd2d1c5-ac43-49a9-883c-871967b51334.webp?v=1752650488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f4e16bb8369e98af2d66675aea1eaa3d3012f22_cbd2d1c5-ac43-49a9-883c-871967b51334.webp?v=1752650488","width":2000},{"alt":null,"id":25830063013987,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd53930c6901fa4f5dbaf3e914bc376deeb6d6c8_0ecddd28-377b-439b-b5b3-f1c314ec1f68.webp?v=1752650488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd53930c6901fa4f5dbaf3e914bc376deeb6d6c8_0ecddd28-377b-439b-b5b3-f1c314ec1f68.webp?v=1752650488","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43303029440611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197710766179,"product_id":7769580732515,"position":10,"created_at":"2025-07-16T15:21:25+08:00","updated_at":"2025-07-16T15:21:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f686e00486520431a169a6f68cfbc0398e3a3134_bc58adce-0f5b-41aa-9c05-a7bbe04624c0.webp?v=1752650486","variant_ids":[43303029440611]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25830061965411,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f686e00486520431a169a6f68cfbc0398e3a3134_bc58adce-0f5b-41aa-9c05-a7bbe04624c0.webp?v=1752650486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303029440611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197710766179,"product_id":7769580732515,"position":10,"created_at":"2025-07-16T15:21:25+08:00","updated_at":"2025-07-16T15:21:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f686e00486520431a169a6f68cfbc0398e3a3134_bc58adce-0f5b-41aa-9c05-a7bbe04624c0.webp?v=1752650486","variant_ids":[43303029440611]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25830061965411,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f686e00486520431a169a6f68cfbc0398e3a3134_bc58adce-0f5b-41aa-9c05-a7bbe04624c0.webp?v=1752650486"}},"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: "停產" }