$product = {"id":7407861465187,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 天行者路克-復古系列","handle":"iphone-14-pro-mod-nx-printable-pb97","description":null,"published_at":"2024-06-11T16:24:53+08:00","created_at":"2024-05-03T11:04: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 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":41879762665571,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31470559592547,"product_id":7407861465187,"position":1,"created_at":"2024-05-03T11:04:37+08:00","updated_at":"2024-05-03T11:04:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b691f41155603e4a874065fcbb14ec2c96e69f0_b01cd0fd-a57f-4335-a76e-0ea52f6f6aac.webp?v=1714705477","variant_ids":[41879762665571]},"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-PB97","featured_media":{"alt":null,"id":23875463446627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b691f41155603e4a874065fcbb14ec2c96e69f0_b01cd0fd-a57f-4335-a76e-0ea52f6f6aac.webp?v=1714705477"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879762731107,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31470560870499,"product_id":7407861465187,"position":4,"created_at":"2024-05-03T11:04:45+08:00","updated_at":"2024-05-03T11:04:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4236e877cedcdf606ea75cc0cdaf7b37bde0d91d_fc403975-7926-4c4c-b64a-1dec822fab3a.webp?v=1714705485","variant_ids":[41879762731107]},"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-PB97","featured_media":{"alt":null,"id":23875464724579,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4236e877cedcdf606ea75cc0cdaf7b37bde0d91d_fc403975-7926-4c4c-b64a-1dec822fab3a.webp?v=1714705485"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879762960483,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31470562771043,"product_id":7407861465187,"position":8,"created_at":"2024-05-03T11:04:54+08:00","updated_at":"2024-05-03T11:04:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e0dff2e93e627729bf494c941ca628bba1abb04_cb44877e-ac59-432e-998b-9e72802ca2ea.webp?v=1714705494","variant_ids":[41879762960483]},"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-PB97","featured_media":{"alt":null,"id":23875466625123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e0dff2e93e627729bf494c941ca628bba1abb04_cb44877e-ac59-432e-998b-9e72802ca2ea.webp?v=1714705494"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b691f41155603e4a874065fcbb14ec2c96e69f0_b01cd0fd-a57f-4335-a76e-0ea52f6f6aac.webp?v=1714705477","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f780810e7916b54a63fbc686905499f9830e0521_53f18a82-bda9-4374-a76d-288bfe07ffe1.webp?v=1714705480","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44ef4e2f3a113352009b931a713604244a512e95_962402d7-6d8b-4751-ae4c-18b53a668378.webp?v=1714705482","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4236e877cedcdf606ea75cc0cdaf7b37bde0d91d_fc403975-7926-4c4c-b64a-1dec822fab3a.webp?v=1714705485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80a88fb4274cc66b7d15481165a94d04b8f9020f_40320efd-9c0d-4cc5-9733-6bbc592c5030.webp?v=1714705487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62db03e5e0e26451341a4e0067ad60f7e0f4965f_69ef136b-845d-44cf-9972-7bc6dc688a0c.webp?v=1714705490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d207f05cfe293b907423a7258bb2981936c724da_743eb8f5-ab9d-461a-ab57-f89b8fc6968f.webp?v=1714705492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e0dff2e93e627729bf494c941ca628bba1abb04_cb44877e-ac59-432e-998b-9e72802ca2ea.webp?v=1714705494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/126ecf54570f729521a5669da9f284bd0256f4da_33947b5b-94d4-4f7b-bfb5-cef089643c16.webp?v=1714705497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd92207acbe887b241a6d048dc51dbf6ffb4822_7e5d533e-61cf-4b32-91d4-d3bc3570b092.webp?v=1714705499"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b691f41155603e4a874065fcbb14ec2c96e69f0_b01cd0fd-a57f-4335-a76e-0ea52f6f6aac.webp?v=1714705477","options":["color"],"media":[{"alt":null,"id":23875463446627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b691f41155603e4a874065fcbb14ec2c96e69f0_b01cd0fd-a57f-4335-a76e-0ea52f6f6aac.webp?v=1714705477"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b691f41155603e4a874065fcbb14ec2c96e69f0_b01cd0fd-a57f-4335-a76e-0ea52f6f6aac.webp?v=1714705477","width":2000},{"alt":null,"id":23875463872611,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f780810e7916b54a63fbc686905499f9830e0521_53f18a82-bda9-4374-a76d-288bfe07ffe1.webp?v=1714705480"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f780810e7916b54a63fbc686905499f9830e0521_53f18a82-bda9-4374-a76d-288bfe07ffe1.webp?v=1714705480","width":2000},{"alt":null,"id":23875464331363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44ef4e2f3a113352009b931a713604244a512e95_962402d7-6d8b-4751-ae4c-18b53a668378.webp?v=1714705482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44ef4e2f3a113352009b931a713604244a512e95_962402d7-6d8b-4751-ae4c-18b53a668378.webp?v=1714705482","width":2000},{"alt":null,"id":23875464724579,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4236e877cedcdf606ea75cc0cdaf7b37bde0d91d_fc403975-7926-4c4c-b64a-1dec822fab3a.webp?v=1714705485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4236e877cedcdf606ea75cc0cdaf7b37bde0d91d_fc403975-7926-4c4c-b64a-1dec822fab3a.webp?v=1714705485","width":2000},{"alt":null,"id":23875465281635,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80a88fb4274cc66b7d15481165a94d04b8f9020f_40320efd-9c0d-4cc5-9733-6bbc592c5030.webp?v=1714705487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80a88fb4274cc66b7d15481165a94d04b8f9020f_40320efd-9c0d-4cc5-9733-6bbc592c5030.webp?v=1714705487","width":2000},{"alt":null,"id":23875465773155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62db03e5e0e26451341a4e0067ad60f7e0f4965f_69ef136b-845d-44cf-9972-7bc6dc688a0c.webp?v=1714705490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62db03e5e0e26451341a4e0067ad60f7e0f4965f_69ef136b-845d-44cf-9972-7bc6dc688a0c.webp?v=1714705490","width":2000},{"alt":null,"id":23875466100835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d207f05cfe293b907423a7258bb2981936c724da_743eb8f5-ab9d-461a-ab57-f89b8fc6968f.webp?v=1714705492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d207f05cfe293b907423a7258bb2981936c724da_743eb8f5-ab9d-461a-ab57-f89b8fc6968f.webp?v=1714705492","width":2000},{"alt":null,"id":23875466625123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e0dff2e93e627729bf494c941ca628bba1abb04_cb44877e-ac59-432e-998b-9e72802ca2ea.webp?v=1714705494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e0dff2e93e627729bf494c941ca628bba1abb04_cb44877e-ac59-432e-998b-9e72802ca2ea.webp?v=1714705494","width":2000},{"alt":null,"id":23875466952803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/126ecf54570f729521a5669da9f284bd0256f4da_33947b5b-94d4-4f7b-bfb5-cef089643c16.webp?v=1714705497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/126ecf54570f729521a5669da9f284bd0256f4da_33947b5b-94d4-4f7b-bfb5-cef089643c16.webp?v=1714705497","width":2000},{"alt":null,"id":23875467477091,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd92207acbe887b241a6d048dc51dbf6ffb4822_7e5d533e-61cf-4b32-91d4-d3bc3570b092.webp?v=1714705499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd92207acbe887b241a6d048dc51dbf6ffb4822_7e5d533e-61cf-4b32-91d4-d3bc3570b092.webp?v=1714705499","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41879762665571,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31470559592547,"product_id":7407861465187,"position":1,"created_at":"2024-05-03T11:04:37+08:00","updated_at":"2024-05-03T11:04:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b691f41155603e4a874065fcbb14ec2c96e69f0_b01cd0fd-a57f-4335-a76e-0ea52f6f6aac.webp?v=1714705477","variant_ids":[41879762665571]},"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-PB97","featured_media":{"alt":null,"id":23875463446627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b691f41155603e4a874065fcbb14ec2c96e69f0_b01cd0fd-a57f-4335-a76e-0ea52f6f6aac.webp?v=1714705477"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879762731107,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31470560870499,"product_id":7407861465187,"position":4,"created_at":"2024-05-03T11:04:45+08:00","updated_at":"2024-05-03T11:04:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4236e877cedcdf606ea75cc0cdaf7b37bde0d91d_fc403975-7926-4c4c-b64a-1dec822fab3a.webp?v=1714705485","variant_ids":[41879762731107]},"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-PB97","featured_media":{"alt":null,"id":23875464724579,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4236e877cedcdf606ea75cc0cdaf7b37bde0d91d_fc403975-7926-4c4c-b64a-1dec822fab3a.webp?v=1714705485"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879762960483,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31470562771043,"product_id":7407861465187,"position":8,"created_at":"2024-05-03T11:04:54+08:00","updated_at":"2024-05-03T11:04:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e0dff2e93e627729bf494c941ca628bba1abb04_cb44877e-ac59-432e-998b-9e72802ca2ea.webp?v=1714705494","variant_ids":[41879762960483]},"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-PB97","featured_media":{"alt":null,"id":23875466625123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e0dff2e93e627729bf494c941ca628bba1abb04_cb44877e-ac59-432e-998b-9e72802ca2ea.webp?v=1714705494"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41879762665571,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31470559592547,"product_id":7407861465187,"position":1,"created_at":"2024-05-03T11:04:37+08:00","updated_at":"2024-05-03T11:04:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b691f41155603e4a874065fcbb14ec2c96e69f0_b01cd0fd-a57f-4335-a76e-0ea52f6f6aac.webp?v=1714705477","variant_ids":[41879762665571]},"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-PB97","featured_media":{"alt":null,"id":23875463446627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b691f41155603e4a874065fcbb14ec2c96e69f0_b01cd0fd-a57f-4335-a76e-0ea52f6f6aac.webp?v=1714705477"}},"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: "停產"
}