$product = {"id":7407998369891,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X翼戰機","handle":"iphone-13-mini-mod-nx-printable-pb74","description":null,"published_at":"2024-06-11T16:28:41+08:00","created_at":"2024-05-03T11:37:35+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":41881548193891,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB74","requires_shipping":true,"taxable":true,"featured_image":{"id":31470926168163,"product_id":7407998369891,"position":8,"created_at":"2024-05-03T11:37:57+08:00","updated_at":"2024-05-03T11:37:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467b388a2e592ede090b24905dbec1d1e0dc3b3a_c587f945-f5cf-45e3-a4e9-faa87e134dc8.webp?v=1714707477","variant_ids":[41881548193891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 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":"NPB0122824-PB74","featured_media":{"alt":null,"id":23875830841443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467b388a2e592ede090b24905dbec1d1e0dc3b3a_c587f945-f5cf-45e3-a4e9-faa87e134dc8.webp?v=1714707477"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881548259427,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB74","requires_shipping":true,"taxable":true,"featured_image":{"id":31470927118435,"product_id":7407998369891,"position":10,"created_at":"2024-05-03T11:38:02+08:00","updated_at":"2024-05-03T11:38:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3964d4f244cd67532c8402851331684eaaa30e2d_65d9dc0d-d47e-4b5f-a362-5894c40a18b5.webp?v=1714707482","variant_ids":[41881548259427]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 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":"NPB0122804-PB74","featured_media":{"alt":null,"id":23875831791715,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3964d4f244cd67532c8402851331684eaaa30e2d_65d9dc0d-d47e-4b5f-a362-5894c40a18b5.webp?v=1714707482"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881548488803,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB74","requires_shipping":true,"taxable":true,"featured_image":{"id":31470925217891,"product_id":7407998369891,"position":6,"created_at":"2024-05-03T11:37:52+08:00","updated_at":"2024-05-03T11:37:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c4f5dc462a7d1cdcd0750e32127acb31fbb5ca_e60f187b-0863-4287-9a9b-c5ae84cdd3b5.webp?v=1714707472","variant_ids":[41881548488803]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 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":"NPB01228J5-PB74","featured_media":{"alt":null,"id":23875829923939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c4f5dc462a7d1cdcd0750e32127acb31fbb5ca_e60f187b-0863-4287-9a9b-c5ae84cdd3b5.webp?v=1714707472"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46f69551319e1a7a11ce67d7bd19d7962ae57eea_01093f09-e71b-40e3-9637-58fe000e9680.webp?v=1714707458","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c7dd7d59288b730232b44f0c2bbc6480ade8362_b128545a-05d7-4695-9bff-34c3edec4180.webp?v=1714707461","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504fa17ee2ceaf72cc94bd822ad014b7d4c75cd3_45769a49-1b11-4a55-b937-131eef53c178.webp?v=1714707463","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80b34c0f18f998da5b90de61686ff2effa945dd1_e980cc1e-ab7f-473b-9e76-f4200b1ba1c1.webp?v=1714707466","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f74192d2d6c9cdf4702bc9b616bf10810d8fbdc_f9d652c3-96e4-48b3-81a2-d85bff61bbe2.webp?v=1714707468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c4f5dc462a7d1cdcd0750e32127acb31fbb5ca_e60f187b-0863-4287-9a9b-c5ae84cdd3b5.webp?v=1714707472","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/556859b6dd34a6045a9d43a1e6a12fd8ce70b4c8_657a62d5-e84f-468e-86b3-db414616a5db.webp?v=1714707475","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467b388a2e592ede090b24905dbec1d1e0dc3b3a_c587f945-f5cf-45e3-a4e9-faa87e134dc8.webp?v=1714707477","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/310757fc2830783e1341df24907d32f1cf54540c_f1b68de5-2a8b-402c-9ba5-2c2d6f34279b.webp?v=1714707480","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3964d4f244cd67532c8402851331684eaaa30e2d_65d9dc0d-d47e-4b5f-a362-5894c40a18b5.webp?v=1714707482"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46f69551319e1a7a11ce67d7bd19d7962ae57eea_01093f09-e71b-40e3-9637-58fe000e9680.webp?v=1714707458","options":["color"],"media":[{"alt":null,"id":23875827564643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46f69551319e1a7a11ce67d7bd19d7962ae57eea_01093f09-e71b-40e3-9637-58fe000e9680.webp?v=1714707458"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46f69551319e1a7a11ce67d7bd19d7962ae57eea_01093f09-e71b-40e3-9637-58fe000e9680.webp?v=1714707458","width":2000},{"alt":null,"id":23875828023395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c7dd7d59288b730232b44f0c2bbc6480ade8362_b128545a-05d7-4695-9bff-34c3edec4180.webp?v=1714707461"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c7dd7d59288b730232b44f0c2bbc6480ade8362_b128545a-05d7-4695-9bff-34c3edec4180.webp?v=1714707461","width":2000},{"alt":null,"id":23875828416611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504fa17ee2ceaf72cc94bd822ad014b7d4c75cd3_45769a49-1b11-4a55-b937-131eef53c178.webp?v=1714707463"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504fa17ee2ceaf72cc94bd822ad014b7d4c75cd3_45769a49-1b11-4a55-b937-131eef53c178.webp?v=1714707463","width":2000},{"alt":null,"id":23875828875363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80b34c0f18f998da5b90de61686ff2effa945dd1_e980cc1e-ab7f-473b-9e76-f4200b1ba1c1.webp?v=1714707466"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80b34c0f18f998da5b90de61686ff2effa945dd1_e980cc1e-ab7f-473b-9e76-f4200b1ba1c1.webp?v=1714707466","width":2000},{"alt":null,"id":23875829268579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f74192d2d6c9cdf4702bc9b616bf10810d8fbdc_f9d652c3-96e4-48b3-81a2-d85bff61bbe2.webp?v=1714707468"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f74192d2d6c9cdf4702bc9b616bf10810d8fbdc_f9d652c3-96e4-48b3-81a2-d85bff61bbe2.webp?v=1714707468","width":2000},{"alt":null,"id":23875829923939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c4f5dc462a7d1cdcd0750e32127acb31fbb5ca_e60f187b-0863-4287-9a9b-c5ae84cdd3b5.webp?v=1714707472"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c4f5dc462a7d1cdcd0750e32127acb31fbb5ca_e60f187b-0863-4287-9a9b-c5ae84cdd3b5.webp?v=1714707472","width":2000},{"alt":null,"id":23875830284387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/556859b6dd34a6045a9d43a1e6a12fd8ce70b4c8_657a62d5-e84f-468e-86b3-db414616a5db.webp?v=1714707475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/556859b6dd34a6045a9d43a1e6a12fd8ce70b4c8_657a62d5-e84f-468e-86b3-db414616a5db.webp?v=1714707475","width":2000},{"alt":null,"id":23875830841443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467b388a2e592ede090b24905dbec1d1e0dc3b3a_c587f945-f5cf-45e3-a4e9-faa87e134dc8.webp?v=1714707477"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467b388a2e592ede090b24905dbec1d1e0dc3b3a_c587f945-f5cf-45e3-a4e9-faa87e134dc8.webp?v=1714707477","width":2000},{"alt":null,"id":23875831365731,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/310757fc2830783e1341df24907d32f1cf54540c_f1b68de5-2a8b-402c-9ba5-2c2d6f34279b.webp?v=1714707480"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/310757fc2830783e1341df24907d32f1cf54540c_f1b68de5-2a8b-402c-9ba5-2c2d6f34279b.webp?v=1714707480","width":2000},{"alt":null,"id":23875831791715,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3964d4f244cd67532c8402851331684eaaa30e2d_65d9dc0d-d47e-4b5f-a362-5894c40a18b5.webp?v=1714707482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3964d4f244cd67532c8402851331684eaaa30e2d_65d9dc0d-d47e-4b5f-a362-5894c40a18b5.webp?v=1714707482","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41881548193891,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB74","requires_shipping":true,"taxable":true,"featured_image":{"id":31470926168163,"product_id":7407998369891,"position":8,"created_at":"2024-05-03T11:37:57+08:00","updated_at":"2024-05-03T11:37:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467b388a2e592ede090b24905dbec1d1e0dc3b3a_c587f945-f5cf-45e3-a4e9-faa87e134dc8.webp?v=1714707477","variant_ids":[41881548193891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 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":"NPB0122824-PB74","featured_media":{"alt":null,"id":23875830841443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467b388a2e592ede090b24905dbec1d1e0dc3b3a_c587f945-f5cf-45e3-a4e9-faa87e134dc8.webp?v=1714707477"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881548259427,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB74","requires_shipping":true,"taxable":true,"featured_image":{"id":31470927118435,"product_id":7407998369891,"position":10,"created_at":"2024-05-03T11:38:02+08:00","updated_at":"2024-05-03T11:38:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3964d4f244cd67532c8402851331684eaaa30e2d_65d9dc0d-d47e-4b5f-a362-5894c40a18b5.webp?v=1714707482","variant_ids":[41881548259427]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 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":"NPB0122804-PB74","featured_media":{"alt":null,"id":23875831791715,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3964d4f244cd67532c8402851331684eaaa30e2d_65d9dc0d-d47e-4b5f-a362-5894c40a18b5.webp?v=1714707482"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881548488803,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB74","requires_shipping":true,"taxable":true,"featured_image":{"id":31470925217891,"product_id":7407998369891,"position":6,"created_at":"2024-05-03T11:37:52+08:00","updated_at":"2024-05-03T11:37:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c4f5dc462a7d1cdcd0750e32127acb31fbb5ca_e60f187b-0863-4287-9a9b-c5ae84cdd3b5.webp?v=1714707472","variant_ids":[41881548488803]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 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":"NPB01228J5-PB74","featured_media":{"alt":null,"id":23875829923939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c4f5dc462a7d1cdcd0750e32127acb31fbb5ca_e60f187b-0863-4287-9a9b-c5ae84cdd3b5.webp?v=1714707472"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881548193891,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB74","requires_shipping":true,"taxable":true,"featured_image":{"id":31470926168163,"product_id":7407998369891,"position":8,"created_at":"2024-05-03T11:37:57+08:00","updated_at":"2024-05-03T11:37:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467b388a2e592ede090b24905dbec1d1e0dc3b3a_c587f945-f5cf-45e3-a4e9-faa87e134dc8.webp?v=1714707477","variant_ids":[41881548193891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 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":"NPB0122824-PB74","featured_media":{"alt":null,"id":23875830841443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467b388a2e592ede090b24905dbec1d1e0dc3b3a_c587f945-f5cf-45e3-a4e9-faa87e134dc8.webp?v=1714707477"}},"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: "停產" }