$product = {"id":7610372849763,"title":"iPhone 16 Pro Clear NBA Logo-達拉斯獨行俠 Dallas Mavericks","handle":"iphone-16-pro-jellytint-pm13","description":null,"published_at":"2024-09-10T11:31:16+08:00","created_at":"2024-08-19T10:38:35+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nba","device-iPhone 16 Pro","merge","reseller-nba"],"price":128000,"price_min":128000,"price_max":128000,"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":42670561853539,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN013270G-PM13","requires_shipping":true,"taxable":true,"featured_image":{"id":36151267033187,"product_id":7610372849763,"position":7,"created_at":"2026-07-02T10:12:28+08:00","updated_at":"2026-07-02T10:12:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9c1e000fd225a958270fc2a34dfe47ca13677e9_dd7faed5-b33e-463b-b081-ad97dc530137.webp?v=1782958350","variant_ids":[42670561853539]},"available":true,"name":"iPhone 16 Pro Clear NBA Logo-達拉斯獨行俠 Dallas Mavericks - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270G-PM13","featured_media":{"alt":null,"id":27656141799523,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9c1e000fd225a958270fc2a34dfe47ca13677e9_dd7faed5-b33e-463b-b081-ad97dc530137.webp?v=1782958350"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42670561886307,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013270H-PM13","requires_shipping":true,"taxable":true,"featured_image":{"id":36151267360867,"product_id":7610372849763,"position":8,"created_at":"2026-07-02T10:12:29+08:00","updated_at":"2026-07-02T10:12:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d690b8b97e3501dbb5095bb2699e4331622b117_58bc9fd5-6357-4fe9-9f6f-dfb1e9cce8c9.webp?v=1782958351","variant_ids":[42670561886307]},"available":true,"name":"iPhone 16 Pro Clear NBA Logo-達拉斯獨行俠 Dallas Mavericks - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270H-PM13","featured_media":{"alt":null,"id":27656142159971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d690b8b97e3501dbb5095bb2699e4331622b117_58bc9fd5-6357-4fe9-9f6f-dfb1e9cce8c9.webp?v=1782958351"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42670561919075,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN013270I-PM13","requires_shipping":true,"taxable":true,"featured_image":{"id":36151266639971,"product_id":7610372849763,"position":6,"created_at":"2026-07-02T10:12:27+08:00","updated_at":"2026-07-02T10:12:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21a96d2bd9b920af99e3117685970411a6149bf1_d6fa6b26-0da6-43f0-ad43-4d86759c4e2d.webp?v=1782958349","variant_ids":[42670561919075]},"available":true,"name":"iPhone 16 Pro Clear NBA Logo-達拉斯獨行俠 Dallas Mavericks - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270I-PM13","featured_media":{"alt":null,"id":27656141439075,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21a96d2bd9b920af99e3117685970411a6149bf1_d6fa6b26-0da6-43f0-ad43-4d86759c4e2d.webp?v=1782958349"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42670561951843,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013270J-PM13","requires_shipping":true,"taxable":true,"featured_image":{"id":36151267623011,"product_id":7610372849763,"position":9,"created_at":"2026-07-02T10:12:30+08:00","updated_at":"2026-07-02T10:12:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7a15cac4c6f81c97f173c4fc8f4da3192bd954d_15777f4e-85cc-420f-85da-afd70e8c5a71.webp?v=1782958353","variant_ids":[42670561951843]},"available":true,"name":"iPhone 16 Pro Clear NBA Logo-達拉斯獨行俠 Dallas Mavericks - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270J-PM13","featured_media":{"alt":null,"id":27656142585955,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7a15cac4c6f81c97f173c4fc8f4da3192bd954d_15777f4e-85cc-420f-85da-afd70e8c5a71.webp?v=1782958353"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-327-PM13_321086e7-3bdd-439e-8bb8-29a41cc67c5e.png?v=1724035118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9c1e000fd225a958270fc2a34dfe47ca13677e9.webp?v=1782211247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d690b8b97e3501dbb5095bb2699e4331622b117.webp?v=1782211248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21a96d2bd9b920af99e3117685970411a6149bf1.webp?v=1782211248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7a15cac4c6f81c97f173c4fc8f4da3192bd954d.webp?v=1782211249","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21a96d2bd9b920af99e3117685970411a6149bf1_d6fa6b26-0da6-43f0-ad43-4d86759c4e2d.webp?v=1782958349","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9c1e000fd225a958270fc2a34dfe47ca13677e9_dd7faed5-b33e-463b-b081-ad97dc530137.webp?v=1782958350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d690b8b97e3501dbb5095bb2699e4331622b117_58bc9fd5-6357-4fe9-9f6f-dfb1e9cce8c9.webp?v=1782958351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7a15cac4c6f81c97f173c4fc8f4da3192bd954d_15777f4e-85cc-420f-85da-afd70e8c5a71.webp?v=1782958353"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-327-PM13_321086e7-3bdd-439e-8bb8-29a41cc67c5e.png?v=1724035118","options":["color"],"media":[{"alt":null,"id":24549173821539,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-327-PM13_321086e7-3bdd-439e-8bb8-29a41cc67c5e.png?v=1724035118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-327-PM13_321086e7-3bdd-439e-8bb8-29a41cc67c5e.png?v=1724035118","width":2000},{"alt":null,"id":27577494765667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9c1e000fd225a958270fc2a34dfe47ca13677e9.webp?v=1782211247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9c1e000fd225a958270fc2a34dfe47ca13677e9.webp?v=1782211247","width":2000},{"alt":null,"id":27577495191651,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d690b8b97e3501dbb5095bb2699e4331622b117.webp?v=1782211248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d690b8b97e3501dbb5095bb2699e4331622b117.webp?v=1782211248","width":2000},{"alt":null,"id":27577495584867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21a96d2bd9b920af99e3117685970411a6149bf1.webp?v=1782211248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21a96d2bd9b920af99e3117685970411a6149bf1.webp?v=1782211248","width":2000},{"alt":null,"id":27577495879779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7a15cac4c6f81c97f173c4fc8f4da3192bd954d.webp?v=1782211249"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7a15cac4c6f81c97f173c4fc8f4da3192bd954d.webp?v=1782211249","width":2000},{"alt":null,"id":27656141439075,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21a96d2bd9b920af99e3117685970411a6149bf1_d6fa6b26-0da6-43f0-ad43-4d86759c4e2d.webp?v=1782958349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21a96d2bd9b920af99e3117685970411a6149bf1_d6fa6b26-0da6-43f0-ad43-4d86759c4e2d.webp?v=1782958349","width":2000},{"alt":null,"id":27656141799523,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9c1e000fd225a958270fc2a34dfe47ca13677e9_dd7faed5-b33e-463b-b081-ad97dc530137.webp?v=1782958350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9c1e000fd225a958270fc2a34dfe47ca13677e9_dd7faed5-b33e-463b-b081-ad97dc530137.webp?v=1782958350","width":2000},{"alt":null,"id":27656142159971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d690b8b97e3501dbb5095bb2699e4331622b117_58bc9fd5-6357-4fe9-9f6f-dfb1e9cce8c9.webp?v=1782958351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d690b8b97e3501dbb5095bb2699e4331622b117_58bc9fd5-6357-4fe9-9f6f-dfb1e9cce8c9.webp?v=1782958351","width":2000},{"alt":null,"id":27656142585955,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7a15cac4c6f81c97f173c4fc8f4da3192bd954d_15777f4e-85cc-420f-85da-afd70e8c5a71.webp?v=1782958353"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7a15cac4c6f81c97f173c4fc8f4da3192bd954d_15777f4e-85cc-420f-85da-afd70e8c5a71.webp?v=1782958353","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":42670561853539,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN013270G-PM13","requires_shipping":true,"taxable":true,"featured_image":{"id":36151267033187,"product_id":7610372849763,"position":7,"created_at":"2026-07-02T10:12:28+08:00","updated_at":"2026-07-02T10:12:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9c1e000fd225a958270fc2a34dfe47ca13677e9_dd7faed5-b33e-463b-b081-ad97dc530137.webp?v=1782958350","variant_ids":[42670561853539]},"available":true,"name":"iPhone 16 Pro Clear NBA Logo-達拉斯獨行俠 Dallas Mavericks - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270G-PM13","featured_media":{"alt":null,"id":27656141799523,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9c1e000fd225a958270fc2a34dfe47ca13677e9_dd7faed5-b33e-463b-b081-ad97dc530137.webp?v=1782958350"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42670561886307,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013270H-PM13","requires_shipping":true,"taxable":true,"featured_image":{"id":36151267360867,"product_id":7610372849763,"position":8,"created_at":"2026-07-02T10:12:29+08:00","updated_at":"2026-07-02T10:12:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d690b8b97e3501dbb5095bb2699e4331622b117_58bc9fd5-6357-4fe9-9f6f-dfb1e9cce8c9.webp?v=1782958351","variant_ids":[42670561886307]},"available":true,"name":"iPhone 16 Pro Clear NBA Logo-達拉斯獨行俠 Dallas Mavericks - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270H-PM13","featured_media":{"alt":null,"id":27656142159971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d690b8b97e3501dbb5095bb2699e4331622b117_58bc9fd5-6357-4fe9-9f6f-dfb1e9cce8c9.webp?v=1782958351"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42670561919075,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN013270I-PM13","requires_shipping":true,"taxable":true,"featured_image":{"id":36151266639971,"product_id":7610372849763,"position":6,"created_at":"2026-07-02T10:12:27+08:00","updated_at":"2026-07-02T10:12:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21a96d2bd9b920af99e3117685970411a6149bf1_d6fa6b26-0da6-43f0-ad43-4d86759c4e2d.webp?v=1782958349","variant_ids":[42670561919075]},"available":true,"name":"iPhone 16 Pro Clear NBA Logo-達拉斯獨行俠 Dallas Mavericks - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270I-PM13","featured_media":{"alt":null,"id":27656141439075,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21a96d2bd9b920af99e3117685970411a6149bf1_d6fa6b26-0da6-43f0-ad43-4d86759c4e2d.webp?v=1782958349"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42670561951843,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013270J-PM13","requires_shipping":true,"taxable":true,"featured_image":{"id":36151267623011,"product_id":7610372849763,"position":9,"created_at":"2026-07-02T10:12:30+08:00","updated_at":"2026-07-02T10:12:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7a15cac4c6f81c97f173c4fc8f4da3192bd954d_15777f4e-85cc-420f-85da-afd70e8c5a71.webp?v=1782958353","variant_ids":[42670561951843]},"available":true,"name":"iPhone 16 Pro Clear NBA Logo-達拉斯獨行俠 Dallas Mavericks - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270J-PM13","featured_media":{"alt":null,"id":27656142585955,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7a15cac4c6f81c97f173c4fc8f4da3192bd954d_15777f4e-85cc-420f-85da-afd70e8c5a71.webp?v=1782958353"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":42670561853539,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN013270G-PM13","requires_shipping":true,"taxable":true,"featured_image":{"id":36151267033187,"product_id":7610372849763,"position":7,"created_at":"2026-07-02T10:12:28+08:00","updated_at":"2026-07-02T10:12:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9c1e000fd225a958270fc2a34dfe47ca13677e9_dd7faed5-b33e-463b-b081-ad97dc530137.webp?v=1782958350","variant_ids":[42670561853539]},"available":true,"name":"iPhone 16 Pro Clear NBA Logo-達拉斯獨行俠 Dallas Mavericks - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270G-PM13","featured_media":{"alt":null,"id":27656141799523,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9c1e000fd225a958270fc2a34dfe47ca13677e9_dd7faed5-b33e-463b-b081-ad97dc530137.webp?v=1782958350"}},"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: "停產" }