$product = {"id":7407978807395,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列","handle":"iphone-14-pro-mod-nx-printable-pb58","description":null,"published_at":"2024-06-11T16:28:10+08:00","created_at":"2024-05-03T11:27:37+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":41881310363747,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31470858502243,"product_id":7407978807395,"position":3,"created_at":"2024-05-03T11:27:43+08:00","updated_at":"2024-05-03T11:27:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31d9876f2007f0f084ff4a6ddd72ab0c87dfe6be_c50f6dca-f516-4b70-9fe7-3a32961c3159.webp?v=1714706863","variant_ids":[41881310363747]},"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-PB58","featured_media":{"alt":null,"id":23875763142755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31d9876f2007f0f084ff4a6ddd72ab0c87dfe6be_c50f6dca-f516-4b70-9fe7-3a32961c3159.webp?v=1714706863"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881310429283,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31470862827619,"product_id":7407978807395,"position":10,"created_at":"2024-05-03T11:27:59+08:00","updated_at":"2024-05-03T11:27:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca0e3e0800607198c09588ed69e524576781e432_34a987f3-8d93-4814-9907-d382d16bccab.webp?v=1714706879","variant_ids":[41881310429283]},"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-PB58","featured_media":{"alt":null,"id":23875767468131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca0e3e0800607198c09588ed69e524576781e432_34a987f3-8d93-4814-9907-d382d16bccab.webp?v=1714706879"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881310658659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31470857519203,"product_id":7407978807395,"position":1,"created_at":"2024-05-03T11:27:39+08:00","updated_at":"2024-05-03T11:27:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9674b9a280918114bb7e4b98d0ba51db65fca36_b6599515-046c-46a3-8aa8-f95282c3e1b1.webp?v=1714706859","variant_ids":[41881310658659]},"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-PB58","featured_media":{"alt":null,"id":23875762094179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9674b9a280918114bb7e4b98d0ba51db65fca36_b6599515-046c-46a3-8aa8-f95282c3e1b1.webp?v=1714706859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9674b9a280918114bb7e4b98d0ba51db65fca36_b6599515-046c-46a3-8aa8-f95282c3e1b1.webp?v=1714706859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae25a905af49022438a797988a4bdb9e330c10a_14caad01-f6d1-4d08-94e8-004521b0e556.webp?v=1714706861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31d9876f2007f0f084ff4a6ddd72ab0c87dfe6be_c50f6dca-f516-4b70-9fe7-3a32961c3159.webp?v=1714706863","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64e14af3fb610b18fdd48ec875b2ce2cf78fa51a_ef7545e9-6f67-4341-9491-0186caf86d11.webp?v=1714706865","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a44628fb1a98b424e2c2cfbbfd1853543fcad5ec_3112092b-cb37-4366-a184-38b0d8f45139.webp?v=1714706867","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39ccc36bb95ed9d068505bea5c7ab256974b7c61_0630f95d-6fa9-4e17-bbf5-7c7d07450373.webp?v=1714706870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/977526638a37366ea9b868f737b8912ace9fd419_bea27f9e-45f0-4b7e-81ca-1732ec571930.webp?v=1714706872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83ef491aa5bb6ac39602540bc8010e53775a3cd0_41cf0e36-925b-4cef-9230-803a97f9030b.webp?v=1714706874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f793a9f48110d3291be7c7dab74396ac0909438_c051bbc7-3cc5-41cd-83b7-0e079be43398.webp?v=1714706877","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca0e3e0800607198c09588ed69e524576781e432_34a987f3-8d93-4814-9907-d382d16bccab.webp?v=1714706879"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9674b9a280918114bb7e4b98d0ba51db65fca36_b6599515-046c-46a3-8aa8-f95282c3e1b1.webp?v=1714706859","options":["color"],"media":[{"alt":null,"id":23875762094179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9674b9a280918114bb7e4b98d0ba51db65fca36_b6599515-046c-46a3-8aa8-f95282c3e1b1.webp?v=1714706859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9674b9a280918114bb7e4b98d0ba51db65fca36_b6599515-046c-46a3-8aa8-f95282c3e1b1.webp?v=1714706859","width":2000},{"alt":null,"id":23875762552931,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae25a905af49022438a797988a4bdb9e330c10a_14caad01-f6d1-4d08-94e8-004521b0e556.webp?v=1714706861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae25a905af49022438a797988a4bdb9e330c10a_14caad01-f6d1-4d08-94e8-004521b0e556.webp?v=1714706861","width":2000},{"alt":null,"id":23875763142755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31d9876f2007f0f084ff4a6ddd72ab0c87dfe6be_c50f6dca-f516-4b70-9fe7-3a32961c3159.webp?v=1714706863"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31d9876f2007f0f084ff4a6ddd72ab0c87dfe6be_c50f6dca-f516-4b70-9fe7-3a32961c3159.webp?v=1714706863","width":2000},{"alt":null,"id":23875763470435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64e14af3fb610b18fdd48ec875b2ce2cf78fa51a_ef7545e9-6f67-4341-9491-0186caf86d11.webp?v=1714706865"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64e14af3fb610b18fdd48ec875b2ce2cf78fa51a_ef7545e9-6f67-4341-9491-0186caf86d11.webp?v=1714706865","width":2000},{"alt":null,"id":23875764158563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a44628fb1a98b424e2c2cfbbfd1853543fcad5ec_3112092b-cb37-4366-a184-38b0d8f45139.webp?v=1714706867"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a44628fb1a98b424e2c2cfbbfd1853543fcad5ec_3112092b-cb37-4366-a184-38b0d8f45139.webp?v=1714706867","width":2000},{"alt":null,"id":23875764617315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39ccc36bb95ed9d068505bea5c7ab256974b7c61_0630f95d-6fa9-4e17-bbf5-7c7d07450373.webp?v=1714706870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39ccc36bb95ed9d068505bea5c7ab256974b7c61_0630f95d-6fa9-4e17-bbf5-7c7d07450373.webp?v=1714706870","width":2000},{"alt":null,"id":23875765043299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/977526638a37366ea9b868f737b8912ace9fd419_bea27f9e-45f0-4b7e-81ca-1732ec571930.webp?v=1714706872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/977526638a37366ea9b868f737b8912ace9fd419_bea27f9e-45f0-4b7e-81ca-1732ec571930.webp?v=1714706872","width":2000},{"alt":null,"id":23875765502051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83ef491aa5bb6ac39602540bc8010e53775a3cd0_41cf0e36-925b-4cef-9230-803a97f9030b.webp?v=1714706874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83ef491aa5bb6ac39602540bc8010e53775a3cd0_41cf0e36-925b-4cef-9230-803a97f9030b.webp?v=1714706874","width":2000},{"alt":null,"id":23875765928035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f793a9f48110d3291be7c7dab74396ac0909438_c051bbc7-3cc5-41cd-83b7-0e079be43398.webp?v=1714706877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f793a9f48110d3291be7c7dab74396ac0909438_c051bbc7-3cc5-41cd-83b7-0e079be43398.webp?v=1714706877","width":2000},{"alt":null,"id":23875767468131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca0e3e0800607198c09588ed69e524576781e432_34a987f3-8d93-4814-9907-d382d16bccab.webp?v=1714706879"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca0e3e0800607198c09588ed69e524576781e432_34a987f3-8d93-4814-9907-d382d16bccab.webp?v=1714706879","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41881310363747,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31470858502243,"product_id":7407978807395,"position":3,"created_at":"2024-05-03T11:27:43+08:00","updated_at":"2024-05-03T11:27:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31d9876f2007f0f084ff4a6ddd72ab0c87dfe6be_c50f6dca-f516-4b70-9fe7-3a32961c3159.webp?v=1714706863","variant_ids":[41881310363747]},"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-PB58","featured_media":{"alt":null,"id":23875763142755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31d9876f2007f0f084ff4a6ddd72ab0c87dfe6be_c50f6dca-f516-4b70-9fe7-3a32961c3159.webp?v=1714706863"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881310429283,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31470862827619,"product_id":7407978807395,"position":10,"created_at":"2024-05-03T11:27:59+08:00","updated_at":"2024-05-03T11:27:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca0e3e0800607198c09588ed69e524576781e432_34a987f3-8d93-4814-9907-d382d16bccab.webp?v=1714706879","variant_ids":[41881310429283]},"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-PB58","featured_media":{"alt":null,"id":23875767468131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca0e3e0800607198c09588ed69e524576781e432_34a987f3-8d93-4814-9907-d382d16bccab.webp?v=1714706879"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881310658659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31470857519203,"product_id":7407978807395,"position":1,"created_at":"2024-05-03T11:27:39+08:00","updated_at":"2024-05-03T11:27:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9674b9a280918114bb7e4b98d0ba51db65fca36_b6599515-046c-46a3-8aa8-f95282c3e1b1.webp?v=1714706859","variant_ids":[41881310658659]},"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-PB58","featured_media":{"alt":null,"id":23875762094179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9674b9a280918114bb7e4b98d0ba51db65fca36_b6599515-046c-46a3-8aa8-f95282c3e1b1.webp?v=1714706859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41881310363747,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31470858502243,"product_id":7407978807395,"position":3,"created_at":"2024-05-03T11:27:43+08:00","updated_at":"2024-05-03T11:27:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31d9876f2007f0f084ff4a6ddd72ab0c87dfe6be_c50f6dca-f516-4b70-9fe7-3a32961c3159.webp?v=1714706863","variant_ids":[41881310363747]},"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-PB58","featured_media":{"alt":null,"id":23875763142755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31d9876f2007f0f084ff4a6ddd72ab0c87dfe6be_c50f6dca-f516-4b70-9fe7-3a32961c3159.webp?v=1714706863"}},"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: "停產"
}