$product = {"id":7408068657251,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白","handle":"iphone-13-mini-mod-nx-printable-pb16","description":null,"published_at":"2024-06-11T16:30:33+08:00","created_at":"2024-05-03T11:53:04+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 13 mini","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":41882322796643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31471109963875,"product_id":7408068657251,"position":2,"created_at":"2024-05-03T11:53:09+08:00","updated_at":"2024-05-03T11:53:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67a24edfe92c7dc959fe48bb2f8f334b2a7ad7b9_f2a8371f-b123-423d-8fce-cc8f845e23f1.webp?v=1714708389","variant_ids":[41882322796643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB0122824-PB16","featured_media":{"alt":null,"id":23876015161443,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67a24edfe92c7dc959fe48bb2f8f334b2a7ad7b9_f2a8371f-b123-423d-8fce-cc8f845e23f1.webp?v=1714708389"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882322862179,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31471111405667,"product_id":7408068657251,"position":5,"created_at":"2024-05-03T11:53:16+08:00","updated_at":"2024-05-03T11:53:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d56af2fd88b6429839e400c23199d823e5a127c2_f6016043-048a-4ee7-8c9d-29a78721fc69.webp?v=1714708396","variant_ids":[41882322862179]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB0122804-PB16","featured_media":{"alt":null,"id":23876016603235,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d56af2fd88b6429839e400c23199d823e5a127c2_f6016043-048a-4ee7-8c9d-29a78721fc69.webp?v=1714708396"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882323288163,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31471112552547,"product_id":7408068657251,"position":7,"created_at":"2024-05-03T11:53:21+08:00","updated_at":"2024-05-03T11:53:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be3da780a7dd673e54f5482ed67562fb04a9552d_feea7d2b-0d05-48a1-adcd-783cf7d957ea.webp?v=1714708401","variant_ids":[41882323288163]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB01228J5-PB16","featured_media":{"alt":null,"id":23876017750115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be3da780a7dd673e54f5482ed67562fb04a9552d_feea7d2b-0d05-48a1-adcd-783cf7d957ea.webp?v=1714708401"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d838ca1233de02e6225720a5b58432bc19362b_b38c292b-648c-49d0-90df-e3ebe8573814.webp?v=1714708386","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67a24edfe92c7dc959fe48bb2f8f334b2a7ad7b9_f2a8371f-b123-423d-8fce-cc8f845e23f1.webp?v=1714708389","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e5c9a0fb7667096129e4da17f3c4dda3bb01b06_e45d9b35-6375-4b30-9e80-9a5b479c63a8.webp?v=1714708391","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d57f93a6e74f6dc1bb0c71d11c54d71e50485b9_108cfbcb-1f50-4420-a3f6-ad149e924d88.webp?v=1714708394","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d56af2fd88b6429839e400c23199d823e5a127c2_f6016043-048a-4ee7-8c9d-29a78721fc69.webp?v=1714708396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87ba3d0b5591be05805b509047ff047f7c3d5d7f_7563c1cd-b3cc-4742-9e29-12ab482baa47.webp?v=1714708398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be3da780a7dd673e54f5482ed67562fb04a9552d_feea7d2b-0d05-48a1-adcd-783cf7d957ea.webp?v=1714708401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cce086984085056e621ac14a76393e6dbb4f60c_279e7c20-127f-4480-adcf-a50b82e2ab5b.webp?v=1714708403","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af94168e4ea0b2e7dc95a2a8893c80305e4c3316_f09b8267-087f-491e-981b-3f067d2f5e02.webp?v=1714708405","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4964254c450bf6e8e9e2f556384b2d6284f4bcad_24d706a2-f6ae-4377-9426-d99132dfaa55.webp?v=1714708408"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d838ca1233de02e6225720a5b58432bc19362b_b38c292b-648c-49d0-90df-e3ebe8573814.webp?v=1714708386","options":["color"],"media":[{"alt":null,"id":23876014309475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d838ca1233de02e6225720a5b58432bc19362b_b38c292b-648c-49d0-90df-e3ebe8573814.webp?v=1714708386"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d838ca1233de02e6225720a5b58432bc19362b_b38c292b-648c-49d0-90df-e3ebe8573814.webp?v=1714708386","width":2000},{"alt":null,"id":23876015161443,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67a24edfe92c7dc959fe48bb2f8f334b2a7ad7b9_f2a8371f-b123-423d-8fce-cc8f845e23f1.webp?v=1714708389"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67a24edfe92c7dc959fe48bb2f8f334b2a7ad7b9_f2a8371f-b123-423d-8fce-cc8f845e23f1.webp?v=1714708389","width":2000},{"alt":null,"id":23876015718499,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e5c9a0fb7667096129e4da17f3c4dda3bb01b06_e45d9b35-6375-4b30-9e80-9a5b479c63a8.webp?v=1714708391"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e5c9a0fb7667096129e4da17f3c4dda3bb01b06_e45d9b35-6375-4b30-9e80-9a5b479c63a8.webp?v=1714708391","width":2000},{"alt":null,"id":23876016210019,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d57f93a6e74f6dc1bb0c71d11c54d71e50485b9_108cfbcb-1f50-4420-a3f6-ad149e924d88.webp?v=1714708394"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d57f93a6e74f6dc1bb0c71d11c54d71e50485b9_108cfbcb-1f50-4420-a3f6-ad149e924d88.webp?v=1714708394","width":2000},{"alt":null,"id":23876016603235,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d56af2fd88b6429839e400c23199d823e5a127c2_f6016043-048a-4ee7-8c9d-29a78721fc69.webp?v=1714708396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d56af2fd88b6429839e400c23199d823e5a127c2_f6016043-048a-4ee7-8c9d-29a78721fc69.webp?v=1714708396","width":2000},{"alt":null,"id":23876017389667,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87ba3d0b5591be05805b509047ff047f7c3d5d7f_7563c1cd-b3cc-4742-9e29-12ab482baa47.webp?v=1714708398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87ba3d0b5591be05805b509047ff047f7c3d5d7f_7563c1cd-b3cc-4742-9e29-12ab482baa47.webp?v=1714708398","width":2000},{"alt":null,"id":23876017750115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be3da780a7dd673e54f5482ed67562fb04a9552d_feea7d2b-0d05-48a1-adcd-783cf7d957ea.webp?v=1714708401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be3da780a7dd673e54f5482ed67562fb04a9552d_feea7d2b-0d05-48a1-adcd-783cf7d957ea.webp?v=1714708401","width":2000},{"alt":null,"id":23876018143331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cce086984085056e621ac14a76393e6dbb4f60c_279e7c20-127f-4480-adcf-a50b82e2ab5b.webp?v=1714708403"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cce086984085056e621ac14a76393e6dbb4f60c_279e7c20-127f-4480-adcf-a50b82e2ab5b.webp?v=1714708403","width":2000},{"alt":null,"id":23876018503779,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af94168e4ea0b2e7dc95a2a8893c80305e4c3316_f09b8267-087f-491e-981b-3f067d2f5e02.webp?v=1714708405"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af94168e4ea0b2e7dc95a2a8893c80305e4c3316_f09b8267-087f-491e-981b-3f067d2f5e02.webp?v=1714708405","width":2000},{"alt":null,"id":23876018831459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4964254c450bf6e8e9e2f556384b2d6284f4bcad_24d706a2-f6ae-4377-9426-d99132dfaa55.webp?v=1714708408"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4964254c450bf6e8e9e2f556384b2d6284f4bcad_24d706a2-f6ae-4377-9426-d99132dfaa55.webp?v=1714708408","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41882322796643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31471109963875,"product_id":7408068657251,"position":2,"created_at":"2024-05-03T11:53:09+08:00","updated_at":"2024-05-03T11:53:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67a24edfe92c7dc959fe48bb2f8f334b2a7ad7b9_f2a8371f-b123-423d-8fce-cc8f845e23f1.webp?v=1714708389","variant_ids":[41882322796643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB0122824-PB16","featured_media":{"alt":null,"id":23876015161443,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67a24edfe92c7dc959fe48bb2f8f334b2a7ad7b9_f2a8371f-b123-423d-8fce-cc8f845e23f1.webp?v=1714708389"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882322862179,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31471111405667,"product_id":7408068657251,"position":5,"created_at":"2024-05-03T11:53:16+08:00","updated_at":"2024-05-03T11:53:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d56af2fd88b6429839e400c23199d823e5a127c2_f6016043-048a-4ee7-8c9d-29a78721fc69.webp?v=1714708396","variant_ids":[41882322862179]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB0122804-PB16","featured_media":{"alt":null,"id":23876016603235,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d56af2fd88b6429839e400c23199d823e5a127c2_f6016043-048a-4ee7-8c9d-29a78721fc69.webp?v=1714708396"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882323288163,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31471112552547,"product_id":7408068657251,"position":7,"created_at":"2024-05-03T11:53:21+08:00","updated_at":"2024-05-03T11:53:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be3da780a7dd673e54f5482ed67562fb04a9552d_feea7d2b-0d05-48a1-adcd-783cf7d957ea.webp?v=1714708401","variant_ids":[41882323288163]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB01228J5-PB16","featured_media":{"alt":null,"id":23876017750115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be3da780a7dd673e54f5482ed67562fb04a9552d_feea7d2b-0d05-48a1-adcd-783cf7d957ea.webp?v=1714708401"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41882322796643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31471109963875,"product_id":7408068657251,"position":2,"created_at":"2024-05-03T11:53:09+08:00","updated_at":"2024-05-03T11:53:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67a24edfe92c7dc959fe48bb2f8f334b2a7ad7b9_f2a8371f-b123-423d-8fce-cc8f845e23f1.webp?v=1714708389","variant_ids":[41882322796643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB0122824-PB16","featured_media":{"alt":null,"id":23876015161443,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67a24edfe92c7dc959fe48bb2f8f334b2a7ad7b9_f2a8371f-b123-423d-8fce-cc8f845e23f1.webp?v=1714708389"}},"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: "停產"
}