$product = {"id":7988875821155,"title":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) ilovedoodle Coffee Cat: 貓布奇諾","handle":"iphone-13-pro-max-solidsuit-classic-magsafe-xf64","description":null,"published_at":"2026-04-02T14:47:48+08:00","created_at":"2026-04-01T11:02:44+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 13 Pro Max","merge","reseller-ilovedoodle"],"price":125000,"price_min":125000,"price_max":125000,"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":44093588144227,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012320E-XF64","requires_shipping":true,"taxable":true,"featured_image":{"id":35572200833123,"product_id":7988875821155,"position":4,"created_at":"2026-04-01T11:02:50+08:00","updated_at":"2026-04-01T11:02:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2139585351f692663ce751f190ab94c9c2743222.webp?v=1775012572","variant_ids":[44093588144227]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) ilovedoodle Coffee Cat: 貓布奇諾 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320E-XF64","featured_media":{"alt":null,"id":27105275347043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2139585351f692663ce751f190ab94c9c2743222.webp?v=1775012572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093589848163,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012320B-XF64","requires_shipping":true,"taxable":true,"featured_image":{"id":35572200767587,"product_id":7988875821155,"position":3,"created_at":"2026-04-01T11:02:49+08:00","updated_at":"2026-04-01T11:02:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ad15132cef753f4e0bb8a787ca64be56d3f2d1.webp?v=1775012571","variant_ids":[44093589848163]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) ilovedoodle Coffee Cat: 貓布奇諾 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320B-XF64","featured_media":{"alt":null,"id":27105275248739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ad15132cef753f4e0bb8a787ca64be56d3f2d1.webp?v=1775012571"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093589880931,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01232Z9-XF64","requires_shipping":true,"taxable":true,"featured_image":{"id":35572201128035,"product_id":7988875821155,"position":6,"created_at":"2026-04-01T11:02:51+08:00","updated_at":"2026-04-01T11:02:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e23785dd88c75a4ca8c36e01df09c7474f38400b.webp?v=1775012573","variant_ids":[44093589880931]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) ilovedoodle Coffee Cat: 貓布奇諾 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01232Z9-XF64","featured_media":{"alt":null,"id":27105275904099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e23785dd88c75a4ca8c36e01df09c7474f38400b.webp?v=1775012573"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093589946467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0123252-XF64","requires_shipping":true,"taxable":true,"featured_image":{"id":35572201816163,"product_id":7988875821155,"position":8,"created_at":"2026-04-01T11:02:52+08:00","updated_at":"2026-04-01T11:02:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07dd4da56604d5dc4501f26b518ab53bb3476f53.webp?v=1775012574","variant_ids":[44093589946467]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) ilovedoodle Coffee Cat: 貓布奇諾 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-XF64","featured_media":{"alt":null,"id":27105276887139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07dd4da56604d5dc4501f26b518ab53bb3476f53.webp?v=1775012574"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093589979235,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012320C-XF64","requires_shipping":true,"taxable":true,"featured_image":{"id":35572200538211,"product_id":7988875821155,"position":1,"created_at":"2026-04-01T11:02:48+08:00","updated_at":"2026-04-01T11:02:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e5b14bde61bdf580d37e59f90f2801da54d45e.webp?v=1775012570","variant_ids":[44093589979235]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) ilovedoodle Coffee Cat: 貓布奇諾 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320C-XF64","featured_media":{"alt":null,"id":27105274724451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e5b14bde61bdf580d37e59f90f2801da54d45e.webp?v=1775012570"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e5b14bde61bdf580d37e59f90f2801da54d45e.webp?v=1775012570","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1f9c3a077846f3f95a293a594d688009c23a9c9.webp?v=1775012571","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ad15132cef753f4e0bb8a787ca64be56d3f2d1.webp?v=1775012571","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2139585351f692663ce751f190ab94c9c2743222.webp?v=1775012572","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7678cfe4ca42d6a9a2da48b99b622d696fbf330.webp?v=1775012572","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e23785dd88c75a4ca8c36e01df09c7474f38400b.webp?v=1775012573","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe1bc87197aa6ace538e0f124484f13e1b07d4a3.webp?v=1775012574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07dd4da56604d5dc4501f26b518ab53bb3476f53.webp?v=1775012574"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e5b14bde61bdf580d37e59f90f2801da54d45e.webp?v=1775012570","options":["color"],"media":[{"alt":null,"id":27105274724451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e5b14bde61bdf580d37e59f90f2801da54d45e.webp?v=1775012570"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e5b14bde61bdf580d37e59f90f2801da54d45e.webp?v=1775012570","width":2000},{"alt":null,"id":27105274789987,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1f9c3a077846f3f95a293a594d688009c23a9c9.webp?v=1775012571"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1f9c3a077846f3f95a293a594d688009c23a9c9.webp?v=1775012571","width":2000},{"alt":null,"id":27105275248739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ad15132cef753f4e0bb8a787ca64be56d3f2d1.webp?v=1775012571"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ad15132cef753f4e0bb8a787ca64be56d3f2d1.webp?v=1775012571","width":2000},{"alt":null,"id":27105275347043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2139585351f692663ce751f190ab94c9c2743222.webp?v=1775012572"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2139585351f692663ce751f190ab94c9c2743222.webp?v=1775012572","width":2000},{"alt":null,"id":27105275478115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7678cfe4ca42d6a9a2da48b99b622d696fbf330.webp?v=1775012572"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7678cfe4ca42d6a9a2da48b99b622d696fbf330.webp?v=1775012572","width":2000},{"alt":null,"id":27105275904099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e23785dd88c75a4ca8c36e01df09c7474f38400b.webp?v=1775012573"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e23785dd88c75a4ca8c36e01df09c7474f38400b.webp?v=1775012573","width":2000},{"alt":null,"id":27105276100707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe1bc87197aa6ace538e0f124484f13e1b07d4a3.webp?v=1775012574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe1bc87197aa6ace538e0f124484f13e1b07d4a3.webp?v=1775012574","width":2000},{"alt":null,"id":27105276887139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07dd4da56604d5dc4501f26b518ab53bb3476f53.webp?v=1775012574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07dd4da56604d5dc4501f26b518ab53bb3476f53.webp?v=1775012574","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44093588144227,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012320E-XF64","requires_shipping":true,"taxable":true,"featured_image":{"id":35572200833123,"product_id":7988875821155,"position":4,"created_at":"2026-04-01T11:02:50+08:00","updated_at":"2026-04-01T11:02:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2139585351f692663ce751f190ab94c9c2743222.webp?v=1775012572","variant_ids":[44093588144227]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) ilovedoodle Coffee Cat: 貓布奇諾 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320E-XF64","featured_media":{"alt":null,"id":27105275347043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2139585351f692663ce751f190ab94c9c2743222.webp?v=1775012572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093589848163,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012320B-XF64","requires_shipping":true,"taxable":true,"featured_image":{"id":35572200767587,"product_id":7988875821155,"position":3,"created_at":"2026-04-01T11:02:49+08:00","updated_at":"2026-04-01T11:02:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ad15132cef753f4e0bb8a787ca64be56d3f2d1.webp?v=1775012571","variant_ids":[44093589848163]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) ilovedoodle Coffee Cat: 貓布奇諾 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320B-XF64","featured_media":{"alt":null,"id":27105275248739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ad15132cef753f4e0bb8a787ca64be56d3f2d1.webp?v=1775012571"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093589880931,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01232Z9-XF64","requires_shipping":true,"taxable":true,"featured_image":{"id":35572201128035,"product_id":7988875821155,"position":6,"created_at":"2026-04-01T11:02:51+08:00","updated_at":"2026-04-01T11:02:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e23785dd88c75a4ca8c36e01df09c7474f38400b.webp?v=1775012573","variant_ids":[44093589880931]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) ilovedoodle Coffee Cat: 貓布奇諾 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01232Z9-XF64","featured_media":{"alt":null,"id":27105275904099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e23785dd88c75a4ca8c36e01df09c7474f38400b.webp?v=1775012573"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093589946467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0123252-XF64","requires_shipping":true,"taxable":true,"featured_image":{"id":35572201816163,"product_id":7988875821155,"position":8,"created_at":"2026-04-01T11:02:52+08:00","updated_at":"2026-04-01T11:02:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07dd4da56604d5dc4501f26b518ab53bb3476f53.webp?v=1775012574","variant_ids":[44093589946467]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) ilovedoodle Coffee Cat: 貓布奇諾 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-XF64","featured_media":{"alt":null,"id":27105276887139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07dd4da56604d5dc4501f26b518ab53bb3476f53.webp?v=1775012574"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093589979235,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012320C-XF64","requires_shipping":true,"taxable":true,"featured_image":{"id":35572200538211,"product_id":7988875821155,"position":1,"created_at":"2026-04-01T11:02:48+08:00","updated_at":"2026-04-01T11:02:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e5b14bde61bdf580d37e59f90f2801da54d45e.webp?v=1775012570","variant_ids":[44093589979235]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) ilovedoodle Coffee Cat: 貓布奇諾 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320C-XF64","featured_media":{"alt":null,"id":27105274724451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e5b14bde61bdf580d37e59f90f2801da54d45e.webp?v=1775012570"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44093588144227,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012320E-XF64","requires_shipping":true,"taxable":true,"featured_image":{"id":35572200833123,"product_id":7988875821155,"position":4,"created_at":"2026-04-01T11:02:50+08:00","updated_at":"2026-04-01T11:02:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2139585351f692663ce751f190ab94c9c2743222.webp?v=1775012572","variant_ids":[44093588144227]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) ilovedoodle Coffee Cat: 貓布奇諾 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320E-XF64","featured_media":{"alt":null,"id":27105275347043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2139585351f692663ce751f190ab94c9c2743222.webp?v=1775012572"}},"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: "停產" }