$product = {"id":7408091594851,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-噴漆黑","handle":"iphone-13-mini-mod-nx-printable-pb01","description":null,"published_at":"2024-06-11T16:31:09+08:00","created_at":"2024-05-03T11:58:12+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":41882580025443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471171272803,"product_id":7408091594851,"position":3,"created_at":"2024-05-03T11:58:19+08:00","updated_at":"2024-05-03T11:58:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fff3ff231c54548d2bc2bda26fed2b7c847eb0a_bbf82347-86bc-4195-ba8d-f3b1afc28449.webp?v=1714708699","variant_ids":[41882580025443]},"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-PB01","featured_media":{"alt":null,"id":23876076503139,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fff3ff231c54548d2bc2bda26fed2b7c847eb0a_bbf82347-86bc-4195-ba8d-f3b1afc28449.webp?v=1714708699"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882580090979,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471174778979,"product_id":7408091594851,"position":9,"created_at":"2024-05-03T11:58:33+08:00","updated_at":"2024-05-03T11:58:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0783109d24da6c09ee0d730cc8b8ed638a641c7b_71972036-3a71-460d-b54b-fd3bbfdcff9c.webp?v=1714708713","variant_ids":[41882580090979]},"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-PB01","featured_media":{"alt":null,"id":23876080009315,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0783109d24da6c09ee0d730cc8b8ed638a641c7b_71972036-3a71-460d-b54b-fd3bbfdcff9c.webp?v=1714708713"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882580320355,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471170814051,"product_id":7408091594851,"position":2,"created_at":"2024-05-03T11:58:16+08:00","updated_at":"2024-05-03T11:58:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33a6d1b6d98a41cc09b8bc850ad2539f348edff9_57762620-4497-416a-9409-e74b18edd757.webp?v=1714708696","variant_ids":[41882580320355]},"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-PB01","featured_media":{"alt":null,"id":23876076077155,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33a6d1b6d98a41cc09b8bc850ad2539f348edff9_57762620-4497-416a-9409-e74b18edd757.webp?v=1714708696"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9de832254b7fd87c0d5cb64a750bed9ac72c5699_097a8609-678c-4ce9-aabd-8bc45824375d.webp?v=1714708694","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33a6d1b6d98a41cc09b8bc850ad2539f348edff9_57762620-4497-416a-9409-e74b18edd757.webp?v=1714708696","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fff3ff231c54548d2bc2bda26fed2b7c847eb0a_bbf82347-86bc-4195-ba8d-f3b1afc28449.webp?v=1714708699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f04f6bc86adab2f6087f8dee82ea5ac14a85293_49bc936a-9dec-4f1c-917e-66b3d4b9cb28.webp?v=1714708701","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/570920daeb7c64aed777e19a5e7430a811254458_a971be2f-c49a-4846-930e-b6809ed852c6.webp?v=1714708703","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2611d2c12e5a341e6f2b47a2340a348f5cb7ae0_9270ae51-7f06-404f-b397-3fdc4a6ca037.webp?v=1714708706","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7d2e63a7473c6af52457a5158518a65645533b8_bef3d4c8-b836-4eb7-8f64-195bbc2c5dd8.webp?v=1714708708","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d815c0d97cffc1e2d9cb793407012d9f4eea9c91_3f7ce38f-18ba-4b7a-9ad4-7297a62b57c4.webp?v=1714708711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0783109d24da6c09ee0d730cc8b8ed638a641c7b_71972036-3a71-460d-b54b-fd3bbfdcff9c.webp?v=1714708713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f02f5f315f407c14df52a0d771c5a883894c17_18e96058-3386-440f-a057-5fb5072e5f4b.webp?v=1714708716"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9de832254b7fd87c0d5cb64a750bed9ac72c5699_097a8609-678c-4ce9-aabd-8bc45824375d.webp?v=1714708694","options":["color"],"media":[{"alt":null,"id":23876075552867,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9de832254b7fd87c0d5cb64a750bed9ac72c5699_097a8609-678c-4ce9-aabd-8bc45824375d.webp?v=1714708694"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9de832254b7fd87c0d5cb64a750bed9ac72c5699_097a8609-678c-4ce9-aabd-8bc45824375d.webp?v=1714708694","width":2000},{"alt":null,"id":23876076077155,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33a6d1b6d98a41cc09b8bc850ad2539f348edff9_57762620-4497-416a-9409-e74b18edd757.webp?v=1714708696"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33a6d1b6d98a41cc09b8bc850ad2539f348edff9_57762620-4497-416a-9409-e74b18edd757.webp?v=1714708696","width":2000},{"alt":null,"id":23876076503139,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fff3ff231c54548d2bc2bda26fed2b7c847eb0a_bbf82347-86bc-4195-ba8d-f3b1afc28449.webp?v=1714708699"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fff3ff231c54548d2bc2bda26fed2b7c847eb0a_bbf82347-86bc-4195-ba8d-f3b1afc28449.webp?v=1714708699","width":2000},{"alt":null,"id":23876076896355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f04f6bc86adab2f6087f8dee82ea5ac14a85293_49bc936a-9dec-4f1c-917e-66b3d4b9cb28.webp?v=1714708701"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f04f6bc86adab2f6087f8dee82ea5ac14a85293_49bc936a-9dec-4f1c-917e-66b3d4b9cb28.webp?v=1714708701","width":2000},{"alt":null,"id":23876077453411,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/570920daeb7c64aed777e19a5e7430a811254458_a971be2f-c49a-4846-930e-b6809ed852c6.webp?v=1714708703"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/570920daeb7c64aed777e19a5e7430a811254458_a971be2f-c49a-4846-930e-b6809ed852c6.webp?v=1714708703","width":2000},{"alt":null,"id":23876077879395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2611d2c12e5a341e6f2b47a2340a348f5cb7ae0_9270ae51-7f06-404f-b397-3fdc4a6ca037.webp?v=1714708706"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2611d2c12e5a341e6f2b47a2340a348f5cb7ae0_9270ae51-7f06-404f-b397-3fdc4a6ca037.webp?v=1714708706","width":2000},{"alt":null,"id":23876078305379,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7d2e63a7473c6af52457a5158518a65645533b8_bef3d4c8-b836-4eb7-8f64-195bbc2c5dd8.webp?v=1714708708"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7d2e63a7473c6af52457a5158518a65645533b8_bef3d4c8-b836-4eb7-8f64-195bbc2c5dd8.webp?v=1714708708","width":2000},{"alt":null,"id":23876079517795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d815c0d97cffc1e2d9cb793407012d9f4eea9c91_3f7ce38f-18ba-4b7a-9ad4-7297a62b57c4.webp?v=1714708711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d815c0d97cffc1e2d9cb793407012d9f4eea9c91_3f7ce38f-18ba-4b7a-9ad4-7297a62b57c4.webp?v=1714708711","width":2000},{"alt":null,"id":23876080009315,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0783109d24da6c09ee0d730cc8b8ed638a641c7b_71972036-3a71-460d-b54b-fd3bbfdcff9c.webp?v=1714708713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0783109d24da6c09ee0d730cc8b8ed638a641c7b_71972036-3a71-460d-b54b-fd3bbfdcff9c.webp?v=1714708713","width":2000},{"alt":null,"id":23876080599139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f02f5f315f407c14df52a0d771c5a883894c17_18e96058-3386-440f-a057-5fb5072e5f4b.webp?v=1714708716"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f02f5f315f407c14df52a0d771c5a883894c17_18e96058-3386-440f-a057-5fb5072e5f4b.webp?v=1714708716","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41882580025443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471171272803,"product_id":7408091594851,"position":3,"created_at":"2024-05-03T11:58:19+08:00","updated_at":"2024-05-03T11:58:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fff3ff231c54548d2bc2bda26fed2b7c847eb0a_bbf82347-86bc-4195-ba8d-f3b1afc28449.webp?v=1714708699","variant_ids":[41882580025443]},"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-PB01","featured_media":{"alt":null,"id":23876076503139,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fff3ff231c54548d2bc2bda26fed2b7c847eb0a_bbf82347-86bc-4195-ba8d-f3b1afc28449.webp?v=1714708699"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882580090979,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471174778979,"product_id":7408091594851,"position":9,"created_at":"2024-05-03T11:58:33+08:00","updated_at":"2024-05-03T11:58:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0783109d24da6c09ee0d730cc8b8ed638a641c7b_71972036-3a71-460d-b54b-fd3bbfdcff9c.webp?v=1714708713","variant_ids":[41882580090979]},"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-PB01","featured_media":{"alt":null,"id":23876080009315,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0783109d24da6c09ee0d730cc8b8ed638a641c7b_71972036-3a71-460d-b54b-fd3bbfdcff9c.webp?v=1714708713"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882580320355,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471170814051,"product_id":7408091594851,"position":2,"created_at":"2024-05-03T11:58:16+08:00","updated_at":"2024-05-03T11:58:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33a6d1b6d98a41cc09b8bc850ad2539f348edff9_57762620-4497-416a-9409-e74b18edd757.webp?v=1714708696","variant_ids":[41882580320355]},"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-PB01","featured_media":{"alt":null,"id":23876076077155,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33a6d1b6d98a41cc09b8bc850ad2539f348edff9_57762620-4497-416a-9409-e74b18edd757.webp?v=1714708696"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882580025443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471171272803,"product_id":7408091594851,"position":3,"created_at":"2024-05-03T11:58:19+08:00","updated_at":"2024-05-03T11:58:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fff3ff231c54548d2bc2bda26fed2b7c847eb0a_bbf82347-86bc-4195-ba8d-f3b1afc28449.webp?v=1714708699","variant_ids":[41882580025443]},"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-PB01","featured_media":{"alt":null,"id":23876076503139,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fff3ff231c54548d2bc2bda26fed2b7c847eb0a_bbf82347-86bc-4195-ba8d-f3b1afc28449.webp?v=1714708699"}},"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: "停產" }