$product = {"id":7408192782435,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 絕地武士-光劍系列","handle":"iphone-13-mini-mod-nx-printable-pb71","description":null,"published_at":"2024-06-11T16:33:53+08:00","created_at":"2024-05-03T12:18: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":41883706064995,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31471433285731,"product_id":7408192782435,"position":1,"created_at":"2024-05-03T12:18:06+08:00","updated_at":"2024-05-03T12:18:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/115d88cb97b512e0d5e7d36874da2dde646f9e8c_900b206f-e1cd-4715-9a58-b2729c4c961d.webp?v=1714709886","variant_ids":[41883706064995]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0122824-PB71","featured_media":{"alt":null,"id":23876339597411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/115d88cb97b512e0d5e7d36874da2dde646f9e8c_900b206f-e1cd-4715-9a58-b2729c4c961d.webp?v=1714709886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883706163299,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31471435939939,"product_id":7408192782435,"position":6,"created_at":"2024-05-03T12:18:17+08:00","updated_at":"2024-05-03T12:18:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eee37ee89a71bfb9224ba03b491e429a4981490_56109f35-6ee6-429d-b774-6e5a555c6a0e.webp?v=1714709897","variant_ids":[41883706163299]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0122804-PB71","featured_media":{"alt":null,"id":23876342218851,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eee37ee89a71bfb9224ba03b491e429a4981490_56109f35-6ee6-429d-b774-6e5a555c6a0e.webp?v=1714709897"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883706392675,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31471438233699,"product_id":7408192782435,"position":10,"created_at":"2024-05-03T12:18:26+08:00","updated_at":"2024-05-03T12:18:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd98e8f38aaa825cb55b5023e7e99f29ffe2444_20d0a99d-0668-4e01-b37f-1bea36691553.webp?v=1714709907","variant_ids":[41883706392675]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01228J5-PB71","featured_media":{"alt":null,"id":23876344479843,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd98e8f38aaa825cb55b5023e7e99f29ffe2444_20d0a99d-0668-4e01-b37f-1bea36691553.webp?v=1714709907"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/115d88cb97b512e0d5e7d36874da2dde646f9e8c_900b206f-e1cd-4715-9a58-b2729c4c961d.webp?v=1714709886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a62b2cae718a18a4c96bc0178a346004ecd8ca9_1904b78c-a98c-428c-a392-6007d158f1ed.webp?v=1714709888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8e58ef0b7766fc464acbdbcb4c439ed88c91f6_0021850a-c1e3-41a9-9a16-06b8dea2fa3c.webp?v=1714709890","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23ac44d5e408774cca9f0f9fb7465c2eae42f491_68054afa-61f1-4d68-afa3-d1aac21d0069.webp?v=1714709893","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/299f4163fb090900502f985d068a2784a949cf28_180ce1e2-6fa8-4c00-abe8-989df7ae9d25.webp?v=1714709895","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eee37ee89a71bfb9224ba03b491e429a4981490_56109f35-6ee6-429d-b774-6e5a555c6a0e.webp?v=1714709897","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34c6a2156393f35feeef779a41e49eb5e9aceb19_0094a909-5ca8-4a52-9108-34d3c96963bf.webp?v=1714709900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81cd1ad3a57782d5e7d197bc1374080acb967740_99313cd4-84d9-4ada-ae6a-0bac59fd9bc0.webp?v=1714709902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/195169b3b13989b6b79d1eb13c571ddafedf7f43_751b22be-8f99-46e7-8de0-5c548fb95949.webp?v=1714709904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd98e8f38aaa825cb55b5023e7e99f29ffe2444_20d0a99d-0668-4e01-b37f-1bea36691553.webp?v=1714709907"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/115d88cb97b512e0d5e7d36874da2dde646f9e8c_900b206f-e1cd-4715-9a58-b2729c4c961d.webp?v=1714709886","options":["color"],"media":[{"alt":null,"id":23876339597411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/115d88cb97b512e0d5e7d36874da2dde646f9e8c_900b206f-e1cd-4715-9a58-b2729c4c961d.webp?v=1714709886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/115d88cb97b512e0d5e7d36874da2dde646f9e8c_900b206f-e1cd-4715-9a58-b2729c4c961d.webp?v=1714709886","width":2000},{"alt":null,"id":23876339990627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a62b2cae718a18a4c96bc0178a346004ecd8ca9_1904b78c-a98c-428c-a392-6007d158f1ed.webp?v=1714709888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a62b2cae718a18a4c96bc0178a346004ecd8ca9_1904b78c-a98c-428c-a392-6007d158f1ed.webp?v=1714709888","width":2000},{"alt":null,"id":23876340547683,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8e58ef0b7766fc464acbdbcb4c439ed88c91f6_0021850a-c1e3-41a9-9a16-06b8dea2fa3c.webp?v=1714709890"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8e58ef0b7766fc464acbdbcb4c439ed88c91f6_0021850a-c1e3-41a9-9a16-06b8dea2fa3c.webp?v=1714709890","width":2000},{"alt":null,"id":23876341006435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23ac44d5e408774cca9f0f9fb7465c2eae42f491_68054afa-61f1-4d68-afa3-d1aac21d0069.webp?v=1714709893"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23ac44d5e408774cca9f0f9fb7465c2eae42f491_68054afa-61f1-4d68-afa3-d1aac21d0069.webp?v=1714709893","width":2000},{"alt":null,"id":23876341596259,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/299f4163fb090900502f985d068a2784a949cf28_180ce1e2-6fa8-4c00-abe8-989df7ae9d25.webp?v=1714709895"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/299f4163fb090900502f985d068a2784a949cf28_180ce1e2-6fa8-4c00-abe8-989df7ae9d25.webp?v=1714709895","width":2000},{"alt":null,"id":23876342218851,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eee37ee89a71bfb9224ba03b491e429a4981490_56109f35-6ee6-429d-b774-6e5a555c6a0e.webp?v=1714709897"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eee37ee89a71bfb9224ba03b491e429a4981490_56109f35-6ee6-429d-b774-6e5a555c6a0e.webp?v=1714709897","width":2000},{"alt":null,"id":23876343070819,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34c6a2156393f35feeef779a41e49eb5e9aceb19_0094a909-5ca8-4a52-9108-34d3c96963bf.webp?v=1714709900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34c6a2156393f35feeef779a41e49eb5e9aceb19_0094a909-5ca8-4a52-9108-34d3c96963bf.webp?v=1714709900","width":2000},{"alt":null,"id":23876343431267,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81cd1ad3a57782d5e7d197bc1374080acb967740_99313cd4-84d9-4ada-ae6a-0bac59fd9bc0.webp?v=1714709902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81cd1ad3a57782d5e7d197bc1374080acb967740_99313cd4-84d9-4ada-ae6a-0bac59fd9bc0.webp?v=1714709902","width":2000},{"alt":null,"id":23876343922787,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/195169b3b13989b6b79d1eb13c571ddafedf7f43_751b22be-8f99-46e7-8de0-5c548fb95949.webp?v=1714709904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/195169b3b13989b6b79d1eb13c571ddafedf7f43_751b22be-8f99-46e7-8de0-5c548fb95949.webp?v=1714709904","width":2000},{"alt":null,"id":23876344479843,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd98e8f38aaa825cb55b5023e7e99f29ffe2444_20d0a99d-0668-4e01-b37f-1bea36691553.webp?v=1714709907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd98e8f38aaa825cb55b5023e7e99f29ffe2444_20d0a99d-0668-4e01-b37f-1bea36691553.webp?v=1714709907","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41883706064995,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31471433285731,"product_id":7408192782435,"position":1,"created_at":"2024-05-03T12:18:06+08:00","updated_at":"2024-05-03T12:18:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/115d88cb97b512e0d5e7d36874da2dde646f9e8c_900b206f-e1cd-4715-9a58-b2729c4c961d.webp?v=1714709886","variant_ids":[41883706064995]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0122824-PB71","featured_media":{"alt":null,"id":23876339597411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/115d88cb97b512e0d5e7d36874da2dde646f9e8c_900b206f-e1cd-4715-9a58-b2729c4c961d.webp?v=1714709886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883706163299,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31471435939939,"product_id":7408192782435,"position":6,"created_at":"2024-05-03T12:18:17+08:00","updated_at":"2024-05-03T12:18:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eee37ee89a71bfb9224ba03b491e429a4981490_56109f35-6ee6-429d-b774-6e5a555c6a0e.webp?v=1714709897","variant_ids":[41883706163299]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0122804-PB71","featured_media":{"alt":null,"id":23876342218851,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eee37ee89a71bfb9224ba03b491e429a4981490_56109f35-6ee6-429d-b774-6e5a555c6a0e.webp?v=1714709897"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883706392675,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31471438233699,"product_id":7408192782435,"position":10,"created_at":"2024-05-03T12:18:26+08:00","updated_at":"2024-05-03T12:18:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd98e8f38aaa825cb55b5023e7e99f29ffe2444_20d0a99d-0668-4e01-b37f-1bea36691553.webp?v=1714709907","variant_ids":[41883706392675]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01228J5-PB71","featured_media":{"alt":null,"id":23876344479843,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd98e8f38aaa825cb55b5023e7e99f29ffe2444_20d0a99d-0668-4e01-b37f-1bea36691553.webp?v=1714709907"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41883706064995,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31471433285731,"product_id":7408192782435,"position":1,"created_at":"2024-05-03T12:18:06+08:00","updated_at":"2024-05-03T12:18:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/115d88cb97b512e0d5e7d36874da2dde646f9e8c_900b206f-e1cd-4715-9a58-b2729c4c961d.webp?v=1714709886","variant_ids":[41883706064995]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0122824-PB71","featured_media":{"alt":null,"id":23876339597411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/115d88cb97b512e0d5e7d36874da2dde646f9e8c_900b206f-e1cd-4715-9a58-b2729c4c961d.webp?v=1714709886"}},"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: "停產"
}