$product = {"id":7407815852131,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 波巴費特-線稿風格白","handle":"iphone-14-pro-mod-nx-printable-pb52","description":null,"published_at":"2024-06-11T16:23:37+08:00","created_at":"2024-05-03T10:55:06+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":41879166222435,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB52","requires_shipping":true,"taxable":true,"featured_image":{"id":31470434812003,"product_id":7407815852131,"position":1,"created_at":"2024-05-03T10:55:08+08:00","updated_at":"2024-05-03T10:55:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3200c23aaa93e9cb3558a9df89809e417733b2_e00ed851-ed82-4d3a-9b30-17a0abe9e023.webp?v=1714704908","variant_ids":[41879166222435]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB52","featured_media":{"alt":null,"id":23875338109027,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3200c23aaa93e9cb3558a9df89809e417733b2_e00ed851-ed82-4d3a-9b30-17a0abe9e023.webp?v=1714704908"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879166287971,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB52","requires_shipping":true,"taxable":true,"featured_image":{"id":31470436548707,"product_id":7407815852131,"position":5,"created_at":"2024-05-03T10:55:17+08:00","updated_at":"2024-05-03T10:55:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a22a1c74f8c12a177f48b4c832c6bb09c445e0_f5508755-d7f6-4cfa-a079-464ac72bbc83.webp?v=1714704917","variant_ids":[41879166287971]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PB52","featured_media":{"alt":null,"id":23875339911267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a22a1c74f8c12a177f48b4c832c6bb09c445e0_f5508755-d7f6-4cfa-a079-464ac72bbc83.webp?v=1714704917"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879166779491,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB52","requires_shipping":true,"taxable":true,"featured_image":{"id":31470438121571,"product_id":7407815852131,"position":8,"created_at":"2024-05-03T10:55:24+08:00","updated_at":"2024-05-03T10:55:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4560ee7613c976b9036c6412048df44202e7134d_38a51a62-c277-4fdb-bb50-24691825f1ee.webp?v=1714704924","variant_ids":[41879166779491]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PB52","featured_media":{"alt":null,"id":23875341058147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4560ee7613c976b9036c6412048df44202e7134d_38a51a62-c277-4fdb-bb50-24691825f1ee.webp?v=1714704924"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3200c23aaa93e9cb3558a9df89809e417733b2_e00ed851-ed82-4d3a-9b30-17a0abe9e023.webp?v=1714704908","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f36fd66a6fb2be4ff0d1c30be4e911a59de1e7_f4037073-05c8-4101-8edf-89abdfb1a9e6.webp?v=1714704910","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b192cb9cd6efe3ae75b6d0130112a345158efed5_7474eaed-2135-4c49-b4f7-1194bbeb7c92.webp?v=1714704913","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f2240ff66e165947e1531ad14734c5b02432599_6b4efe61-a935-4428-9b9f-6be16e911f1c.webp?v=1714704915","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a22a1c74f8c12a177f48b4c832c6bb09c445e0_f5508755-d7f6-4cfa-a079-464ac72bbc83.webp?v=1714704917","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2aa1ba03ef4cecb14d9ca7edb460ef962a74981_4a1a8023-a23a-4957-a28a-59f2c2ebdba0.webp?v=1714704920","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46524cfc0924076bc80e3de37e1b297953c9adee_b691904b-c886-43aa-8c1f-80869c15c354.webp?v=1714704922","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4560ee7613c976b9036c6412048df44202e7134d_38a51a62-c277-4fdb-bb50-24691825f1ee.webp?v=1714704924","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2268cdafb5e6461f7777e94c91322a26d2e2bdf7_d5a1c0a2-fe44-4a7e-ade2-d941abd6aac6.webp?v=1714704927","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffaffb9426dd94fc987c78d7ac3f872e5172fca0_788655bc-ba11-46d3-b63f-6af7785eea3f.webp?v=1714704929"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3200c23aaa93e9cb3558a9df89809e417733b2_e00ed851-ed82-4d3a-9b30-17a0abe9e023.webp?v=1714704908","options":["color"],"media":[{"alt":null,"id":23875338109027,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3200c23aaa93e9cb3558a9df89809e417733b2_e00ed851-ed82-4d3a-9b30-17a0abe9e023.webp?v=1714704908"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3200c23aaa93e9cb3558a9df89809e417733b2_e00ed851-ed82-4d3a-9b30-17a0abe9e023.webp?v=1714704908","width":2000},{"alt":null,"id":23875338600547,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f36fd66a6fb2be4ff0d1c30be4e911a59de1e7_f4037073-05c8-4101-8edf-89abdfb1a9e6.webp?v=1714704910"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f36fd66a6fb2be4ff0d1c30be4e911a59de1e7_f4037073-05c8-4101-8edf-89abdfb1a9e6.webp?v=1714704910","width":2000},{"alt":null,"id":23875339059299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b192cb9cd6efe3ae75b6d0130112a345158efed5_7474eaed-2135-4c49-b4f7-1194bbeb7c92.webp?v=1714704913"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b192cb9cd6efe3ae75b6d0130112a345158efed5_7474eaed-2135-4c49-b4f7-1194bbeb7c92.webp?v=1714704913","width":2000},{"alt":null,"id":23875339419747,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f2240ff66e165947e1531ad14734c5b02432599_6b4efe61-a935-4428-9b9f-6be16e911f1c.webp?v=1714704915"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f2240ff66e165947e1531ad14734c5b02432599_6b4efe61-a935-4428-9b9f-6be16e911f1c.webp?v=1714704915","width":2000},{"alt":null,"id":23875339911267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a22a1c74f8c12a177f48b4c832c6bb09c445e0_f5508755-d7f6-4cfa-a079-464ac72bbc83.webp?v=1714704917"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a22a1c74f8c12a177f48b4c832c6bb09c445e0_f5508755-d7f6-4cfa-a079-464ac72bbc83.webp?v=1714704917","width":2000},{"alt":null,"id":23875340370019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2aa1ba03ef4cecb14d9ca7edb460ef962a74981_4a1a8023-a23a-4957-a28a-59f2c2ebdba0.webp?v=1714704920"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2aa1ba03ef4cecb14d9ca7edb460ef962a74981_4a1a8023-a23a-4957-a28a-59f2c2ebdba0.webp?v=1714704920","width":2000},{"alt":null,"id":23875340763235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46524cfc0924076bc80e3de37e1b297953c9adee_b691904b-c886-43aa-8c1f-80869c15c354.webp?v=1714704922"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46524cfc0924076bc80e3de37e1b297953c9adee_b691904b-c886-43aa-8c1f-80869c15c354.webp?v=1714704922","width":2000},{"alt":null,"id":23875341058147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4560ee7613c976b9036c6412048df44202e7134d_38a51a62-c277-4fdb-bb50-24691825f1ee.webp?v=1714704924"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4560ee7613c976b9036c6412048df44202e7134d_38a51a62-c277-4fdb-bb50-24691825f1ee.webp?v=1714704924","width":2000},{"alt":null,"id":23875342794851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2268cdafb5e6461f7777e94c91322a26d2e2bdf7_d5a1c0a2-fe44-4a7e-ade2-d941abd6aac6.webp?v=1714704927"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2268cdafb5e6461f7777e94c91322a26d2e2bdf7_d5a1c0a2-fe44-4a7e-ade2-d941abd6aac6.webp?v=1714704927","width":2000},{"alt":null,"id":23875343089763,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffaffb9426dd94fc987c78d7ac3f872e5172fca0_788655bc-ba11-46d3-b63f-6af7785eea3f.webp?v=1714704929"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffaffb9426dd94fc987c78d7ac3f872e5172fca0_788655bc-ba11-46d3-b63f-6af7785eea3f.webp?v=1714704929","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41879166222435,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB52","requires_shipping":true,"taxable":true,"featured_image":{"id":31470434812003,"product_id":7407815852131,"position":1,"created_at":"2024-05-03T10:55:08+08:00","updated_at":"2024-05-03T10:55:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3200c23aaa93e9cb3558a9df89809e417733b2_e00ed851-ed82-4d3a-9b30-17a0abe9e023.webp?v=1714704908","variant_ids":[41879166222435]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB52","featured_media":{"alt":null,"id":23875338109027,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3200c23aaa93e9cb3558a9df89809e417733b2_e00ed851-ed82-4d3a-9b30-17a0abe9e023.webp?v=1714704908"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879166287971,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB52","requires_shipping":true,"taxable":true,"featured_image":{"id":31470436548707,"product_id":7407815852131,"position":5,"created_at":"2024-05-03T10:55:17+08:00","updated_at":"2024-05-03T10:55:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a22a1c74f8c12a177f48b4c832c6bb09c445e0_f5508755-d7f6-4cfa-a079-464ac72bbc83.webp?v=1714704917","variant_ids":[41879166287971]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PB52","featured_media":{"alt":null,"id":23875339911267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a22a1c74f8c12a177f48b4c832c6bb09c445e0_f5508755-d7f6-4cfa-a079-464ac72bbc83.webp?v=1714704917"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879166779491,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB52","requires_shipping":true,"taxable":true,"featured_image":{"id":31470438121571,"product_id":7407815852131,"position":8,"created_at":"2024-05-03T10:55:24+08:00","updated_at":"2024-05-03T10:55:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4560ee7613c976b9036c6412048df44202e7134d_38a51a62-c277-4fdb-bb50-24691825f1ee.webp?v=1714704924","variant_ids":[41879166779491]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PB52","featured_media":{"alt":null,"id":23875341058147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4560ee7613c976b9036c6412048df44202e7134d_38a51a62-c277-4fdb-bb50-24691825f1ee.webp?v=1714704924"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41879166222435,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB52","requires_shipping":true,"taxable":true,"featured_image":{"id":31470434812003,"product_id":7407815852131,"position":1,"created_at":"2024-05-03T10:55:08+08:00","updated_at":"2024-05-03T10:55:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3200c23aaa93e9cb3558a9df89809e417733b2_e00ed851-ed82-4d3a-9b30-17a0abe9e023.webp?v=1714704908","variant_ids":[41879166222435]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB52","featured_media":{"alt":null,"id":23875338109027,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3200c23aaa93e9cb3558a9df89809e417733b2_e00ed851-ed82-4d3a-9b30-17a0abe9e023.webp?v=1714704908"}},"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: "停產" }