$product = {"id":7407934570595,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026尤達-剪紙系列","handle":"iphone-14-pro-mod-nx-printable-pb54","description":null,"published_at":"2024-06-11T16:26:58+08:00","created_at":"2024-05-03T11:18: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":41880724308067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB54","requires_shipping":true,"taxable":true,"featured_image":{"id":31470736736355,"product_id":7407934570595,"position":2,"created_at":"2024-05-03T11:18:57+08:00","updated_at":"2024-05-03T11:18:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9997af7fff0bce9f50f6a532a8d38b1a9589ee18_6240af47-7331-4940-b205-280617d50609.webp?v=1714706337","variant_ids":[41880724308067]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026尤達-剪紙系列 - 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-PB54","featured_media":{"alt":null,"id":23875640852579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9997af7fff0bce9f50f6a532a8d38b1a9589ee18_6240af47-7331-4940-b205-280617d50609.webp?v=1714706337"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880724373603,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB54","requires_shipping":true,"taxable":true,"featured_image":{"id":31470737162339,"product_id":7407934570595,"position":3,"created_at":"2024-05-03T11:19:00+08:00","updated_at":"2024-05-03T11:19:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0179a2c66e9c0a1f8bc4c2d5a54600550780f6_ecd3d799-6f7b-475c-b500-5c3173892001.webp?v=1714706340","variant_ids":[41880724373603]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026尤達-剪紙系列 - 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-PB54","featured_media":{"alt":null,"id":23875641278563,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0179a2c66e9c0a1f8bc4c2d5a54600550780f6_ecd3d799-6f7b-475c-b500-5c3173892001.webp?v=1714706340"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880724602979,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB54","requires_shipping":true,"taxable":true,"featured_image":{"id":31470739980387,"product_id":7407934570595,"position":8,"created_at":"2024-05-03T11:19:11+08:00","updated_at":"2024-05-03T11:19:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/226514c8740b6d3a4367d30da015b1535a177970_3cafe76a-987f-4ad2-84a4-45995630a647.webp?v=1714706351","variant_ids":[41880724602979]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026尤達-剪紙系列 - 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-PB54","featured_media":{"alt":null,"id":23875644096611,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/226514c8740b6d3a4367d30da015b1535a177970_3cafe76a-987f-4ad2-84a4-45995630a647.webp?v=1714706351"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6027d83783e540850205797378fa8fb46ae4a7dd_b063e03d-eb1f-427b-a879-1ba856298662.webp?v=1714706335","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9997af7fff0bce9f50f6a532a8d38b1a9589ee18_6240af47-7331-4940-b205-280617d50609.webp?v=1714706337","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0179a2c66e9c0a1f8bc4c2d5a54600550780f6_ecd3d799-6f7b-475c-b500-5c3173892001.webp?v=1714706340","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07dce444e189bc2452ee32911ffafdbdd117e80b_57ab85fc-fa9f-421d-bf65-3b4447d0df93.webp?v=1714706342","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae9916536d83a716b6768cbcb9ddcd8ccb198b3_7f1f6bb7-12ac-4ecc-8cc1-a9f1012f5064.webp?v=1714706344","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54f3efb61fcbb480e05c3abf3aa9d3a7fe03a63b_ebadb279-2faf-431c-8cda-3b78606bda02.webp?v=1714706346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b1948a0e13407b7b61a65ef2bd321b51abf7e6_e247d099-9b53-4c34-b939-d8c16473f2a0.webp?v=1714706348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/226514c8740b6d3a4367d30da015b1535a177970_3cafe76a-987f-4ad2-84a4-45995630a647.webp?v=1714706351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8de1eac0da99d7f70719359eb542a86fccc30100_3197964e-7836-4062-9aea-5a91332cbbbe.webp?v=1714706353","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2971ace60ff54d8755e885e273f41cbe2fe0cbe1_f58c9757-4274-4180-83f1-dca1df08412d.webp?v=1714706355"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6027d83783e540850205797378fa8fb46ae4a7dd_b063e03d-eb1f-427b-a879-1ba856298662.webp?v=1714706335","options":["color"],"media":[{"alt":null,"id":23875640328291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6027d83783e540850205797378fa8fb46ae4a7dd_b063e03d-eb1f-427b-a879-1ba856298662.webp?v=1714706335"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6027d83783e540850205797378fa8fb46ae4a7dd_b063e03d-eb1f-427b-a879-1ba856298662.webp?v=1714706335","width":2000},{"alt":null,"id":23875640852579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9997af7fff0bce9f50f6a532a8d38b1a9589ee18_6240af47-7331-4940-b205-280617d50609.webp?v=1714706337"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9997af7fff0bce9f50f6a532a8d38b1a9589ee18_6240af47-7331-4940-b205-280617d50609.webp?v=1714706337","width":2000},{"alt":null,"id":23875641278563,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0179a2c66e9c0a1f8bc4c2d5a54600550780f6_ecd3d799-6f7b-475c-b500-5c3173892001.webp?v=1714706340"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0179a2c66e9c0a1f8bc4c2d5a54600550780f6_ecd3d799-6f7b-475c-b500-5c3173892001.webp?v=1714706340","width":2000},{"alt":null,"id":23875642032227,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07dce444e189bc2452ee32911ffafdbdd117e80b_57ab85fc-fa9f-421d-bf65-3b4447d0df93.webp?v=1714706342"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07dce444e189bc2452ee32911ffafdbdd117e80b_57ab85fc-fa9f-421d-bf65-3b4447d0df93.webp?v=1714706342","width":2000},{"alt":null,"id":23875642458211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae9916536d83a716b6768cbcb9ddcd8ccb198b3_7f1f6bb7-12ac-4ecc-8cc1-a9f1012f5064.webp?v=1714706344"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae9916536d83a716b6768cbcb9ddcd8ccb198b3_7f1f6bb7-12ac-4ecc-8cc1-a9f1012f5064.webp?v=1714706344","width":2000},{"alt":null,"id":23875643080803,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54f3efb61fcbb480e05c3abf3aa9d3a7fe03a63b_ebadb279-2faf-431c-8cda-3b78606bda02.webp?v=1714706346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54f3efb61fcbb480e05c3abf3aa9d3a7fe03a63b_ebadb279-2faf-431c-8cda-3b78606bda02.webp?v=1714706346","width":2000},{"alt":null,"id":23875643670627,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b1948a0e13407b7b61a65ef2bd321b51abf7e6_e247d099-9b53-4c34-b939-d8c16473f2a0.webp?v=1714706348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b1948a0e13407b7b61a65ef2bd321b51abf7e6_e247d099-9b53-4c34-b939-d8c16473f2a0.webp?v=1714706348","width":2000},{"alt":null,"id":23875644096611,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/226514c8740b6d3a4367d30da015b1535a177970_3cafe76a-987f-4ad2-84a4-45995630a647.webp?v=1714706351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/226514c8740b6d3a4367d30da015b1535a177970_3cafe76a-987f-4ad2-84a4-45995630a647.webp?v=1714706351","width":2000},{"alt":null,"id":23875644784739,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8de1eac0da99d7f70719359eb542a86fccc30100_3197964e-7836-4062-9aea-5a91332cbbbe.webp?v=1714706353"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8de1eac0da99d7f70719359eb542a86fccc30100_3197964e-7836-4062-9aea-5a91332cbbbe.webp?v=1714706353","width":2000},{"alt":null,"id":23875645341795,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2971ace60ff54d8755e885e273f41cbe2fe0cbe1_f58c9757-4274-4180-83f1-dca1df08412d.webp?v=1714706355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2971ace60ff54d8755e885e273f41cbe2fe0cbe1_f58c9757-4274-4180-83f1-dca1df08412d.webp?v=1714706355","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41880724308067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB54","requires_shipping":true,"taxable":true,"featured_image":{"id":31470736736355,"product_id":7407934570595,"position":2,"created_at":"2024-05-03T11:18:57+08:00","updated_at":"2024-05-03T11:18:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9997af7fff0bce9f50f6a532a8d38b1a9589ee18_6240af47-7331-4940-b205-280617d50609.webp?v=1714706337","variant_ids":[41880724308067]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026尤達-剪紙系列 - 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-PB54","featured_media":{"alt":null,"id":23875640852579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9997af7fff0bce9f50f6a532a8d38b1a9589ee18_6240af47-7331-4940-b205-280617d50609.webp?v=1714706337"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880724373603,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB54","requires_shipping":true,"taxable":true,"featured_image":{"id":31470737162339,"product_id":7407934570595,"position":3,"created_at":"2024-05-03T11:19:00+08:00","updated_at":"2024-05-03T11:19:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0179a2c66e9c0a1f8bc4c2d5a54600550780f6_ecd3d799-6f7b-475c-b500-5c3173892001.webp?v=1714706340","variant_ids":[41880724373603]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026尤達-剪紙系列 - 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-PB54","featured_media":{"alt":null,"id":23875641278563,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0179a2c66e9c0a1f8bc4c2d5a54600550780f6_ecd3d799-6f7b-475c-b500-5c3173892001.webp?v=1714706340"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880724602979,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB54","requires_shipping":true,"taxable":true,"featured_image":{"id":31470739980387,"product_id":7407934570595,"position":8,"created_at":"2024-05-03T11:19:11+08:00","updated_at":"2024-05-03T11:19:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/226514c8740b6d3a4367d30da015b1535a177970_3cafe76a-987f-4ad2-84a4-45995630a647.webp?v=1714706351","variant_ids":[41880724602979]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026尤達-剪紙系列 - 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-PB54","featured_media":{"alt":null,"id":23875644096611,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/226514c8740b6d3a4367d30da015b1535a177970_3cafe76a-987f-4ad2-84a4-45995630a647.webp?v=1714706351"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41880724308067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB54","requires_shipping":true,"taxable":true,"featured_image":{"id":31470736736355,"product_id":7407934570595,"position":2,"created_at":"2024-05-03T11:18:57+08:00","updated_at":"2024-05-03T11:18:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9997af7fff0bce9f50f6a532a8d38b1a9589ee18_6240af47-7331-4940-b205-280617d50609.webp?v=1714706337","variant_ids":[41880724308067]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026尤達-剪紙系列 - 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-PB54","featured_media":{"alt":null,"id":23875640852579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9997af7fff0bce9f50f6a532a8d38b1a9589ee18_6240af47-7331-4940-b205-280617d50609.webp?v=1714706337"}},"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: "停產"
}