$product = {"id":7407965208675,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列","handle":"iphone-14-pro-mod-nx-printable-pb46","description":null,"published_at":"2024-06-11T16:27:48+08:00","created_at":"2024-05-03T11:24:53+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":41881124569187,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31470823997539,"product_id":7407965208675,"position":10,"created_at":"2024-05-03T11:25:16+08:00","updated_at":"2024-05-03T11:25:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701031f7812c4736724b71d6d446bed955070454_5e6d7617-8793-457d-bb09-47b1646e9624.webp?v=1714706716","variant_ids":[41881124569187]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23875728441443,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701031f7812c4736724b71d6d446bed955070454_5e6d7617-8793-457d-bb09-47b1646e9624.webp?v=1714706716"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881124667491,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31470822522979,"product_id":7407965208675,"position":7,"created_at":"2024-05-03T11:25:09+08:00","updated_at":"2024-05-03T11:25:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dba87695d584d14c3b13da8e1dfc36f04c29c32_7dbaa963-0ff2-4a8a-abbd-7b659fd44da4.webp?v=1714706709","variant_ids":[41881124667491]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23875726966883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dba87695d584d14c3b13da8e1dfc36f04c29c32_7dbaa963-0ff2-4a8a-abbd-7b659fd44da4.webp?v=1714706709"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881124896867,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31470822031459,"product_id":7407965208675,"position":6,"created_at":"2024-05-03T11:25:06+08:00","updated_at":"2024-05-03T11:25:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/100fbc28d37868d56f0abfce24e8eb62ecbadf4b_db4053a2-ce39-47ed-85e8-b402233baa2c.webp?v=1714706706","variant_ids":[41881124896867]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23875726540899,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/100fbc28d37868d56f0abfce24e8eb62ecbadf4b_db4053a2-ce39-47ed-85e8-b402233baa2c.webp?v=1714706706"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1537a150eab9e8d84e01debf89343d436c7cca_5575b970-6c1c-48d7-9e99-9750a1ce1e48.webp?v=1714706695","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d6dac21fcd23774e523a1a6717b0cb9920d55e5_216f6fa8-f1cd-41f7-9ad9-2f4a0665ae4c.webp?v=1714706697","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc35881b7fb145dca35ab110d8ad6300f85a3dcb_29751324-d310-4df8-92d1-57b91501621b.webp?v=1714706700","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/869523bd850079fd30d15d82fba967e12387dda9_8ce3e047-58fd-4d34-8f20-4c0de796fc84.webp?v=1714706702","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f1180e177d964c9bae8903565b559ce910bd2b_bee4adb2-0308-48f2-a670-a6c71799379c.webp?v=1714706704","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/100fbc28d37868d56f0abfce24e8eb62ecbadf4b_db4053a2-ce39-47ed-85e8-b402233baa2c.webp?v=1714706706","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dba87695d584d14c3b13da8e1dfc36f04c29c32_7dbaa963-0ff2-4a8a-abbd-7b659fd44da4.webp?v=1714706709","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b1840d369aa48803235164e40350a5ad3eda698_0378f923-427b-4f27-91ce-2b504fc7866c.webp?v=1714706711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/050c906e0f0f6509b88fb700e73dbf66df7e914e_c35943c2-49b3-4f69-85a9-495c910ecb4c.webp?v=1714706713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701031f7812c4736724b71d6d446bed955070454_5e6d7617-8793-457d-bb09-47b1646e9624.webp?v=1714706716"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1537a150eab9e8d84e01debf89343d436c7cca_5575b970-6c1c-48d7-9e99-9750a1ce1e48.webp?v=1714706695","options":["color"],"media":[{"alt":null,"id":23875723886691,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1537a150eab9e8d84e01debf89343d436c7cca_5575b970-6c1c-48d7-9e99-9750a1ce1e48.webp?v=1714706695"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1537a150eab9e8d84e01debf89343d436c7cca_5575b970-6c1c-48d7-9e99-9750a1ce1e48.webp?v=1714706695","width":2000},{"alt":null,"id":23875724542051,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d6dac21fcd23774e523a1a6717b0cb9920d55e5_216f6fa8-f1cd-41f7-9ad9-2f4a0665ae4c.webp?v=1714706697"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d6dac21fcd23774e523a1a6717b0cb9920d55e5_216f6fa8-f1cd-41f7-9ad9-2f4a0665ae4c.webp?v=1714706697","width":2000},{"alt":null,"id":23875724968035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc35881b7fb145dca35ab110d8ad6300f85a3dcb_29751324-d310-4df8-92d1-57b91501621b.webp?v=1714706700"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc35881b7fb145dca35ab110d8ad6300f85a3dcb_29751324-d310-4df8-92d1-57b91501621b.webp?v=1714706700","width":2000},{"alt":null,"id":23875725426787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/869523bd850079fd30d15d82fba967e12387dda9_8ce3e047-58fd-4d34-8f20-4c0de796fc84.webp?v=1714706702"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/869523bd850079fd30d15d82fba967e12387dda9_8ce3e047-58fd-4d34-8f20-4c0de796fc84.webp?v=1714706702","width":2000},{"alt":null,"id":23875725983843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f1180e177d964c9bae8903565b559ce910bd2b_bee4adb2-0308-48f2-a670-a6c71799379c.webp?v=1714706704"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f1180e177d964c9bae8903565b559ce910bd2b_bee4adb2-0308-48f2-a670-a6c71799379c.webp?v=1714706704","width":2000},{"alt":null,"id":23875726540899,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/100fbc28d37868d56f0abfce24e8eb62ecbadf4b_db4053a2-ce39-47ed-85e8-b402233baa2c.webp?v=1714706706"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/100fbc28d37868d56f0abfce24e8eb62ecbadf4b_db4053a2-ce39-47ed-85e8-b402233baa2c.webp?v=1714706706","width":2000},{"alt":null,"id":23875726966883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dba87695d584d14c3b13da8e1dfc36f04c29c32_7dbaa963-0ff2-4a8a-abbd-7b659fd44da4.webp?v=1714706709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dba87695d584d14c3b13da8e1dfc36f04c29c32_7dbaa963-0ff2-4a8a-abbd-7b659fd44da4.webp?v=1714706709","width":2000},{"alt":null,"id":23875727491171,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b1840d369aa48803235164e40350a5ad3eda698_0378f923-427b-4f27-91ce-2b504fc7866c.webp?v=1714706711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b1840d369aa48803235164e40350a5ad3eda698_0378f923-427b-4f27-91ce-2b504fc7866c.webp?v=1714706711","width":2000},{"alt":null,"id":23875727982691,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/050c906e0f0f6509b88fb700e73dbf66df7e914e_c35943c2-49b3-4f69-85a9-495c910ecb4c.webp?v=1714706713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/050c906e0f0f6509b88fb700e73dbf66df7e914e_c35943c2-49b3-4f69-85a9-495c910ecb4c.webp?v=1714706713","width":2000},{"alt":null,"id":23875728441443,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701031f7812c4736724b71d6d446bed955070454_5e6d7617-8793-457d-bb09-47b1646e9624.webp?v=1714706716"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701031f7812c4736724b71d6d446bed955070454_5e6d7617-8793-457d-bb09-47b1646e9624.webp?v=1714706716","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41881124569187,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31470823997539,"product_id":7407965208675,"position":10,"created_at":"2024-05-03T11:25:16+08:00","updated_at":"2024-05-03T11:25:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701031f7812c4736724b71d6d446bed955070454_5e6d7617-8793-457d-bb09-47b1646e9624.webp?v=1714706716","variant_ids":[41881124569187]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23875728441443,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701031f7812c4736724b71d6d446bed955070454_5e6d7617-8793-457d-bb09-47b1646e9624.webp?v=1714706716"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881124667491,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31470822522979,"product_id":7407965208675,"position":7,"created_at":"2024-05-03T11:25:09+08:00","updated_at":"2024-05-03T11:25:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dba87695d584d14c3b13da8e1dfc36f04c29c32_7dbaa963-0ff2-4a8a-abbd-7b659fd44da4.webp?v=1714706709","variant_ids":[41881124667491]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23875726966883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dba87695d584d14c3b13da8e1dfc36f04c29c32_7dbaa963-0ff2-4a8a-abbd-7b659fd44da4.webp?v=1714706709"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881124896867,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31470822031459,"product_id":7407965208675,"position":6,"created_at":"2024-05-03T11:25:06+08:00","updated_at":"2024-05-03T11:25:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/100fbc28d37868d56f0abfce24e8eb62ecbadf4b_db4053a2-ce39-47ed-85e8-b402233baa2c.webp?v=1714706706","variant_ids":[41881124896867]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23875726540899,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/100fbc28d37868d56f0abfce24e8eb62ecbadf4b_db4053a2-ce39-47ed-85e8-b402233baa2c.webp?v=1714706706"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41881124569187,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31470823997539,"product_id":7407965208675,"position":10,"created_at":"2024-05-03T11:25:16+08:00","updated_at":"2024-05-03T11:25:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701031f7812c4736724b71d6d446bed955070454_5e6d7617-8793-457d-bb09-47b1646e9624.webp?v=1714706716","variant_ids":[41881124569187]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23875728441443,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701031f7812c4736724b71d6d446bed955070454_5e6d7617-8793-457d-bb09-47b1646e9624.webp?v=1714706716"}},"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: "停產"
}