$product = {"id":7408055418979,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy","handle":"iphone-13-mini-mod-nx-printable-pb59","description":null,"published_at":"2024-06-11T16:30:11+08:00","created_at":"2024-05-03T11:50:20+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":41882178650211,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31471080603747,"product_id":7408055418979,"position":7,"created_at":"2024-05-03T11:50:39+08:00","updated_at":"2024-05-03T11:50:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd003bb42306aae3cdc325ee5858d47516aad18_d11f47dc-3cbb-4b5c-acab-43cc87888d89.webp?v=1714708239","variant_ids":[41882178650211]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875985670243,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd003bb42306aae3cdc325ee5858d47516aad18_d11f47dc-3cbb-4b5c-acab-43cc87888d89.webp?v=1714708239"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882178748515,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31471081652323,"product_id":7408055418979,"position":9,"created_at":"2024-05-03T11:50:45+08:00","updated_at":"2024-05-03T11:50:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17bf66671ed912cfedfe44a47b852389e4a8668e_4f61cb0e-541a-44d6-911e-449530855d44.webp?v=1714708245","variant_ids":[41882178748515]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875986718819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17bf66671ed912cfedfe44a47b852389e4a8668e_4f61cb0e-541a-44d6-911e-449530855d44.webp?v=1714708245"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882179010659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31471077720163,"product_id":7408055418979,"position":2,"created_at":"2024-05-03T11:50:26+08:00","updated_at":"2024-05-03T11:50:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72979b3eacab73fe4cc74e13b1e6f90e98f2d09d_c44785e9-f760-43e5-8bb1-4d65460be60e.webp?v=1714708226","variant_ids":[41882179010659]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875982786659,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72979b3eacab73fe4cc74e13b1e6f90e98f2d09d_c44785e9-f760-43e5-8bb1-4d65460be60e.webp?v=1714708226"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20aba9e0e1831efdc4a7d25ad93385d1c3d3a588_c227fb02-59df-44b4-b872-d27358b92703.webp?v=1714708223","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72979b3eacab73fe4cc74e13b1e6f90e98f2d09d_c44785e9-f760-43e5-8bb1-4d65460be60e.webp?v=1714708226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d522ad7d4e65983fe3389b2d256e7d280da445d7_6584fd87-00d6-4588-ad2d-f27c16727920.webp?v=1714708228","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f39529246bcc4afa99d4379ab591fd0f3c1e3d_5ff37463-a85c-4187-b206-ccfdaea33609.webp?v=1714708231","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76bd4608a2f1ee85b70c50dc39ea37e66a00e208_9556b518-c731-4127-ba9e-e68bcdc7ae7b.webp?v=1714708234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8455eafba2b871ae5146627a51ec0178bf0ace2d_76af1472-f895-42ab-a662-308c850eb795.webp?v=1714708237","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd003bb42306aae3cdc325ee5858d47516aad18_d11f47dc-3cbb-4b5c-acab-43cc87888d89.webp?v=1714708239","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb680b88317e42a0ddc2ca2f22b7d2812ced4cf7_590f398a-2c5d-4f08-a7d1-3322c2b75422.webp?v=1714708242","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17bf66671ed912cfedfe44a47b852389e4a8668e_4f61cb0e-541a-44d6-911e-449530855d44.webp?v=1714708245","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1a3e60c522276c7380dedac069e7105f0a89b9_72dc0a0e-8702-401b-aa0d-a008698f2f1b.webp?v=1714708247"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20aba9e0e1831efdc4a7d25ad93385d1c3d3a588_c227fb02-59df-44b4-b872-d27358b92703.webp?v=1714708223","options":["color"],"media":[{"alt":null,"id":23875982098531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20aba9e0e1831efdc4a7d25ad93385d1c3d3a588_c227fb02-59df-44b4-b872-d27358b92703.webp?v=1714708223"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20aba9e0e1831efdc4a7d25ad93385d1c3d3a588_c227fb02-59df-44b4-b872-d27358b92703.webp?v=1714708223","width":2000},{"alt":null,"id":23875982786659,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72979b3eacab73fe4cc74e13b1e6f90e98f2d09d_c44785e9-f760-43e5-8bb1-4d65460be60e.webp?v=1714708226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72979b3eacab73fe4cc74e13b1e6f90e98f2d09d_c44785e9-f760-43e5-8bb1-4d65460be60e.webp?v=1714708226","width":2000},{"alt":null,"id":23875983245411,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d522ad7d4e65983fe3389b2d256e7d280da445d7_6584fd87-00d6-4588-ad2d-f27c16727920.webp?v=1714708228"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d522ad7d4e65983fe3389b2d256e7d280da445d7_6584fd87-00d6-4588-ad2d-f27c16727920.webp?v=1714708228","width":2000},{"alt":null,"id":23875984162915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f39529246bcc4afa99d4379ab591fd0f3c1e3d_5ff37463-a85c-4187-b206-ccfdaea33609.webp?v=1714708231"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f39529246bcc4afa99d4379ab591fd0f3c1e3d_5ff37463-a85c-4187-b206-ccfdaea33609.webp?v=1714708231","width":2000},{"alt":null,"id":23875984621667,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76bd4608a2f1ee85b70c50dc39ea37e66a00e208_9556b518-c731-4127-ba9e-e68bcdc7ae7b.webp?v=1714708234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76bd4608a2f1ee85b70c50dc39ea37e66a00e208_9556b518-c731-4127-ba9e-e68bcdc7ae7b.webp?v=1714708234","width":2000},{"alt":null,"id":23875985211491,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8455eafba2b871ae5146627a51ec0178bf0ace2d_76af1472-f895-42ab-a662-308c850eb795.webp?v=1714708237"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8455eafba2b871ae5146627a51ec0178bf0ace2d_76af1472-f895-42ab-a662-308c850eb795.webp?v=1714708237","width":2000},{"alt":null,"id":23875985670243,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd003bb42306aae3cdc325ee5858d47516aad18_d11f47dc-3cbb-4b5c-acab-43cc87888d89.webp?v=1714708239"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd003bb42306aae3cdc325ee5858d47516aad18_d11f47dc-3cbb-4b5c-acab-43cc87888d89.webp?v=1714708239","width":2000},{"alt":null,"id":23875986227299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb680b88317e42a0ddc2ca2f22b7d2812ced4cf7_590f398a-2c5d-4f08-a7d1-3322c2b75422.webp?v=1714708242"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb680b88317e42a0ddc2ca2f22b7d2812ced4cf7_590f398a-2c5d-4f08-a7d1-3322c2b75422.webp?v=1714708242","width":2000},{"alt":null,"id":23875986718819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17bf66671ed912cfedfe44a47b852389e4a8668e_4f61cb0e-541a-44d6-911e-449530855d44.webp?v=1714708245"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17bf66671ed912cfedfe44a47b852389e4a8668e_4f61cb0e-541a-44d6-911e-449530855d44.webp?v=1714708245","width":2000},{"alt":null,"id":23875987308643,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1a3e60c522276c7380dedac069e7105f0a89b9_72dc0a0e-8702-401b-aa0d-a008698f2f1b.webp?v=1714708247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1a3e60c522276c7380dedac069e7105f0a89b9_72dc0a0e-8702-401b-aa0d-a008698f2f1b.webp?v=1714708247","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41882178650211,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31471080603747,"product_id":7408055418979,"position":7,"created_at":"2024-05-03T11:50:39+08:00","updated_at":"2024-05-03T11:50:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd003bb42306aae3cdc325ee5858d47516aad18_d11f47dc-3cbb-4b5c-acab-43cc87888d89.webp?v=1714708239","variant_ids":[41882178650211]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875985670243,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd003bb42306aae3cdc325ee5858d47516aad18_d11f47dc-3cbb-4b5c-acab-43cc87888d89.webp?v=1714708239"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882178748515,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31471081652323,"product_id":7408055418979,"position":9,"created_at":"2024-05-03T11:50:45+08:00","updated_at":"2024-05-03T11:50:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17bf66671ed912cfedfe44a47b852389e4a8668e_4f61cb0e-541a-44d6-911e-449530855d44.webp?v=1714708245","variant_ids":[41882178748515]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875986718819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17bf66671ed912cfedfe44a47b852389e4a8668e_4f61cb0e-541a-44d6-911e-449530855d44.webp?v=1714708245"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882179010659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31471077720163,"product_id":7408055418979,"position":2,"created_at":"2024-05-03T11:50:26+08:00","updated_at":"2024-05-03T11:50:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72979b3eacab73fe4cc74e13b1e6f90e98f2d09d_c44785e9-f760-43e5-8bb1-4d65460be60e.webp?v=1714708226","variant_ids":[41882179010659]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875982786659,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72979b3eacab73fe4cc74e13b1e6f90e98f2d09d_c44785e9-f760-43e5-8bb1-4d65460be60e.webp?v=1714708226"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41882178650211,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31471080603747,"product_id":7408055418979,"position":7,"created_at":"2024-05-03T11:50:39+08:00","updated_at":"2024-05-03T11:50:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd003bb42306aae3cdc325ee5858d47516aad18_d11f47dc-3cbb-4b5c-acab-43cc87888d89.webp?v=1714708239","variant_ids":[41882178650211]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875985670243,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd003bb42306aae3cdc325ee5858d47516aad18_d11f47dc-3cbb-4b5c-acab-43cc87888d89.webp?v=1714708239"}},"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: "停產"
}