$product = {"id":7407860809827,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術","handle":"iphone-14-pro-mod-nx-printable-pb38","description":null,"published_at":"2024-06-11T16:24:52+08:00","created_at":"2024-05-03T11:04:26+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":41879751983203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31470558740579,"product_id":7407860809827,"position":3,"created_at":"2024-05-03T11:04:34+08:00","updated_at":"2024-05-03T11:04:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70aacbd04c351b8165f861b2647b4fdce7df8e75_133a7227-b2ab-4a50-bbd8-08a711a3e2dd.webp?v=1714705474","variant_ids":[41879751983203]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23875462594659,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70aacbd04c351b8165f861b2647b4fdce7df8e75_133a7227-b2ab-4a50-bbd8-08a711a3e2dd.webp?v=1714705474"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879752048739,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31470558314595,"product_id":7407860809827,"position":2,"created_at":"2024-05-03T11:04:31+08:00","updated_at":"2024-05-03T11:04:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a00995246332e6ae6f9ce7713f1c18c178fefc64_4172eb70-531c-4cc6-a928-6d24d589a135.webp?v=1714705471","variant_ids":[41879752048739]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23875462168675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a00995246332e6ae6f9ce7713f1c18c178fefc64_4172eb70-531c-4cc6-a928-6d24d589a135.webp?v=1714705471"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879752278115,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31470561460323,"product_id":7407860809827,"position":9,"created_at":"2024-05-03T11:04:47+08:00","updated_at":"2024-05-03T11:04:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac782a715a9d491545117306e9e14b33c2ed1c0_c084f9e1-33d9-4c25-90a8-303e72ebc72b.webp?v=1714705487","variant_ids":[41879752278115]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23875465314403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac782a715a9d491545117306e9e14b33c2ed1c0_c084f9e1-33d9-4c25-90a8-303e72ebc72b.webp?v=1714705487"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0d7b90379832f973df6993f411c50efc40206e6_1298d8bf-0a30-4769-90bd-84363c4549c4.webp?v=1714705469","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a00995246332e6ae6f9ce7713f1c18c178fefc64_4172eb70-531c-4cc6-a928-6d24d589a135.webp?v=1714705471","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70aacbd04c351b8165f861b2647b4fdce7df8e75_133a7227-b2ab-4a50-bbd8-08a711a3e2dd.webp?v=1714705474","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d9cb27ac6f04c87a68b6f1a6f11d9a70edc2242_fbbecaec-a892-4016-bb9b-489a54ba1f0c.webp?v=1714705476","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7a931dd0a4f4cd58fcfbefe4316516ec2db7119_336fe874-52be-4f77-9673-79d3714b3ae6.webp?v=1714705478","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6370e552d60a5e4c13394611cf0b78639042e28_5078d607-6364-45b6-8490-7d039045d93c.webp?v=1714705480","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f97925d82d9a9a43859919ecf08c842995ff7a90_5d3a9b39-c399-4bf8-b6da-4829bed370da.webp?v=1714705483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d767890760bd48404563951019c2096e67d2779b_7882d6d8-a4ae-480a-926f-0da1ec54e478.webp?v=1714705485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac782a715a9d491545117306e9e14b33c2ed1c0_c084f9e1-33d9-4c25-90a8-303e72ebc72b.webp?v=1714705487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c194061ccddb1082f04092d0b0721ca92aa7c1a4_c0be0485-d721-445b-91b6-ea4a55138a4a.webp?v=1714705490"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0d7b90379832f973df6993f411c50efc40206e6_1298d8bf-0a30-4769-90bd-84363c4549c4.webp?v=1714705469","options":["color"],"media":[{"alt":null,"id":23875461709923,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0d7b90379832f973df6993f411c50efc40206e6_1298d8bf-0a30-4769-90bd-84363c4549c4.webp?v=1714705469"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0d7b90379832f973df6993f411c50efc40206e6_1298d8bf-0a30-4769-90bd-84363c4549c4.webp?v=1714705469","width":2000},{"alt":null,"id":23875462168675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a00995246332e6ae6f9ce7713f1c18c178fefc64_4172eb70-531c-4cc6-a928-6d24d589a135.webp?v=1714705471"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a00995246332e6ae6f9ce7713f1c18c178fefc64_4172eb70-531c-4cc6-a928-6d24d589a135.webp?v=1714705471","width":2000},{"alt":null,"id":23875462594659,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70aacbd04c351b8165f861b2647b4fdce7df8e75_133a7227-b2ab-4a50-bbd8-08a711a3e2dd.webp?v=1714705474"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70aacbd04c351b8165f861b2647b4fdce7df8e75_133a7227-b2ab-4a50-bbd8-08a711a3e2dd.webp?v=1714705474","width":2000},{"alt":null,"id":23875462987875,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d9cb27ac6f04c87a68b6f1a6f11d9a70edc2242_fbbecaec-a892-4016-bb9b-489a54ba1f0c.webp?v=1714705476"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d9cb27ac6f04c87a68b6f1a6f11d9a70edc2242_fbbecaec-a892-4016-bb9b-489a54ba1f0c.webp?v=1714705476","width":2000},{"alt":null,"id":23875463512163,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7a931dd0a4f4cd58fcfbefe4316516ec2db7119_336fe874-52be-4f77-9673-79d3714b3ae6.webp?v=1714705478"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7a931dd0a4f4cd58fcfbefe4316516ec2db7119_336fe874-52be-4f77-9673-79d3714b3ae6.webp?v=1714705478","width":2000},{"alt":null,"id":23875464003683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6370e552d60a5e4c13394611cf0b78639042e28_5078d607-6364-45b6-8490-7d039045d93c.webp?v=1714705480"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6370e552d60a5e4c13394611cf0b78639042e28_5078d607-6364-45b6-8490-7d039045d93c.webp?v=1714705480","width":2000},{"alt":null,"id":23875464396899,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f97925d82d9a9a43859919ecf08c842995ff7a90_5d3a9b39-c399-4bf8-b6da-4829bed370da.webp?v=1714705483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f97925d82d9a9a43859919ecf08c842995ff7a90_5d3a9b39-c399-4bf8-b6da-4829bed370da.webp?v=1714705483","width":2000},{"alt":null,"id":23875464822883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d767890760bd48404563951019c2096e67d2779b_7882d6d8-a4ae-480a-926f-0da1ec54e478.webp?v=1714705485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d767890760bd48404563951019c2096e67d2779b_7882d6d8-a4ae-480a-926f-0da1ec54e478.webp?v=1714705485","width":2000},{"alt":null,"id":23875465314403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac782a715a9d491545117306e9e14b33c2ed1c0_c084f9e1-33d9-4c25-90a8-303e72ebc72b.webp?v=1714705487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac782a715a9d491545117306e9e14b33c2ed1c0_c084f9e1-33d9-4c25-90a8-303e72ebc72b.webp?v=1714705487","width":2000},{"alt":null,"id":23875465805923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c194061ccddb1082f04092d0b0721ca92aa7c1a4_c0be0485-d721-445b-91b6-ea4a55138a4a.webp?v=1714705490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c194061ccddb1082f04092d0b0721ca92aa7c1a4_c0be0485-d721-445b-91b6-ea4a55138a4a.webp?v=1714705490","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41879751983203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31470558740579,"product_id":7407860809827,"position":3,"created_at":"2024-05-03T11:04:34+08:00","updated_at":"2024-05-03T11:04:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70aacbd04c351b8165f861b2647b4fdce7df8e75_133a7227-b2ab-4a50-bbd8-08a711a3e2dd.webp?v=1714705474","variant_ids":[41879751983203]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23875462594659,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70aacbd04c351b8165f861b2647b4fdce7df8e75_133a7227-b2ab-4a50-bbd8-08a711a3e2dd.webp?v=1714705474"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879752048739,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31470558314595,"product_id":7407860809827,"position":2,"created_at":"2024-05-03T11:04:31+08:00","updated_at":"2024-05-03T11:04:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a00995246332e6ae6f9ce7713f1c18c178fefc64_4172eb70-531c-4cc6-a928-6d24d589a135.webp?v=1714705471","variant_ids":[41879752048739]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23875462168675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a00995246332e6ae6f9ce7713f1c18c178fefc64_4172eb70-531c-4cc6-a928-6d24d589a135.webp?v=1714705471"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879752278115,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31470561460323,"product_id":7407860809827,"position":9,"created_at":"2024-05-03T11:04:47+08:00","updated_at":"2024-05-03T11:04:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac782a715a9d491545117306e9e14b33c2ed1c0_c084f9e1-33d9-4c25-90a8-303e72ebc72b.webp?v=1714705487","variant_ids":[41879752278115]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23875465314403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac782a715a9d491545117306e9e14b33c2ed1c0_c084f9e1-33d9-4c25-90a8-303e72ebc72b.webp?v=1714705487"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41879751983203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31470558740579,"product_id":7407860809827,"position":3,"created_at":"2024-05-03T11:04:34+08:00","updated_at":"2024-05-03T11:04:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70aacbd04c351b8165f861b2647b4fdce7df8e75_133a7227-b2ab-4a50-bbd8-08a711a3e2dd.webp?v=1714705474","variant_ids":[41879751983203]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23875462594659,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70aacbd04c351b8165f861b2647b4fdce7df8e75_133a7227-b2ab-4a50-bbd8-08a711a3e2dd.webp?v=1714705474"}},"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: "停產"
}