$product = {"id":7407923429475,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機","handle":"iphone-14-pro-mod-nx-printable-pb28","description":null,"published_at":"2024-06-11T16:26:39+08:00","created_at":"2024-05-03T11:16:43+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 14 Pro","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":41880582258787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31470712684643,"product_id":7407923429475,"position":6,"created_at":"2024-05-03T11:16:57+08:00","updated_at":"2024-05-03T11:16:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c9b37331c094e82ab5e6631fc9219700e68f128_e88482d7-5ed0-4ef0-8996-87b88ee73625.webp?v=1714706217","variant_ids":[41880582258787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - 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":"NPB0126224-PB28","featured_media":{"alt":null,"id":23875616735331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c9b37331c094e82ab5e6631fc9219700e68f128_e88482d7-5ed0-4ef0-8996-87b88ee73625.webp?v=1714706217"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880582324323,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31470712193123,"product_id":7407923429475,"position":5,"created_at":"2024-05-03T11:16:55+08:00","updated_at":"2024-05-03T11:16:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec179a1dd2af92d4cd3ded30c386c529dcbc28e_a0e6ed4e-91ae-4e21-804c-cd297efe3e93.webp?v=1714706215","variant_ids":[41880582324323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - 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":"NPB0126204-PB28","featured_media":{"alt":null,"id":23875616243811,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec179a1dd2af92d4cd3ded30c386c529dcbc28e_a0e6ed4e-91ae-4e21-804c-cd297efe3e93.webp?v=1714706215"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880582553699,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31470713700451,"product_id":7407923429475,"position":8,"created_at":"2024-05-03T11:17:02+08:00","updated_at":"2024-05-03T11:17:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45fcfa3586a6bb09cf31b5c20211848c4118bfb_e40cae4e-e890-42b7-b643-e7f06908708c.webp?v=1714706222","variant_ids":[41880582553699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - 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":"NPB01262J5-PB28","featured_media":{"alt":null,"id":23875617751139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45fcfa3586a6bb09cf31b5c20211848c4118bfb_e40cae4e-e890-42b7-b643-e7f06908708c.webp?v=1714706222"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11c464156c425d2236419fa37df9806db06e2bcc_0c0474e6-fad8-4a59-b4bb-686a6b332dec.webp?v=1714706205","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3efc4ea8fba00e88a2b3b8d8b9c0857cb116c0a_4fbd8ece-c239-441a-8f85-c37aab7bfe79.webp?v=1714706208","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/723d88f7ee78381dc2bed5e904087e6ba9337226_18808a60-d50b-4dbb-b9ea-e1ea2dfcf9ec.webp?v=1714706210","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f802dabb6620989bf5dd14cdbb4790ecdf3c445_8b711482-2914-44ce-9429-56f02d02f2d2.webp?v=1714706212","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec179a1dd2af92d4cd3ded30c386c529dcbc28e_a0e6ed4e-91ae-4e21-804c-cd297efe3e93.webp?v=1714706215","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c9b37331c094e82ab5e6631fc9219700e68f128_e88482d7-5ed0-4ef0-8996-87b88ee73625.webp?v=1714706217","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fe8e2b45ee7fc1eea0349d412b9ff9c4b1a8b29_f28c0be9-4542-443e-abc6-82924d19cf73.webp?v=1714706220","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45fcfa3586a6bb09cf31b5c20211848c4118bfb_e40cae4e-e890-42b7-b643-e7f06908708c.webp?v=1714706222","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c43fcf0df0bd1d2232d0499696b8d4cfcefb9a5_a59d182a-d6cc-4d57-a1bd-2495a528806c.webp?v=1714706225","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/397a8879a3c7e4885815ddc01d286adc43f8919a_419cd023-0140-49b7-ac53-39bcdf73669c.webp?v=1714706227"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11c464156c425d2236419fa37df9806db06e2bcc_0c0474e6-fad8-4a59-b4bb-686a6b332dec.webp?v=1714706205","options":["color"],"media":[{"alt":null,"id":23875614212195,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11c464156c425d2236419fa37df9806db06e2bcc_0c0474e6-fad8-4a59-b4bb-686a6b332dec.webp?v=1714706205"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11c464156c425d2236419fa37df9806db06e2bcc_0c0474e6-fad8-4a59-b4bb-686a6b332dec.webp?v=1714706205","width":2000},{"alt":null,"id":23875614802019,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3efc4ea8fba00e88a2b3b8d8b9c0857cb116c0a_4fbd8ece-c239-441a-8f85-c37aab7bfe79.webp?v=1714706208"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3efc4ea8fba00e88a2b3b8d8b9c0857cb116c0a_4fbd8ece-c239-441a-8f85-c37aab7bfe79.webp?v=1714706208","width":2000},{"alt":null,"id":23875615228003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/723d88f7ee78381dc2bed5e904087e6ba9337226_18808a60-d50b-4dbb-b9ea-e1ea2dfcf9ec.webp?v=1714706210"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/723d88f7ee78381dc2bed5e904087e6ba9337226_18808a60-d50b-4dbb-b9ea-e1ea2dfcf9ec.webp?v=1714706210","width":2000},{"alt":null,"id":23875615785059,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f802dabb6620989bf5dd14cdbb4790ecdf3c445_8b711482-2914-44ce-9429-56f02d02f2d2.webp?v=1714706212"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f802dabb6620989bf5dd14cdbb4790ecdf3c445_8b711482-2914-44ce-9429-56f02d02f2d2.webp?v=1714706212","width":2000},{"alt":null,"id":23875616243811,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec179a1dd2af92d4cd3ded30c386c529dcbc28e_a0e6ed4e-91ae-4e21-804c-cd297efe3e93.webp?v=1714706215"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec179a1dd2af92d4cd3ded30c386c529dcbc28e_a0e6ed4e-91ae-4e21-804c-cd297efe3e93.webp?v=1714706215","width":2000},{"alt":null,"id":23875616735331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c9b37331c094e82ab5e6631fc9219700e68f128_e88482d7-5ed0-4ef0-8996-87b88ee73625.webp?v=1714706217"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c9b37331c094e82ab5e6631fc9219700e68f128_e88482d7-5ed0-4ef0-8996-87b88ee73625.webp?v=1714706217","width":2000},{"alt":null,"id":23875617128547,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fe8e2b45ee7fc1eea0349d412b9ff9c4b1a8b29_f28c0be9-4542-443e-abc6-82924d19cf73.webp?v=1714706220"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fe8e2b45ee7fc1eea0349d412b9ff9c4b1a8b29_f28c0be9-4542-443e-abc6-82924d19cf73.webp?v=1714706220","width":2000},{"alt":null,"id":23875617751139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45fcfa3586a6bb09cf31b5c20211848c4118bfb_e40cae4e-e890-42b7-b643-e7f06908708c.webp?v=1714706222"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45fcfa3586a6bb09cf31b5c20211848c4118bfb_e40cae4e-e890-42b7-b643-e7f06908708c.webp?v=1714706222","width":2000},{"alt":null,"id":23875618111587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c43fcf0df0bd1d2232d0499696b8d4cfcefb9a5_a59d182a-d6cc-4d57-a1bd-2495a528806c.webp?v=1714706225"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c43fcf0df0bd1d2232d0499696b8d4cfcefb9a5_a59d182a-d6cc-4d57-a1bd-2495a528806c.webp?v=1714706225","width":2000},{"alt":null,"id":23875618570339,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/397a8879a3c7e4885815ddc01d286adc43f8919a_419cd023-0140-49b7-ac53-39bcdf73669c.webp?v=1714706227"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/397a8879a3c7e4885815ddc01d286adc43f8919a_419cd023-0140-49b7-ac53-39bcdf73669c.webp?v=1714706227","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880582258787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31470712684643,"product_id":7407923429475,"position":6,"created_at":"2024-05-03T11:16:57+08:00","updated_at":"2024-05-03T11:16:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c9b37331c094e82ab5e6631fc9219700e68f128_e88482d7-5ed0-4ef0-8996-87b88ee73625.webp?v=1714706217","variant_ids":[41880582258787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - 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":"NPB0126224-PB28","featured_media":{"alt":null,"id":23875616735331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c9b37331c094e82ab5e6631fc9219700e68f128_e88482d7-5ed0-4ef0-8996-87b88ee73625.webp?v=1714706217"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880582324323,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31470712193123,"product_id":7407923429475,"position":5,"created_at":"2024-05-03T11:16:55+08:00","updated_at":"2024-05-03T11:16:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec179a1dd2af92d4cd3ded30c386c529dcbc28e_a0e6ed4e-91ae-4e21-804c-cd297efe3e93.webp?v=1714706215","variant_ids":[41880582324323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - 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":"NPB0126204-PB28","featured_media":{"alt":null,"id":23875616243811,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec179a1dd2af92d4cd3ded30c386c529dcbc28e_a0e6ed4e-91ae-4e21-804c-cd297efe3e93.webp?v=1714706215"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880582553699,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31470713700451,"product_id":7407923429475,"position":8,"created_at":"2024-05-03T11:17:02+08:00","updated_at":"2024-05-03T11:17:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45fcfa3586a6bb09cf31b5c20211848c4118bfb_e40cae4e-e890-42b7-b643-e7f06908708c.webp?v=1714706222","variant_ids":[41880582553699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - 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":"NPB01262J5-PB28","featured_media":{"alt":null,"id":23875617751139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45fcfa3586a6bb09cf31b5c20211848c4118bfb_e40cae4e-e890-42b7-b643-e7f06908708c.webp?v=1714706222"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880582258787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31470712684643,"product_id":7407923429475,"position":6,"created_at":"2024-05-03T11:16:57+08:00","updated_at":"2024-05-03T11:16:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c9b37331c094e82ab5e6631fc9219700e68f128_e88482d7-5ed0-4ef0-8996-87b88ee73625.webp?v=1714706217","variant_ids":[41880582258787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - 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":"NPB0126224-PB28","featured_media":{"alt":null,"id":23875616735331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c9b37331c094e82ab5e6631fc9219700e68f128_e88482d7-5ed0-4ef0-8996-87b88ee73625.webp?v=1714706217"}},"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: "停產" }