$product = {"id":7408228401251,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 賈霸-塗鴉藝術","handle":"iphone-13-mini-mod-nx-printable-pb41","description":null,"published_at":"2024-06-11T16:34:49+08:00","created_at":"2024-05-03T12:24:55+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":41884090892387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31471528411235,"product_id":7408228401251,"position":8,"created_at":"2024-05-03T12:25:13+08:00","updated_at":"2024-05-03T12:25:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d060b39f05164032e771aa5ac999c13b6bb64b91_c00481ae-c5dc-49c6-91f8-572774974cab.webp?v=1714710313","variant_ids":[41884090892387]},"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-PB41","featured_media":{"alt":null,"id":23876435050595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d060b39f05164032e771aa5ac999c13b6bb64b91_c00481ae-c5dc-49c6-91f8-572774974cab.webp?v=1714710313"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884090957923,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31471527821411,"product_id":7408228401251,"position":7,"created_at":"2024-05-03T12:25:11+08:00","updated_at":"2024-05-03T12:25:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce9d476946eb06aaa623f24d480a4330ed73be0e_8ee9d36f-e0c1-4664-8e48-d0c821038eab.webp?v=1714710311","variant_ids":[41884090957923]},"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-PB41","featured_media":{"alt":null,"id":23876434395235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce9d476946eb06aaa623f24d480a4330ed73be0e_8ee9d36f-e0c1-4664-8e48-d0c821038eab.webp?v=1714710311"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884091187299,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31471528902755,"product_id":7408228401251,"position":9,"created_at":"2024-05-03T12:25:16+08:00","updated_at":"2024-05-03T12:25:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fe24c817aca7a6004f823abc0fa7b088a4b5ab5_181da7cd-fcfa-421d-8a0c-abec2c60bd23.webp?v=1714710316","variant_ids":[41884091187299]},"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-PB41","featured_media":{"alt":null,"id":23876435476579,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fe24c817aca7a6004f823abc0fa7b088a4b5ab5_181da7cd-fcfa-421d-8a0c-abec2c60bd23.webp?v=1714710316"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a53faf3009366ac8b6a73567598013f960187c13_fd1e78f2-59ac-475a-b5dc-46d3d7641f47.webp?v=1714710297","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1927eae65aedd362aaa52daaa549843c37b4d1b5_0f0636dd-4421-44c0-b0ea-3c9887f421df.webp?v=1714710299","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716b63393dc245364736f9aee776c709a22bba76_fadb6ccd-b8cf-4737-b8f1-90b3bfa4497a.webp?v=1714710302","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560bf9ad06aca6ccc275280c128c549a10e9b2cc_75ea4973-f00e-49cb-8411-7fe6a6d1fcc8.webp?v=1714710304","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d430834e9d56cd130311df4689d678092b7ec27_c0f8fce2-86bf-43bf-bdd5-90431ab2a766.webp?v=1714710307","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a91ec30ff8a9e8a72902dc4a0e2c73113fc87db9_2ad19cac-0cce-49f4-ad16-debcc92c991c.webp?v=1714710309","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce9d476946eb06aaa623f24d480a4330ed73be0e_8ee9d36f-e0c1-4664-8e48-d0c821038eab.webp?v=1714710311","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d060b39f05164032e771aa5ac999c13b6bb64b91_c00481ae-c5dc-49c6-91f8-572774974cab.webp?v=1714710313","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fe24c817aca7a6004f823abc0fa7b088a4b5ab5_181da7cd-fcfa-421d-8a0c-abec2c60bd23.webp?v=1714710316","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649ede8312645161ec881f9b976a9fe7178de543_2526fd9b-0f49-4c92-b26a-93531814fe8a.webp?v=1714710318"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a53faf3009366ac8b6a73567598013f960187c13_fd1e78f2-59ac-475a-b5dc-46d3d7641f47.webp?v=1714710297","options":["color"],"media":[{"alt":null,"id":23876431577187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a53faf3009366ac8b6a73567598013f960187c13_fd1e78f2-59ac-475a-b5dc-46d3d7641f47.webp?v=1714710297"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a53faf3009366ac8b6a73567598013f960187c13_fd1e78f2-59ac-475a-b5dc-46d3d7641f47.webp?v=1714710297","width":2000},{"alt":null,"id":23876432068707,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1927eae65aedd362aaa52daaa549843c37b4d1b5_0f0636dd-4421-44c0-b0ea-3c9887f421df.webp?v=1714710299"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1927eae65aedd362aaa52daaa549843c37b4d1b5_0f0636dd-4421-44c0-b0ea-3c9887f421df.webp?v=1714710299","width":2000},{"alt":null,"id":23876432658531,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716b63393dc245364736f9aee776c709a22bba76_fadb6ccd-b8cf-4737-b8f1-90b3bfa4497a.webp?v=1714710302"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716b63393dc245364736f9aee776c709a22bba76_fadb6ccd-b8cf-4737-b8f1-90b3bfa4497a.webp?v=1714710302","width":2000},{"alt":null,"id":23876433117283,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560bf9ad06aca6ccc275280c128c549a10e9b2cc_75ea4973-f00e-49cb-8411-7fe6a6d1fcc8.webp?v=1714710304"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560bf9ad06aca6ccc275280c128c549a10e9b2cc_75ea4973-f00e-49cb-8411-7fe6a6d1fcc8.webp?v=1714710304","width":2000},{"alt":null,"id":23876433543267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d430834e9d56cd130311df4689d678092b7ec27_c0f8fce2-86bf-43bf-bdd5-90431ab2a766.webp?v=1714710307"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d430834e9d56cd130311df4689d678092b7ec27_c0f8fce2-86bf-43bf-bdd5-90431ab2a766.webp?v=1714710307","width":2000},{"alt":null,"id":23876433936483,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a91ec30ff8a9e8a72902dc4a0e2c73113fc87db9_2ad19cac-0cce-49f4-ad16-debcc92c991c.webp?v=1714710309"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a91ec30ff8a9e8a72902dc4a0e2c73113fc87db9_2ad19cac-0cce-49f4-ad16-debcc92c991c.webp?v=1714710309","width":2000},{"alt":null,"id":23876434395235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce9d476946eb06aaa623f24d480a4330ed73be0e_8ee9d36f-e0c1-4664-8e48-d0c821038eab.webp?v=1714710311"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce9d476946eb06aaa623f24d480a4330ed73be0e_8ee9d36f-e0c1-4664-8e48-d0c821038eab.webp?v=1714710311","width":2000},{"alt":null,"id":23876435050595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d060b39f05164032e771aa5ac999c13b6bb64b91_c00481ae-c5dc-49c6-91f8-572774974cab.webp?v=1714710313"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d060b39f05164032e771aa5ac999c13b6bb64b91_c00481ae-c5dc-49c6-91f8-572774974cab.webp?v=1714710313","width":2000},{"alt":null,"id":23876435476579,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fe24c817aca7a6004f823abc0fa7b088a4b5ab5_181da7cd-fcfa-421d-8a0c-abec2c60bd23.webp?v=1714710316"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fe24c817aca7a6004f823abc0fa7b088a4b5ab5_181da7cd-fcfa-421d-8a0c-abec2c60bd23.webp?v=1714710316","width":2000},{"alt":null,"id":23876436066403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649ede8312645161ec881f9b976a9fe7178de543_2526fd9b-0f49-4c92-b26a-93531814fe8a.webp?v=1714710318"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649ede8312645161ec881f9b976a9fe7178de543_2526fd9b-0f49-4c92-b26a-93531814fe8a.webp?v=1714710318","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41884090892387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31471528411235,"product_id":7408228401251,"position":8,"created_at":"2024-05-03T12:25:13+08:00","updated_at":"2024-05-03T12:25:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d060b39f05164032e771aa5ac999c13b6bb64b91_c00481ae-c5dc-49c6-91f8-572774974cab.webp?v=1714710313","variant_ids":[41884090892387]},"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-PB41","featured_media":{"alt":null,"id":23876435050595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d060b39f05164032e771aa5ac999c13b6bb64b91_c00481ae-c5dc-49c6-91f8-572774974cab.webp?v=1714710313"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884090957923,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31471527821411,"product_id":7408228401251,"position":7,"created_at":"2024-05-03T12:25:11+08:00","updated_at":"2024-05-03T12:25:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce9d476946eb06aaa623f24d480a4330ed73be0e_8ee9d36f-e0c1-4664-8e48-d0c821038eab.webp?v=1714710311","variant_ids":[41884090957923]},"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-PB41","featured_media":{"alt":null,"id":23876434395235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce9d476946eb06aaa623f24d480a4330ed73be0e_8ee9d36f-e0c1-4664-8e48-d0c821038eab.webp?v=1714710311"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884091187299,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31471528902755,"product_id":7408228401251,"position":9,"created_at":"2024-05-03T12:25:16+08:00","updated_at":"2024-05-03T12:25:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fe24c817aca7a6004f823abc0fa7b088a4b5ab5_181da7cd-fcfa-421d-8a0c-abec2c60bd23.webp?v=1714710316","variant_ids":[41884091187299]},"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-PB41","featured_media":{"alt":null,"id":23876435476579,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fe24c817aca7a6004f823abc0fa7b088a4b5ab5_181da7cd-fcfa-421d-8a0c-abec2c60bd23.webp?v=1714710316"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41884090892387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31471528411235,"product_id":7408228401251,"position":8,"created_at":"2024-05-03T12:25:13+08:00","updated_at":"2024-05-03T12:25:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d060b39f05164032e771aa5ac999c13b6bb64b91_c00481ae-c5dc-49c6-91f8-572774974cab.webp?v=1714710313","variant_ids":[41884090892387]},"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-PB41","featured_media":{"alt":null,"id":23876435050595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d060b39f05164032e771aa5ac999c13b6bb64b91_c00481ae-c5dc-49c6-91f8-572774974cab.webp?v=1714710313"}},"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: "停產" }