$product = {"id":7408077013091,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列","handle":"iphone-13-mini-mod-nx-printable-pb58","description":null,"published_at":"2024-06-11T16:30:46+08:00","created_at":"2024-05-03T11:54:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41882409631843,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31471132573795,"product_id":7408077013091,"position":7,"created_at":"2024-05-03T11:55:06+08:00","updated_at":"2024-05-03T11:55:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/461e5e66c3bb9c2f9510023281d0b8946dfd75e7_223de6f3-223b-4aac-8d80-81cf0830abe2.webp?v=1714708506","variant_ids":[41882409631843]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB58","featured_media":{"alt":null,"id":23876037771363,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/461e5e66c3bb9c2f9510023281d0b8946dfd75e7_223de6f3-223b-4aac-8d80-81cf0830abe2.webp?v=1714708506"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882409697379,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31471131132003,"product_id":7408077013091,"position":4,"created_at":"2024-05-03T11:54:59+08:00","updated_at":"2024-05-03T11:54:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f93634995808cbdfb3a34e5e93bb0b0fde370f08_abd04d7b-1c9d-4db9-875f-31b2253bade0.webp?v=1714708499","variant_ids":[41882409697379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB58","featured_media":{"alt":null,"id":23876036395107,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f93634995808cbdfb3a34e5e93bb0b0fde370f08_abd04d7b-1c9d-4db9-875f-31b2253bade0.webp?v=1714708499"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882409926755,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31471129231459,"product_id":7408077013091,"position":2,"created_at":"2024-05-03T11:54:54+08:00","updated_at":"2024-05-03T11:54:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed0d990c48264aa025a884876fb51d1d6bed1d4_d09c8346-2baa-49a5-94d8-c4213779bcbd.webp?v=1714708495","variant_ids":[41882409926755]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB58","featured_media":{"alt":null,"id":23876034461795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed0d990c48264aa025a884876fb51d1d6bed1d4_d09c8346-2baa-49a5-94d8-c4213779bcbd.webp?v=1714708495"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89cb5b26e150f33420ea731374c01da34525b2e2_4ef1dc57-6d20-46cf-8f79-c2b6c64c044e.webp?v=1714708492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed0d990c48264aa025a884876fb51d1d6bed1d4_d09c8346-2baa-49a5-94d8-c4213779bcbd.webp?v=1714708495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea1b90754e1eb6f6e9aa6a71e882015081c30780_0a6d68b7-ac05-42ad-bb59-a3b619de9a4d.webp?v=1714708497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f93634995808cbdfb3a34e5e93bb0b0fde370f08_abd04d7b-1c9d-4db9-875f-31b2253bade0.webp?v=1714708499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c7fa8df773b948babe2d40bbe81db0dafed7d8f_7512e68f-552b-45a0-baf9-7e50f531b50a.webp?v=1714708501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/657d88228550eaf1ed932b26fe7848d6787accdf_c27bd6b9-4304-479a-928c-dda71e3cfd7c.webp?v=1714708504","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/461e5e66c3bb9c2f9510023281d0b8946dfd75e7_223de6f3-223b-4aac-8d80-81cf0830abe2.webp?v=1714708506","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38aefb09913fbf3e0bea2b96b233f90d66d5fac9_a2cc14aa-06f5-4b37-8010-0054a441948f.webp?v=1714708508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/351d0ad080d75df732e72bc3f939fa7da6b05823_15294f4c-accc-4fbd-b795-f295c5083334.webp?v=1714708511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd73c49bf84d5f97fcde1cd10e75c88448f38ef_7714c57e-c969-485a-addf-fd97068cad84.webp?v=1714708513"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89cb5b26e150f33420ea731374c01da34525b2e2_4ef1dc57-6d20-46cf-8f79-c2b6c64c044e.webp?v=1714708492","options":["color"],"media":[{"alt":null,"id":23876034035811,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89cb5b26e150f33420ea731374c01da34525b2e2_4ef1dc57-6d20-46cf-8f79-c2b6c64c044e.webp?v=1714708492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89cb5b26e150f33420ea731374c01da34525b2e2_4ef1dc57-6d20-46cf-8f79-c2b6c64c044e.webp?v=1714708492","width":2000},{"alt":null,"id":23876034461795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed0d990c48264aa025a884876fb51d1d6bed1d4_d09c8346-2baa-49a5-94d8-c4213779bcbd.webp?v=1714708495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed0d990c48264aa025a884876fb51d1d6bed1d4_d09c8346-2baa-49a5-94d8-c4213779bcbd.webp?v=1714708495","width":2000},{"alt":null,"id":23876034789475,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea1b90754e1eb6f6e9aa6a71e882015081c30780_0a6d68b7-ac05-42ad-bb59-a3b619de9a4d.webp?v=1714708497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea1b90754e1eb6f6e9aa6a71e882015081c30780_0a6d68b7-ac05-42ad-bb59-a3b619de9a4d.webp?v=1714708497","width":2000},{"alt":null,"id":23876036395107,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f93634995808cbdfb3a34e5e93bb0b0fde370f08_abd04d7b-1c9d-4db9-875f-31b2253bade0.webp?v=1714708499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f93634995808cbdfb3a34e5e93bb0b0fde370f08_abd04d7b-1c9d-4db9-875f-31b2253bade0.webp?v=1714708499","width":2000},{"alt":null,"id":23876036788323,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c7fa8df773b948babe2d40bbe81db0dafed7d8f_7512e68f-552b-45a0-baf9-7e50f531b50a.webp?v=1714708501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c7fa8df773b948babe2d40bbe81db0dafed7d8f_7512e68f-552b-45a0-baf9-7e50f531b50a.webp?v=1714708501","width":2000},{"alt":null,"id":23876037312611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/657d88228550eaf1ed932b26fe7848d6787accdf_c27bd6b9-4304-479a-928c-dda71e3cfd7c.webp?v=1714708504"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/657d88228550eaf1ed932b26fe7848d6787accdf_c27bd6b9-4304-479a-928c-dda71e3cfd7c.webp?v=1714708504","width":2000},{"alt":null,"id":23876037771363,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/461e5e66c3bb9c2f9510023281d0b8946dfd75e7_223de6f3-223b-4aac-8d80-81cf0830abe2.webp?v=1714708506"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/461e5e66c3bb9c2f9510023281d0b8946dfd75e7_223de6f3-223b-4aac-8d80-81cf0830abe2.webp?v=1714708506","width":2000},{"alt":null,"id":23876038131811,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38aefb09913fbf3e0bea2b96b233f90d66d5fac9_a2cc14aa-06f5-4b37-8010-0054a441948f.webp?v=1714708508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38aefb09913fbf3e0bea2b96b233f90d66d5fac9_a2cc14aa-06f5-4b37-8010-0054a441948f.webp?v=1714708508","width":2000},{"alt":null,"id":23876038721635,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/351d0ad080d75df732e72bc3f939fa7da6b05823_15294f4c-accc-4fbd-b795-f295c5083334.webp?v=1714708511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/351d0ad080d75df732e72bc3f939fa7da6b05823_15294f4c-accc-4fbd-b795-f295c5083334.webp?v=1714708511","width":2000},{"alt":null,"id":23876039147619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd73c49bf84d5f97fcde1cd10e75c88448f38ef_7714c57e-c969-485a-addf-fd97068cad84.webp?v=1714708513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd73c49bf84d5f97fcde1cd10e75c88448f38ef_7714c57e-c969-485a-addf-fd97068cad84.webp?v=1714708513","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41882409631843,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31471132573795,"product_id":7408077013091,"position":7,"created_at":"2024-05-03T11:55:06+08:00","updated_at":"2024-05-03T11:55:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/461e5e66c3bb9c2f9510023281d0b8946dfd75e7_223de6f3-223b-4aac-8d80-81cf0830abe2.webp?v=1714708506","variant_ids":[41882409631843]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB58","featured_media":{"alt":null,"id":23876037771363,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/461e5e66c3bb9c2f9510023281d0b8946dfd75e7_223de6f3-223b-4aac-8d80-81cf0830abe2.webp?v=1714708506"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882409697379,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31471131132003,"product_id":7408077013091,"position":4,"created_at":"2024-05-03T11:54:59+08:00","updated_at":"2024-05-03T11:54:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f93634995808cbdfb3a34e5e93bb0b0fde370f08_abd04d7b-1c9d-4db9-875f-31b2253bade0.webp?v=1714708499","variant_ids":[41882409697379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB58","featured_media":{"alt":null,"id":23876036395107,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f93634995808cbdfb3a34e5e93bb0b0fde370f08_abd04d7b-1c9d-4db9-875f-31b2253bade0.webp?v=1714708499"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882409926755,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31471129231459,"product_id":7408077013091,"position":2,"created_at":"2024-05-03T11:54:54+08:00","updated_at":"2024-05-03T11:54:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed0d990c48264aa025a884876fb51d1d6bed1d4_d09c8346-2baa-49a5-94d8-c4213779bcbd.webp?v=1714708495","variant_ids":[41882409926755]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB58","featured_media":{"alt":null,"id":23876034461795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed0d990c48264aa025a884876fb51d1d6bed1d4_d09c8346-2baa-49a5-94d8-c4213779bcbd.webp?v=1714708495"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882409631843,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31471132573795,"product_id":7408077013091,"position":7,"created_at":"2024-05-03T11:55:06+08:00","updated_at":"2024-05-03T11:55:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/461e5e66c3bb9c2f9510023281d0b8946dfd75e7_223de6f3-223b-4aac-8d80-81cf0830abe2.webp?v=1714708506","variant_ids":[41882409631843]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB58","featured_media":{"alt":null,"id":23876037771363,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/461e5e66c3bb9c2f9510023281d0b8946dfd75e7_223de6f3-223b-4aac-8d80-81cf0830abe2.webp?v=1714708506"}},"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: "停產" }