$product = {"id":7414565372003,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 黑武士-溜溜球炫技-幽默系列","handle":"iphone-13-mini-mod-nx-magsafe-printable-pc11","description":null,"published_at":"2024-06-11T17:52:05+08:00","created_at":"2024-05-05T14:30:44+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41907403980899,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PC11","requires_shipping":true,"taxable":true,"featured_image":{"id":31485777838179,"product_id":7414565372003,"position":8,"created_at":"2024-05-05T14:31:01+08:00","updated_at":"2024-05-05T14:31:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd929ae95223f3f6464f9ebfa791463170a1e651_d966e85e-02e4-438c-b99e-af7555ec52f3.webp?v=1714890661","variant_ids":[41907403980899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 黑武士-溜溜球炫技-幽默系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-PC11","featured_media":{"alt":null,"id":23891108036707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd929ae95223f3f6464f9ebfa791463170a1e651_d966e85e-02e4-438c-b99e-af7555ec52f3.webp?v=1714890661"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907404046435,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PC11","requires_shipping":true,"taxable":true,"featured_image":{"id":31485766860899,"product_id":7414565372003,"position":2,"created_at":"2024-05-05T14:30:48+08:00","updated_at":"2024-05-05T14:30:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11bea12d5226d6ccf97412a8de8ca45ec9a202b5_4ebccd29-e801-43f9-9742-8c62a9295f74.webp?v=1714890648","variant_ids":[41907404046435]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 黑武士-溜溜球炫技-幽默系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-PC11","featured_media":{"alt":null,"id":23891096797283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11bea12d5226d6ccf97412a8de8ca45ec9a202b5_4ebccd29-e801-43f9-9742-8c62a9295f74.webp?v=1714890648"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907404275811,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PC11","requires_shipping":true,"taxable":true,"featured_image":{"id":31485775937635,"product_id":7414565372003,"position":7,"created_at":"2024-05-05T14:30:59+08:00","updated_at":"2024-05-05T14:30:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c95d4b213af62f095bfae94b1ed22de8f235fb1e_6225a57c-ce15-4b82-affa-b19d2342dc28.webp?v=1714890659","variant_ids":[41907404275811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 黑武士-溜溜球炫技-幽默系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-PC11","featured_media":{"alt":null,"id":23891106398307,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c95d4b213af62f095bfae94b1ed22de8f235fb1e_6225a57c-ce15-4b82-affa-b19d2342dc28.webp?v=1714890659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c4ec8c895976dfca694e361482cb97c9c1dd54_fac34a8b-0224-4a3f-b645-d5071e050664.webp?v=1714890646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11bea12d5226d6ccf97412a8de8ca45ec9a202b5_4ebccd29-e801-43f9-9742-8c62a9295f74.webp?v=1714890648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/927d4120f57fdb97b036029ba9c6185e3116b0bb_ac13ba62-d073-44c0-ab5a-f1542249cbf2.webp?v=1714890650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c86e288034c6424f68d29059f3e8e866fa95bcf6_dc4a790c-7d46-4911-b832-c4982598bd6a.webp?v=1714890653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09038a2e22fcb5024692a579ec006b0ab91fd3a0_c4589002-382c-4cbf-b537-f812d7bef289.webp?v=1714890655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/044be5acef5c310f76f41cf73a821a10a9f78401_b51f7858-a2a8-46db-abd4-69b9290f9aa8.webp?v=1714890657","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c95d4b213af62f095bfae94b1ed22de8f235fb1e_6225a57c-ce15-4b82-affa-b19d2342dc28.webp?v=1714890659","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd929ae95223f3f6464f9ebfa791463170a1e651_d966e85e-02e4-438c-b99e-af7555ec52f3.webp?v=1714890661","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb47f0e59c9ee765c9552bc91169b4e915fc2cf0_69d98d68-195a-4265-bb6b-ed645c115a61.webp?v=1714890664","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15c052400dde1a776fa671c61372e8060320872_89531e78-113f-4203-97ec-91e0103a8250.webp?v=1714890666"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c4ec8c895976dfca694e361482cb97c9c1dd54_fac34a8b-0224-4a3f-b645-d5071e050664.webp?v=1714890646","options":["color"],"media":[{"alt":null,"id":23891094929507,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c4ec8c895976dfca694e361482cb97c9c1dd54_fac34a8b-0224-4a3f-b645-d5071e050664.webp?v=1714890646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c4ec8c895976dfca694e361482cb97c9c1dd54_fac34a8b-0224-4a3f-b645-d5071e050664.webp?v=1714890646","width":2000},{"alt":null,"id":23891096797283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11bea12d5226d6ccf97412a8de8ca45ec9a202b5_4ebccd29-e801-43f9-9742-8c62a9295f74.webp?v=1714890648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11bea12d5226d6ccf97412a8de8ca45ec9a202b5_4ebccd29-e801-43f9-9742-8c62a9295f74.webp?v=1714890648","width":2000},{"alt":null,"id":23891098632291,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/927d4120f57fdb97b036029ba9c6185e3116b0bb_ac13ba62-d073-44c0-ab5a-f1542249cbf2.webp?v=1714890650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/927d4120f57fdb97b036029ba9c6185e3116b0bb_ac13ba62-d073-44c0-ab5a-f1542249cbf2.webp?v=1714890650","width":2000},{"alt":null,"id":23891100598371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c86e288034c6424f68d29059f3e8e866fa95bcf6_dc4a790c-7d46-4911-b832-c4982598bd6a.webp?v=1714890653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c86e288034c6424f68d29059f3e8e866fa95bcf6_dc4a790c-7d46-4911-b832-c4982598bd6a.webp?v=1714890653","width":2000},{"alt":null,"id":23891102597219,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09038a2e22fcb5024692a579ec006b0ab91fd3a0_c4589002-382c-4cbf-b537-f812d7bef289.webp?v=1714890655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09038a2e22fcb5024692a579ec006b0ab91fd3a0_c4589002-382c-4cbf-b537-f812d7bef289.webp?v=1714890655","width":2000},{"alt":null,"id":23891104432227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/044be5acef5c310f76f41cf73a821a10a9f78401_b51f7858-a2a8-46db-abd4-69b9290f9aa8.webp?v=1714890657"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/044be5acef5c310f76f41cf73a821a10a9f78401_b51f7858-a2a8-46db-abd4-69b9290f9aa8.webp?v=1714890657","width":2000},{"alt":null,"id":23891106398307,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c95d4b213af62f095bfae94b1ed22de8f235fb1e_6225a57c-ce15-4b82-affa-b19d2342dc28.webp?v=1714890659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c95d4b213af62f095bfae94b1ed22de8f235fb1e_6225a57c-ce15-4b82-affa-b19d2342dc28.webp?v=1714890659","width":2000},{"alt":null,"id":23891108036707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd929ae95223f3f6464f9ebfa791463170a1e651_d966e85e-02e4-438c-b99e-af7555ec52f3.webp?v=1714890661"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd929ae95223f3f6464f9ebfa791463170a1e651_d966e85e-02e4-438c-b99e-af7555ec52f3.webp?v=1714890661","width":2000},{"alt":null,"id":23891109412963,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb47f0e59c9ee765c9552bc91169b4e915fc2cf0_69d98d68-195a-4265-bb6b-ed645c115a61.webp?v=1714890664"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb47f0e59c9ee765c9552bc91169b4e915fc2cf0_69d98d68-195a-4265-bb6b-ed645c115a61.webp?v=1714890664","width":2000},{"alt":null,"id":23891110887523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15c052400dde1a776fa671c61372e8060320872_89531e78-113f-4203-97ec-91e0103a8250.webp?v=1714890666"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15c052400dde1a776fa671c61372e8060320872_89531e78-113f-4203-97ec-91e0103a8250.webp?v=1714890666","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41907403980899,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PC11","requires_shipping":true,"taxable":true,"featured_image":{"id":31485777838179,"product_id":7414565372003,"position":8,"created_at":"2024-05-05T14:31:01+08:00","updated_at":"2024-05-05T14:31:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd929ae95223f3f6464f9ebfa791463170a1e651_d966e85e-02e4-438c-b99e-af7555ec52f3.webp?v=1714890661","variant_ids":[41907403980899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 黑武士-溜溜球炫技-幽默系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-PC11","featured_media":{"alt":null,"id":23891108036707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd929ae95223f3f6464f9ebfa791463170a1e651_d966e85e-02e4-438c-b99e-af7555ec52f3.webp?v=1714890661"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907404046435,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PC11","requires_shipping":true,"taxable":true,"featured_image":{"id":31485766860899,"product_id":7414565372003,"position":2,"created_at":"2024-05-05T14:30:48+08:00","updated_at":"2024-05-05T14:30:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11bea12d5226d6ccf97412a8de8ca45ec9a202b5_4ebccd29-e801-43f9-9742-8c62a9295f74.webp?v=1714890648","variant_ids":[41907404046435]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 黑武士-溜溜球炫技-幽默系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-PC11","featured_media":{"alt":null,"id":23891096797283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11bea12d5226d6ccf97412a8de8ca45ec9a202b5_4ebccd29-e801-43f9-9742-8c62a9295f74.webp?v=1714890648"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907404275811,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PC11","requires_shipping":true,"taxable":true,"featured_image":{"id":31485775937635,"product_id":7414565372003,"position":7,"created_at":"2024-05-05T14:30:59+08:00","updated_at":"2024-05-05T14:30:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c95d4b213af62f095bfae94b1ed22de8f235fb1e_6225a57c-ce15-4b82-affa-b19d2342dc28.webp?v=1714890659","variant_ids":[41907404275811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 黑武士-溜溜球炫技-幽默系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-PC11","featured_media":{"alt":null,"id":23891106398307,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c95d4b213af62f095bfae94b1ed22de8f235fb1e_6225a57c-ce15-4b82-affa-b19d2342dc28.webp?v=1714890659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41907403980899,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PC11","requires_shipping":true,"taxable":true,"featured_image":{"id":31485777838179,"product_id":7414565372003,"position":8,"created_at":"2024-05-05T14:31:01+08:00","updated_at":"2024-05-05T14:31:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd929ae95223f3f6464f9ebfa791463170a1e651_d966e85e-02e4-438c-b99e-af7555ec52f3.webp?v=1714890661","variant_ids":[41907403980899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 黑武士-溜溜球炫技-幽默系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-PC11","featured_media":{"alt":null,"id":23891108036707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd929ae95223f3f6464f9ebfa791463170a1e651_d966e85e-02e4-438c-b99e-af7555ec52f3.webp?v=1714890661"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}