$product = {"id":7408145203299,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-日文字系列","handle":"iphone-13-mini-mod-nx-printable-pb64","description":null,"published_at":"2024-06-11T16:32:36+08:00","created_at":"2024-05-03T12:08:46+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":41883177484387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB64","requires_shipping":true,"taxable":true,"featured_image":{"id":31471310995555,"product_id":7408145203299,"position":7,"created_at":"2024-05-03T12:09:02+08:00","updated_at":"2024-05-03T12:09:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef77cd33df8229e0be6f6cbff821d0cc2594c6ac_d043bfbe-3cd1-4d42-b74a-c67e955ded6c.webp?v=1714709342","variant_ids":[41883177484387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-日文字系列 - 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-PB64","featured_media":{"alt":null,"id":23876216619107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef77cd33df8229e0be6f6cbff821d0cc2594c6ac_d043bfbe-3cd1-4d42-b74a-c67e955ded6c.webp?v=1714709342"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883177549923,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB64","requires_shipping":true,"taxable":true,"featured_image":{"id":31471307849827,"product_id":7408145203299,"position":1,"created_at":"2024-05-03T12:08:49+08:00","updated_at":"2024-05-03T12:08:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51f7a8589e72fe70fd87a41eda7395bc45ff2630_d2e6706c-7ff0-4d87-8e36-fde50cbc3323.webp?v=1714709329","variant_ids":[41883177549923]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-日文字系列 - 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-PB64","featured_media":{"alt":null,"id":23876213506147,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51f7a8589e72fe70fd87a41eda7395bc45ff2630_d2e6706c-7ff0-4d87-8e36-fde50cbc3323.webp?v=1714709329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883177812067,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB64","requires_shipping":true,"taxable":true,"featured_image":{"id":31471310405731,"product_id":7408145203299,"position":6,"created_at":"2024-05-03T12:09:00+08:00","updated_at":"2024-05-03T12:09:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/387bad4ef8ec37b01b2ac32cba1dfca0a79cbd60_07383d60-9556-4969-be76-eeb92c46e5cd.webp?v=1714709340","variant_ids":[41883177812067]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-日文字系列 - 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-PB64","featured_media":{"alt":null,"id":23876216127587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/387bad4ef8ec37b01b2ac32cba1dfca0a79cbd60_07383d60-9556-4969-be76-eeb92c46e5cd.webp?v=1714709340"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51f7a8589e72fe70fd87a41eda7395bc45ff2630_d2e6706c-7ff0-4d87-8e36-fde50cbc3323.webp?v=1714709329","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37ff2bc40585885653e8aca8cd8bd39462558b51_256365c3-d8e7-4d59-b1c8-2182a68b52c7.webp?v=1714709331","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02fa25b80518186d4cb51a7380374126329ae687_07936d9e-606c-4ef9-b776-96146183e116.webp?v=1714709333","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/316e2eabcd4322fa425eb4f7a904a22f4464a31d_745aa655-8268-4ff2-85e0-8c8f4f84e72f.webp?v=1714709335","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1271a200f4a31ec3b777e750cda4d3310572f8d8_09db009d-c99f-4189-8358-decfe0ff8d1a.webp?v=1714709338","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/387bad4ef8ec37b01b2ac32cba1dfca0a79cbd60_07383d60-9556-4969-be76-eeb92c46e5cd.webp?v=1714709340","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef77cd33df8229e0be6f6cbff821d0cc2594c6ac_d043bfbe-3cd1-4d42-b74a-c67e955ded6c.webp?v=1714709342","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45c0f337849adafb053e76bee4de4ff20a178409_8d64d76e-e43a-41c6-a8a7-ab5e70fba81c.webp?v=1714709345","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1e3b00a4992033da0748b62e3411eede0157a86_f0f0acaf-ebc7-4a14-93e6-b2b38d094701.webp?v=1714709347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9036e2ab7949bc223e168d8a4539bb262036d84_7158f69a-485f-473f-91cb-345563fd16b1.webp?v=1714709349"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51f7a8589e72fe70fd87a41eda7395bc45ff2630_d2e6706c-7ff0-4d87-8e36-fde50cbc3323.webp?v=1714709329","options":["color"],"media":[{"alt":null,"id":23876213506147,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51f7a8589e72fe70fd87a41eda7395bc45ff2630_d2e6706c-7ff0-4d87-8e36-fde50cbc3323.webp?v=1714709329"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51f7a8589e72fe70fd87a41eda7395bc45ff2630_d2e6706c-7ff0-4d87-8e36-fde50cbc3323.webp?v=1714709329","width":2000},{"alt":null,"id":23876213801059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37ff2bc40585885653e8aca8cd8bd39462558b51_256365c3-d8e7-4d59-b1c8-2182a68b52c7.webp?v=1714709331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37ff2bc40585885653e8aca8cd8bd39462558b51_256365c3-d8e7-4d59-b1c8-2182a68b52c7.webp?v=1714709331","width":2000},{"alt":null,"id":23876214358115,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02fa25b80518186d4cb51a7380374126329ae687_07936d9e-606c-4ef9-b776-96146183e116.webp?v=1714709333"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02fa25b80518186d4cb51a7380374126329ae687_07936d9e-606c-4ef9-b776-96146183e116.webp?v=1714709333","width":2000},{"alt":null,"id":23876215111779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/316e2eabcd4322fa425eb4f7a904a22f4464a31d_745aa655-8268-4ff2-85e0-8c8f4f84e72f.webp?v=1714709335"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/316e2eabcd4322fa425eb4f7a904a22f4464a31d_745aa655-8268-4ff2-85e0-8c8f4f84e72f.webp?v=1714709335","width":2000},{"alt":null,"id":23876215636067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1271a200f4a31ec3b777e750cda4d3310572f8d8_09db009d-c99f-4189-8358-decfe0ff8d1a.webp?v=1714709338"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1271a200f4a31ec3b777e750cda4d3310572f8d8_09db009d-c99f-4189-8358-decfe0ff8d1a.webp?v=1714709338","width":2000},{"alt":null,"id":23876216127587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/387bad4ef8ec37b01b2ac32cba1dfca0a79cbd60_07383d60-9556-4969-be76-eeb92c46e5cd.webp?v=1714709340"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/387bad4ef8ec37b01b2ac32cba1dfca0a79cbd60_07383d60-9556-4969-be76-eeb92c46e5cd.webp?v=1714709340","width":2000},{"alt":null,"id":23876216619107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef77cd33df8229e0be6f6cbff821d0cc2594c6ac_d043bfbe-3cd1-4d42-b74a-c67e955ded6c.webp?v=1714709342"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef77cd33df8229e0be6f6cbff821d0cc2594c6ac_d043bfbe-3cd1-4d42-b74a-c67e955ded6c.webp?v=1714709342","width":2000},{"alt":null,"id":23876217077859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45c0f337849adafb053e76bee4de4ff20a178409_8d64d76e-e43a-41c6-a8a7-ab5e70fba81c.webp?v=1714709345"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45c0f337849adafb053e76bee4de4ff20a178409_8d64d76e-e43a-41c6-a8a7-ab5e70fba81c.webp?v=1714709345","width":2000},{"alt":null,"id":23876217602147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1e3b00a4992033da0748b62e3411eede0157a86_f0f0acaf-ebc7-4a14-93e6-b2b38d094701.webp?v=1714709347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1e3b00a4992033da0748b62e3411eede0157a86_f0f0acaf-ebc7-4a14-93e6-b2b38d094701.webp?v=1714709347","width":2000},{"alt":null,"id":23876217995363,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9036e2ab7949bc223e168d8a4539bb262036d84_7158f69a-485f-473f-91cb-345563fd16b1.webp?v=1714709349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9036e2ab7949bc223e168d8a4539bb262036d84_7158f69a-485f-473f-91cb-345563fd16b1.webp?v=1714709349","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883177484387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB64","requires_shipping":true,"taxable":true,"featured_image":{"id":31471310995555,"product_id":7408145203299,"position":7,"created_at":"2024-05-03T12:09:02+08:00","updated_at":"2024-05-03T12:09:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef77cd33df8229e0be6f6cbff821d0cc2594c6ac_d043bfbe-3cd1-4d42-b74a-c67e955ded6c.webp?v=1714709342","variant_ids":[41883177484387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-日文字系列 - 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-PB64","featured_media":{"alt":null,"id":23876216619107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef77cd33df8229e0be6f6cbff821d0cc2594c6ac_d043bfbe-3cd1-4d42-b74a-c67e955ded6c.webp?v=1714709342"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883177549923,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB64","requires_shipping":true,"taxable":true,"featured_image":{"id":31471307849827,"product_id":7408145203299,"position":1,"created_at":"2024-05-03T12:08:49+08:00","updated_at":"2024-05-03T12:08:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51f7a8589e72fe70fd87a41eda7395bc45ff2630_d2e6706c-7ff0-4d87-8e36-fde50cbc3323.webp?v=1714709329","variant_ids":[41883177549923]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-日文字系列 - 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-PB64","featured_media":{"alt":null,"id":23876213506147,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51f7a8589e72fe70fd87a41eda7395bc45ff2630_d2e6706c-7ff0-4d87-8e36-fde50cbc3323.webp?v=1714709329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883177812067,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB64","requires_shipping":true,"taxable":true,"featured_image":{"id":31471310405731,"product_id":7408145203299,"position":6,"created_at":"2024-05-03T12:09:00+08:00","updated_at":"2024-05-03T12:09:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/387bad4ef8ec37b01b2ac32cba1dfca0a79cbd60_07383d60-9556-4969-be76-eeb92c46e5cd.webp?v=1714709340","variant_ids":[41883177812067]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-日文字系列 - 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-PB64","featured_media":{"alt":null,"id":23876216127587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/387bad4ef8ec37b01b2ac32cba1dfca0a79cbd60_07383d60-9556-4969-be76-eeb92c46e5cd.webp?v=1714709340"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883177484387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB64","requires_shipping":true,"taxable":true,"featured_image":{"id":31471310995555,"product_id":7408145203299,"position":7,"created_at":"2024-05-03T12:09:02+08:00","updated_at":"2024-05-03T12:09:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef77cd33df8229e0be6f6cbff821d0cc2594c6ac_d043bfbe-3cd1-4d42-b74a-c67e955ded6c.webp?v=1714709342","variant_ids":[41883177484387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-日文字系列 - 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-PB64","featured_media":{"alt":null,"id":23876216619107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef77cd33df8229e0be6f6cbff821d0cc2594c6ac_d043bfbe-3cd1-4d42-b74a-c67e955ded6c.webp?v=1714709342"}},"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: "停產" }