$product = {"id":7411369902179,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-線稿風格","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb51","description":null,"published_at":"2024-06-11T17:43:06+08:00","created_at":"2024-05-05T00:16:29+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","Top50","type-Mod NX Printable MagSafe Printable"],"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":41898028531811,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31480251842659,"product_id":7411369902179,"position":3,"created_at":"2024-05-05T00:16:36+08:00","updated_at":"2024-05-05T00:16:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04efe2f3a0f0269964676f4f273ed468ab6aaf05_c221a4a1-4b8d-46f7-b25a-252a061f40b9.webp?v=1714839396","variant_ids":[41898028531811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-線稿風格 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB51","featured_media":{"alt":null,"id":23885503135843,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04efe2f3a0f0269964676f4f273ed468ab6aaf05_c221a4a1-4b8d-46f7-b25a-252a061f40b9.webp?v=1714839396"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898028597347,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31480255873123,"product_id":7411369902179,"position":10,"created_at":"2024-05-05T00:16:52+08:00","updated_at":"2024-05-05T00:16:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5b8e794ac0535d08a3ee91977ca8ba145783841_6056c478-5d06-41e9-b03f-e04df2233059.webp?v=1714839412","variant_ids":[41898028597347]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-線稿風格 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB51","featured_media":{"alt":null,"id":23885507133539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5b8e794ac0535d08a3ee91977ca8ba145783841_6056c478-5d06-41e9-b03f-e04df2233059.webp?v=1714839412"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898028826723,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31480254398563,"product_id":7411369902179,"position":8,"created_at":"2024-05-05T00:16:47+08:00","updated_at":"2024-05-05T00:16:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1598968f030a272d50dd7a7d079c028f56c846fd_8cb483c7-b190-494b-add5-00ea691e4384.webp?v=1714839407","variant_ids":[41898028826723]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-線稿風格 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB51","featured_media":{"alt":null,"id":23885505757283,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1598968f030a272d50dd7a7d079c028f56c846fd_8cb483c7-b190-494b-add5-00ea691e4384.webp?v=1714839407"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81d119098ce8d6beb6385afacd1d260262b60b1c_1a6b8a92-cc75-4f50-a033-d1600934c22b.webp?v=1714839391","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3d7f292f96bebcb47238e2eaeca37c6ccef5ac5_e31b9483-df9b-48c9-a7df-e45ee1ebc9b4.webp?v=1714839394","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04efe2f3a0f0269964676f4f273ed468ab6aaf05_c221a4a1-4b8d-46f7-b25a-252a061f40b9.webp?v=1714839396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a91fc982ed297410f9ac1aeaf44b0b97fad758c9_3e507e77-d2d4-4f3c-a25c-2b3ef6fa9275.webp?v=1714839398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23c505993e6079da08794db0a6604c1b347a6973_1da2ff60-0512-48e7-a5c3-620b27553f04.webp?v=1714839401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a333eb8fea8443154dadf8f3990b6982fadcdb9_42edace3-3581-402d-9e2c-7f800a3ff0fd.webp?v=1714839403","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0ecf4d79fe61fddc4d57ba189ba71fe359a1c65_817d9364-a595-48cf-99d8-d94259c75c27.webp?v=1714839405","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1598968f030a272d50dd7a7d079c028f56c846fd_8cb483c7-b190-494b-add5-00ea691e4384.webp?v=1714839407","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc8e8e4efe71642481d31565840b5e18a8b91b38_5c86b404-a3f0-4659-8865-5f575d9bdc7f.webp?v=1714839410","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5b8e794ac0535d08a3ee91977ca8ba145783841_6056c478-5d06-41e9-b03f-e04df2233059.webp?v=1714839412"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81d119098ce8d6beb6385afacd1d260262b60b1c_1a6b8a92-cc75-4f50-a033-d1600934c22b.webp?v=1714839391","options":["color"],"media":[{"alt":null,"id":23885501923427,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81d119098ce8d6beb6385afacd1d260262b60b1c_1a6b8a92-cc75-4f50-a033-d1600934c22b.webp?v=1714839391"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81d119098ce8d6beb6385afacd1d260262b60b1c_1a6b8a92-cc75-4f50-a033-d1600934c22b.webp?v=1714839391","width":2000},{"alt":null,"id":23885502480483,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3d7f292f96bebcb47238e2eaeca37c6ccef5ac5_e31b9483-df9b-48c9-a7df-e45ee1ebc9b4.webp?v=1714839394"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3d7f292f96bebcb47238e2eaeca37c6ccef5ac5_e31b9483-df9b-48c9-a7df-e45ee1ebc9b4.webp?v=1714839394","width":2000},{"alt":null,"id":23885503135843,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04efe2f3a0f0269964676f4f273ed468ab6aaf05_c221a4a1-4b8d-46f7-b25a-252a061f40b9.webp?v=1714839396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04efe2f3a0f0269964676f4f273ed468ab6aaf05_c221a4a1-4b8d-46f7-b25a-252a061f40b9.webp?v=1714839396","width":2000},{"alt":null,"id":23885503496291,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a91fc982ed297410f9ac1aeaf44b0b97fad758c9_3e507e77-d2d4-4f3c-a25c-2b3ef6fa9275.webp?v=1714839398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a91fc982ed297410f9ac1aeaf44b0b97fad758c9_3e507e77-d2d4-4f3c-a25c-2b3ef6fa9275.webp?v=1714839398","width":2000},{"alt":null,"id":23885504020579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23c505993e6079da08794db0a6604c1b347a6973_1da2ff60-0512-48e7-a5c3-620b27553f04.webp?v=1714839401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23c505993e6079da08794db0a6604c1b347a6973_1da2ff60-0512-48e7-a5c3-620b27553f04.webp?v=1714839401","width":2000},{"alt":null,"id":23885504675939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a333eb8fea8443154dadf8f3990b6982fadcdb9_42edace3-3581-402d-9e2c-7f800a3ff0fd.webp?v=1714839403"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a333eb8fea8443154dadf8f3990b6982fadcdb9_42edace3-3581-402d-9e2c-7f800a3ff0fd.webp?v=1714839403","width":2000},{"alt":null,"id":23885505101923,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0ecf4d79fe61fddc4d57ba189ba71fe359a1c65_817d9364-a595-48cf-99d8-d94259c75c27.webp?v=1714839405"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0ecf4d79fe61fddc4d57ba189ba71fe359a1c65_817d9364-a595-48cf-99d8-d94259c75c27.webp?v=1714839405","width":2000},{"alt":null,"id":23885505757283,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1598968f030a272d50dd7a7d079c028f56c846fd_8cb483c7-b190-494b-add5-00ea691e4384.webp?v=1714839407"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1598968f030a272d50dd7a7d079c028f56c846fd_8cb483c7-b190-494b-add5-00ea691e4384.webp?v=1714839407","width":2000},{"alt":null,"id":23885506543715,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc8e8e4efe71642481d31565840b5e18a8b91b38_5c86b404-a3f0-4659-8865-5f575d9bdc7f.webp?v=1714839410"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc8e8e4efe71642481d31565840b5e18a8b91b38_5c86b404-a3f0-4659-8865-5f575d9bdc7f.webp?v=1714839410","width":2000},{"alt":null,"id":23885507133539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5b8e794ac0535d08a3ee91977ca8ba145783841_6056c478-5d06-41e9-b03f-e04df2233059.webp?v=1714839412"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5b8e794ac0535d08a3ee91977ca8ba145783841_6056c478-5d06-41e9-b03f-e04df2233059.webp?v=1714839412","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41898028531811,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31480251842659,"product_id":7411369902179,"position":3,"created_at":"2024-05-05T00:16:36+08:00","updated_at":"2024-05-05T00:16:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04efe2f3a0f0269964676f4f273ed468ab6aaf05_c221a4a1-4b8d-46f7-b25a-252a061f40b9.webp?v=1714839396","variant_ids":[41898028531811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-線稿風格 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB51","featured_media":{"alt":null,"id":23885503135843,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04efe2f3a0f0269964676f4f273ed468ab6aaf05_c221a4a1-4b8d-46f7-b25a-252a061f40b9.webp?v=1714839396"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898028597347,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31480255873123,"product_id":7411369902179,"position":10,"created_at":"2024-05-05T00:16:52+08:00","updated_at":"2024-05-05T00:16:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5b8e794ac0535d08a3ee91977ca8ba145783841_6056c478-5d06-41e9-b03f-e04df2233059.webp?v=1714839412","variant_ids":[41898028597347]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-線稿風格 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB51","featured_media":{"alt":null,"id":23885507133539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5b8e794ac0535d08a3ee91977ca8ba145783841_6056c478-5d06-41e9-b03f-e04df2233059.webp?v=1714839412"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898028826723,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31480254398563,"product_id":7411369902179,"position":8,"created_at":"2024-05-05T00:16:47+08:00","updated_at":"2024-05-05T00:16:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1598968f030a272d50dd7a7d079c028f56c846fd_8cb483c7-b190-494b-add5-00ea691e4384.webp?v=1714839407","variant_ids":[41898028826723]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-線稿風格 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB51","featured_media":{"alt":null,"id":23885505757283,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1598968f030a272d50dd7a7d079c028f56c846fd_8cb483c7-b190-494b-add5-00ea691e4384.webp?v=1714839407"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898028531811,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31480251842659,"product_id":7411369902179,"position":3,"created_at":"2024-05-05T00:16:36+08:00","updated_at":"2024-05-05T00:16:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04efe2f3a0f0269964676f4f273ed468ab6aaf05_c221a4a1-4b8d-46f7-b25a-252a061f40b9.webp?v=1714839396","variant_ids":[41898028531811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-線稿風格 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB51","featured_media":{"alt":null,"id":23885503135843,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04efe2f3a0f0269964676f4f273ed468ab6aaf05_c221a4a1-4b8d-46f7-b25a-252a061f40b9.webp?v=1714839396"}},"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: "停產" }