$product = {"id":7928228642915,"title":"iPhone 16 Pro Max Clear (相機按鈕) Doraemon 哆啦A夢 你在看我嗎?","handle":"iphone-16-pro-max-jellytint-with-capture-button-yr29","description":null,"published_at":"2025-11-26T09:22:50+08:00","created_at":"2025-11-25T11:33:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-doraemon","device-iPhone 16 Pro Max","merge","reseller-doraemon"],"price":128000,"price_min":128000,"price_max":128000,"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":43853538361443,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"JTB013280J-YR29","requires_shipping":true,"taxable":true,"featured_image":{"id":36084810612835,"product_id":7928228642915,"position":10,"created_at":"2026-06-24T16:18:44+08:00","updated_at":"2026-06-24T16:18:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3_41716c81-baab-4836-b406-122f14f8860a.webp?v=1782289126","variant_ids":[43853538361443]},"available":true,"name":"iPhone 16 Pro Max Clear (相機按鈕) Doraemon 哆啦A夢 你在看我嗎? - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013280J-YR29","featured_media":{"alt":null,"id":27593940762723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3_41716c81-baab-4836-b406-122f14f8860a.webp?v=1782289126"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853539934307,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013280G-YR29","requires_shipping":true,"taxable":true,"featured_image":{"id":36084810285155,"product_id":7928228642915,"position":9,"created_at":"2026-06-24T16:18:44+08:00","updated_at":"2026-06-24T16:18:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf8ec7cb0a30b1536aa5a14c0abe33522e9b2866_ba4eea24-7387-4c6b-9d85-56e7c5b6adfa.webp?v=1782289125","variant_ids":[43853539934307]},"available":true,"name":"iPhone 16 Pro Max Clear (相機按鈕) Doraemon 哆啦A夢 你在看我嗎? - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013280G-YR29","featured_media":{"alt":null,"id":27593940435043,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf8ec7cb0a30b1536aa5a14c0abe33522e9b2866_ba4eea24-7387-4c6b-9d85-56e7c5b6adfa.webp?v=1782289125"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853539967075,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"JTB013280H-YR29","requires_shipping":true,"taxable":true,"featured_image":{"id":36084810874979,"product_id":7928228642915,"position":11,"created_at":"2026-06-24T16:18:45+08:00","updated_at":"2026-06-24T16:18:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6daa4d89de29ba7b4b20c195e9657aa306dde1ea_950e757c-ad29-446d-a4bc-725914cce679.webp?v=1782289127","variant_ids":[43853539967075]},"available":true,"name":"iPhone 16 Pro Max Clear (相機按鈕) Doraemon 哆啦A夢 你在看我嗎? - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013280H-YR29","featured_media":{"alt":null,"id":27593941024867,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6daa4d89de29ba7b4b20c195e9657aa306dde1ea_950e757c-ad29-446d-a4bc-725914cce679.webp?v=1782289127"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3.webp?v=1764041595","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6daa4d89de29ba7b4b20c195e9657aa306dde1ea.webp?v=1764041596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0d23750a0b2a3d35f39e4fa4e20db761aa86c01.webp?v=1764041596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf8ec7cb0a30b1536aa5a14c0abe33522e9b2866.webp?v=1764041597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf8ec7cb0a30b1536aa5a14c0abe33522e9b2866_54c7e9ea-a3ac-46dc-900f-717c3628bc3c.webp?v=1782266895","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3_720d7d01-8f04-462e-8018-c2e681afc2e2.webp?v=1782266895","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6daa4d89de29ba7b4b20c195e9657aa306dde1ea_fd8a100f-9f21-4d59-9cc9-2c7635427aa7.webp?v=1782266896","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0d23750a0b2a3d35f39e4fa4e20db761aa86c01_c1706cb2-2bd8-44dc-8f9c-93db6398820f.webp?v=1782266896","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf8ec7cb0a30b1536aa5a14c0abe33522e9b2866_ba4eea24-7387-4c6b-9d85-56e7c5b6adfa.webp?v=1782289125","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3_41716c81-baab-4836-b406-122f14f8860a.webp?v=1782289126","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6daa4d89de29ba7b4b20c195e9657aa306dde1ea_950e757c-ad29-446d-a4bc-725914cce679.webp?v=1782289127","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0d23750a0b2a3d35f39e4fa4e20db761aa86c01_b268a4b5-3e6b-48cd-9ccb-b7021bceb34b.webp?v=1782289127"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3.webp?v=1764041595","options":["color"],"media":[{"alt":null,"id":26403298377827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3.webp?v=1764041595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3.webp?v=1764041595","width":2000},{"alt":null,"id":26403298738275,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6daa4d89de29ba7b4b20c195e9657aa306dde1ea.webp?v=1764041596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6daa4d89de29ba7b4b20c195e9657aa306dde1ea.webp?v=1764041596","width":2000},{"alt":null,"id":26403298934883,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0d23750a0b2a3d35f39e4fa4e20db761aa86c01.webp?v=1764041596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0d23750a0b2a3d35f39e4fa4e20db761aa86c01.webp?v=1764041596","width":2000},{"alt":null,"id":26403299164259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf8ec7cb0a30b1536aa5a14c0abe33522e9b2866.webp?v=1764041597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf8ec7cb0a30b1536aa5a14c0abe33522e9b2866.webp?v=1764041597","width":2000},{"alt":null,"id":27587726868579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf8ec7cb0a30b1536aa5a14c0abe33522e9b2866_54c7e9ea-a3ac-46dc-900f-717c3628bc3c.webp?v=1782266895"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf8ec7cb0a30b1536aa5a14c0abe33522e9b2866_54c7e9ea-a3ac-46dc-900f-717c3628bc3c.webp?v=1782266895","width":2000},{"alt":null,"id":27587727556707,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3_720d7d01-8f04-462e-8018-c2e681afc2e2.webp?v=1782266895"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3_720d7d01-8f04-462e-8018-c2e681afc2e2.webp?v=1782266895","width":2000},{"alt":null,"id":27587727949923,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6daa4d89de29ba7b4b20c195e9657aa306dde1ea_fd8a100f-9f21-4d59-9cc9-2c7635427aa7.webp?v=1782266896"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6daa4d89de29ba7b4b20c195e9657aa306dde1ea_fd8a100f-9f21-4d59-9cc9-2c7635427aa7.webp?v=1782266896","width":2000},{"alt":null,"id":27587728277603,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0d23750a0b2a3d35f39e4fa4e20db761aa86c01_c1706cb2-2bd8-44dc-8f9c-93db6398820f.webp?v=1782266896"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0d23750a0b2a3d35f39e4fa4e20db761aa86c01_c1706cb2-2bd8-44dc-8f9c-93db6398820f.webp?v=1782266896","width":2000},{"alt":null,"id":27593940435043,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf8ec7cb0a30b1536aa5a14c0abe33522e9b2866_ba4eea24-7387-4c6b-9d85-56e7c5b6adfa.webp?v=1782289125"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf8ec7cb0a30b1536aa5a14c0abe33522e9b2866_ba4eea24-7387-4c6b-9d85-56e7c5b6adfa.webp?v=1782289125","width":2000},{"alt":null,"id":27593940762723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3_41716c81-baab-4836-b406-122f14f8860a.webp?v=1782289126"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3_41716c81-baab-4836-b406-122f14f8860a.webp?v=1782289126","width":2000},{"alt":null,"id":27593941024867,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6daa4d89de29ba7b4b20c195e9657aa306dde1ea_950e757c-ad29-446d-a4bc-725914cce679.webp?v=1782289127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6daa4d89de29ba7b4b20c195e9657aa306dde1ea_950e757c-ad29-446d-a4bc-725914cce679.webp?v=1782289127","width":2000},{"alt":null,"id":27593941516387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0d23750a0b2a3d35f39e4fa4e20db761aa86c01_b268a4b5-3e6b-48cd-9ccb-b7021bceb34b.webp?v=1782289127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0d23750a0b2a3d35f39e4fa4e20db761aa86c01_b268a4b5-3e6b-48cd-9ccb-b7021bceb34b.webp?v=1782289127","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43853538361443,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"JTB013280J-YR29","requires_shipping":true,"taxable":true,"featured_image":{"id":36084810612835,"product_id":7928228642915,"position":10,"created_at":"2026-06-24T16:18:44+08:00","updated_at":"2026-06-24T16:18:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3_41716c81-baab-4836-b406-122f14f8860a.webp?v=1782289126","variant_ids":[43853538361443]},"available":true,"name":"iPhone 16 Pro Max Clear (相機按鈕) Doraemon 哆啦A夢 你在看我嗎? - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013280J-YR29","featured_media":{"alt":null,"id":27593940762723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3_41716c81-baab-4836-b406-122f14f8860a.webp?v=1782289126"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853539934307,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013280G-YR29","requires_shipping":true,"taxable":true,"featured_image":{"id":36084810285155,"product_id":7928228642915,"position":9,"created_at":"2026-06-24T16:18:44+08:00","updated_at":"2026-06-24T16:18:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf8ec7cb0a30b1536aa5a14c0abe33522e9b2866_ba4eea24-7387-4c6b-9d85-56e7c5b6adfa.webp?v=1782289125","variant_ids":[43853539934307]},"available":true,"name":"iPhone 16 Pro Max Clear (相機按鈕) Doraemon 哆啦A夢 你在看我嗎? - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013280G-YR29","featured_media":{"alt":null,"id":27593940435043,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf8ec7cb0a30b1536aa5a14c0abe33522e9b2866_ba4eea24-7387-4c6b-9d85-56e7c5b6adfa.webp?v=1782289125"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853539967075,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"JTB013280H-YR29","requires_shipping":true,"taxable":true,"featured_image":{"id":36084810874979,"product_id":7928228642915,"position":11,"created_at":"2026-06-24T16:18:45+08:00","updated_at":"2026-06-24T16:18:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6daa4d89de29ba7b4b20c195e9657aa306dde1ea_950e757c-ad29-446d-a4bc-725914cce679.webp?v=1782289127","variant_ids":[43853539967075]},"available":true,"name":"iPhone 16 Pro Max Clear (相機按鈕) Doraemon 哆啦A夢 你在看我嗎? - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013280H-YR29","featured_media":{"alt":null,"id":27593941024867,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6daa4d89de29ba7b4b20c195e9657aa306dde1ea_950e757c-ad29-446d-a4bc-725914cce679.webp?v=1782289127"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43853538361443,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"JTB013280J-YR29","requires_shipping":true,"taxable":true,"featured_image":{"id":36084810612835,"product_id":7928228642915,"position":10,"created_at":"2026-06-24T16:18:44+08:00","updated_at":"2026-06-24T16:18:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3_41716c81-baab-4836-b406-122f14f8860a.webp?v=1782289126","variant_ids":[43853538361443]},"available":true,"name":"iPhone 16 Pro Max Clear (相機按鈕) Doraemon 哆啦A夢 你在看我嗎? - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013280J-YR29","featured_media":{"alt":null,"id":27593940762723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c93f6b5e95a3de8657b9858eb1f0863a71e7d3_41716c81-baab-4836-b406-122f14f8860a.webp?v=1782289126"}},"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: "停產"
}