$product = {"id":7408114729059,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-大臉系列","handle":"iphone-13-mini-mod-nx-printable-pb77","description":null,"published_at":"2024-06-11T16:31:47+08:00","created_at":"2024-05-03T12:02:55+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":41882842857571,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31471229960291,"product_id":7408114729059,"position":3,"created_at":"2024-05-03T12:03:02+08:00","updated_at":"2024-05-03T12:03:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79236f483515cafcca1d09a680c5682c6542a6b6_a1b45d00-dbb1-459d-b76d-e0fad6297842.webp?v=1714708982","variant_ids":[41882842857571]},"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-PB77","featured_media":{"alt":null,"id":23876135256163,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79236f483515cafcca1d09a680c5682c6542a6b6_a1b45d00-dbb1-459d-b76d-e0fad6297842.webp?v=1714708982"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882842923107,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31471229010019,"product_id":7408114729059,"position":1,"created_at":"2024-05-03T12:02:57+08:00","updated_at":"2024-05-03T12:02:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7a76934e165c995b98242dd0da23b1bdec2f41c_456fb751-e121-4515-8c60-c614642b46cb.webp?v=1714708977","variant_ids":[41882842923107]},"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-PB77","featured_media":{"alt":null,"id":23876134305891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7a76934e165c995b98242dd0da23b1bdec2f41c_456fb751-e121-4515-8c60-c614642b46cb.webp?v=1714708977"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882843152483,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31471230386275,"product_id":7408114729059,"position":4,"created_at":"2024-05-03T12:03:04+08:00","updated_at":"2024-05-03T12:03:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8d966cabb45c239b42db0312a38a18de1992465_3d05eb55-da67-4004-83db-2d09915848cd.webp?v=1714708984","variant_ids":[41882843152483]},"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-PB77","featured_media":{"alt":null,"id":23876135682147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8d966cabb45c239b42db0312a38a18de1992465_3d05eb55-da67-4004-83db-2d09915848cd.webp?v=1714708984"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7a76934e165c995b98242dd0da23b1bdec2f41c_456fb751-e121-4515-8c60-c614642b46cb.webp?v=1714708977","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1effe65668f1acf2e909e8f3c9f9d694ef1b5e91_bc8f7aab-7f6c-4ccc-a4c7-7b3598fc7dbf.webp?v=1714708979","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79236f483515cafcca1d09a680c5682c6542a6b6_a1b45d00-dbb1-459d-b76d-e0fad6297842.webp?v=1714708982","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8d966cabb45c239b42db0312a38a18de1992465_3d05eb55-da67-4004-83db-2d09915848cd.webp?v=1714708984","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09845e8e0d744fdebcd547bd9ca3676cd817a09e_964f9a23-d81e-4ebb-af21-536d24584b7c.webp?v=1714708986","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18c5c236dfaefe9d4e9efe9de84acac2106dd198_8b4da43d-79b5-4802-b71e-4c5f93033a4f.webp?v=1714708988","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b950f75d1646f8d9d8dadf6fb3ffde3dc3f3bcd_be2f5949-508f-4d20-bb44-9b43af61bbd5.webp?v=1714708991","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13043e7598f7ddef12a2fca4fac14c8e3e906871_22cd026f-0dae-4cf2-9799-a47e412fca85.webp?v=1714708993","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cf87d43c8548a4d6e109982e303e781632a8c0b_d8d53948-2916-4c62-a09a-5b232f9ed1a2.webp?v=1714708995","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f3db1e86db1245226bf56abf48d1e5a4cc6bb3_66b9fc86-a9c3-4a30-b986-1ee8d1e7cf06.webp?v=1714708997"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7a76934e165c995b98242dd0da23b1bdec2f41c_456fb751-e121-4515-8c60-c614642b46cb.webp?v=1714708977","options":["color"],"media":[{"alt":null,"id":23876134305891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7a76934e165c995b98242dd0da23b1bdec2f41c_456fb751-e121-4515-8c60-c614642b46cb.webp?v=1714708977"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7a76934e165c995b98242dd0da23b1bdec2f41c_456fb751-e121-4515-8c60-c614642b46cb.webp?v=1714708977","width":2000},{"alt":null,"id":23876134731875,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1effe65668f1acf2e909e8f3c9f9d694ef1b5e91_bc8f7aab-7f6c-4ccc-a4c7-7b3598fc7dbf.webp?v=1714708979"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1effe65668f1acf2e909e8f3c9f9d694ef1b5e91_bc8f7aab-7f6c-4ccc-a4c7-7b3598fc7dbf.webp?v=1714708979","width":2000},{"alt":null,"id":23876135256163,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79236f483515cafcca1d09a680c5682c6542a6b6_a1b45d00-dbb1-459d-b76d-e0fad6297842.webp?v=1714708982"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79236f483515cafcca1d09a680c5682c6542a6b6_a1b45d00-dbb1-459d-b76d-e0fad6297842.webp?v=1714708982","width":2000},{"alt":null,"id":23876135682147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8d966cabb45c239b42db0312a38a18de1992465_3d05eb55-da67-4004-83db-2d09915848cd.webp?v=1714708984"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8d966cabb45c239b42db0312a38a18de1992465_3d05eb55-da67-4004-83db-2d09915848cd.webp?v=1714708984","width":2000},{"alt":null,"id":23876136206435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09845e8e0d744fdebcd547bd9ca3676cd817a09e_964f9a23-d81e-4ebb-af21-536d24584b7c.webp?v=1714708986"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09845e8e0d744fdebcd547bd9ca3676cd817a09e_964f9a23-d81e-4ebb-af21-536d24584b7c.webp?v=1714708986","width":2000},{"alt":null,"id":23876136599651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18c5c236dfaefe9d4e9efe9de84acac2106dd198_8b4da43d-79b5-4802-b71e-4c5f93033a4f.webp?v=1714708988"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18c5c236dfaefe9d4e9efe9de84acac2106dd198_8b4da43d-79b5-4802-b71e-4c5f93033a4f.webp?v=1714708988","width":2000},{"alt":null,"id":23876136992867,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b950f75d1646f8d9d8dadf6fb3ffde3dc3f3bcd_be2f5949-508f-4d20-bb44-9b43af61bbd5.webp?v=1714708991"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b950f75d1646f8d9d8dadf6fb3ffde3dc3f3bcd_be2f5949-508f-4d20-bb44-9b43af61bbd5.webp?v=1714708991","width":2000},{"alt":null,"id":23876137386083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13043e7598f7ddef12a2fca4fac14c8e3e906871_22cd026f-0dae-4cf2-9799-a47e412fca85.webp?v=1714708993"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13043e7598f7ddef12a2fca4fac14c8e3e906871_22cd026f-0dae-4cf2-9799-a47e412fca85.webp?v=1714708993","width":2000},{"alt":null,"id":23876137877603,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cf87d43c8548a4d6e109982e303e781632a8c0b_d8d53948-2916-4c62-a09a-5b232f9ed1a2.webp?v=1714708995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cf87d43c8548a4d6e109982e303e781632a8c0b_d8d53948-2916-4c62-a09a-5b232f9ed1a2.webp?v=1714708995","width":2000},{"alt":null,"id":23876138565731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f3db1e86db1245226bf56abf48d1e5a4cc6bb3_66b9fc86-a9c3-4a30-b986-1ee8d1e7cf06.webp?v=1714708997"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f3db1e86db1245226bf56abf48d1e5a4cc6bb3_66b9fc86-a9c3-4a30-b986-1ee8d1e7cf06.webp?v=1714708997","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41882842857571,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31471229960291,"product_id":7408114729059,"position":3,"created_at":"2024-05-03T12:03:02+08:00","updated_at":"2024-05-03T12:03:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79236f483515cafcca1d09a680c5682c6542a6b6_a1b45d00-dbb1-459d-b76d-e0fad6297842.webp?v=1714708982","variant_ids":[41882842857571]},"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-PB77","featured_media":{"alt":null,"id":23876135256163,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79236f483515cafcca1d09a680c5682c6542a6b6_a1b45d00-dbb1-459d-b76d-e0fad6297842.webp?v=1714708982"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882842923107,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31471229010019,"product_id":7408114729059,"position":1,"created_at":"2024-05-03T12:02:57+08:00","updated_at":"2024-05-03T12:02:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7a76934e165c995b98242dd0da23b1bdec2f41c_456fb751-e121-4515-8c60-c614642b46cb.webp?v=1714708977","variant_ids":[41882842923107]},"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-PB77","featured_media":{"alt":null,"id":23876134305891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7a76934e165c995b98242dd0da23b1bdec2f41c_456fb751-e121-4515-8c60-c614642b46cb.webp?v=1714708977"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882843152483,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31471230386275,"product_id":7408114729059,"position":4,"created_at":"2024-05-03T12:03:04+08:00","updated_at":"2024-05-03T12:03:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8d966cabb45c239b42db0312a38a18de1992465_3d05eb55-da67-4004-83db-2d09915848cd.webp?v=1714708984","variant_ids":[41882843152483]},"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-PB77","featured_media":{"alt":null,"id":23876135682147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8d966cabb45c239b42db0312a38a18de1992465_3d05eb55-da67-4004-83db-2d09915848cd.webp?v=1714708984"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41882842857571,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31471229960291,"product_id":7408114729059,"position":3,"created_at":"2024-05-03T12:03:02+08:00","updated_at":"2024-05-03T12:03:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79236f483515cafcca1d09a680c5682c6542a6b6_a1b45d00-dbb1-459d-b76d-e0fad6297842.webp?v=1714708982","variant_ids":[41882842857571]},"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-PB77","featured_media":{"alt":null,"id":23876135256163,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79236f483515cafcca1d09a680c5682c6542a6b6_a1b45d00-dbb1-459d-b76d-e0fad6297842.webp?v=1714708982"}},"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: "停產"
}