$product = {"id":7407883944035,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2-D2-復古系列","handle":"iphone-14-pro-mod-nx-printable-pb110","description":null,"published_at":"2024-06-11T16:25:32+08:00","created_at":"2024-05-03T11:08:59+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":41880050892899,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB110","requires_shipping":true,"taxable":true,"featured_image":{"id":31470616608867,"product_id":7407883944035,"position":8,"created_at":"2024-05-03T11:09:18+08:00","updated_at":"2024-05-03T11:09:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a27ef6be7bf00440c248b87717e55a026a8b1ef_45e49543-f31f-484d-9071-35a0469167e9.webp?v=1714705758","variant_ids":[41880050892899]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2-D2-復古系列 - 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-PB110","featured_media":{"alt":null,"id":23875520528483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a27ef6be7bf00440c248b87717e55a026a8b1ef_45e49543-f31f-484d-9071-35a0469167e9.webp?v=1714705758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880050958435,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB110","requires_shipping":true,"taxable":true,"featured_image":{"id":31470614610019,"product_id":7407883944035,"position":4,"created_at":"2024-05-03T11:09:09+08:00","updated_at":"2024-05-03T11:09:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6498ccdb876eeb2d901e9cf647f9c8d14fccf46a_d1790889-5ce6-491e-89cd-147ea484d924.webp?v=1714705749","variant_ids":[41880050958435]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2-D2-復古系列 - 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-PB110","featured_media":{"alt":null,"id":23875518529635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6498ccdb876eeb2d901e9cf647f9c8d14fccf46a_d1790889-5ce6-491e-89cd-147ea484d924.webp?v=1714705749"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880051220579,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB110","requires_shipping":true,"taxable":true,"featured_image":{"id":31470614085731,"product_id":7407883944035,"position":3,"created_at":"2024-05-03T11:09:07+08:00","updated_at":"2024-05-03T11:09:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ac2c21b64a8cd5930865659f052327943cb9ad1_a34e3ef7-ed71-4321-a91b-a8aedff185f5.webp?v=1714705747","variant_ids":[41880051220579]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2-D2-復古系列 - 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-PB110","featured_media":{"alt":null,"id":23875518005347,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ac2c21b64a8cd5930865659f052327943cb9ad1_a34e3ef7-ed71-4321-a91b-a8aedff185f5.webp?v=1714705747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d81881028fab3f40d1e26f064f0fc4baad88ef91_6e53a691-70fc-4284-abe1-8f8f5b30a711.webp?v=1714705742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bda0b74f9e2a798fc717b7a6f8479d1791b188f7_0136cfa2-72a7-4791-aa98-713981b9390f.webp?v=1714705744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ac2c21b64a8cd5930865659f052327943cb9ad1_a34e3ef7-ed71-4321-a91b-a8aedff185f5.webp?v=1714705747","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6498ccdb876eeb2d901e9cf647f9c8d14fccf46a_d1790889-5ce6-491e-89cd-147ea484d924.webp?v=1714705749","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7cf3d4b0f0efb6c9ce691806893870680f727a2_ea02ce82-b32f-4a20-b40d-31ca04bc79d1.webp?v=1714705751","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1be2e4d5b53b0f755f7193b15ab1a71133890a1_2bbd6dfa-a8f8-40ce-9a98-17582c6c0390.webp?v=1714705754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b83afcd54fe28233bbbfac1ccd43c1892098821b_1abb95b0-e844-452f-9af1-b7ca831907bd.webp?v=1714705756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a27ef6be7bf00440c248b87717e55a026a8b1ef_45e49543-f31f-484d-9071-35a0469167e9.webp?v=1714705758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d69c58e77f5cb6c0c6cf00e45002ffe0340a36fa_c315303d-6c30-4779-8b9a-865e179e85d5.webp?v=1714705761","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31c52890866ddb79fb6c0b16be0d182a7dea287b_d280bbb5-32d5-4ddc-b888-2c22c88ecdec.webp?v=1714705763"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d81881028fab3f40d1e26f064f0fc4baad88ef91_6e53a691-70fc-4284-abe1-8f8f5b30a711.webp?v=1714705742","options":["color"],"media":[{"alt":null,"id":23875517120611,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d81881028fab3f40d1e26f064f0fc4baad88ef91_6e53a691-70fc-4284-abe1-8f8f5b30a711.webp?v=1714705742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d81881028fab3f40d1e26f064f0fc4baad88ef91_6e53a691-70fc-4284-abe1-8f8f5b30a711.webp?v=1714705742","width":2000},{"alt":null,"id":23875517612131,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bda0b74f9e2a798fc717b7a6f8479d1791b188f7_0136cfa2-72a7-4791-aa98-713981b9390f.webp?v=1714705744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bda0b74f9e2a798fc717b7a6f8479d1791b188f7_0136cfa2-72a7-4791-aa98-713981b9390f.webp?v=1714705744","width":2000},{"alt":null,"id":23875518005347,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ac2c21b64a8cd5930865659f052327943cb9ad1_a34e3ef7-ed71-4321-a91b-a8aedff185f5.webp?v=1714705747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ac2c21b64a8cd5930865659f052327943cb9ad1_a34e3ef7-ed71-4321-a91b-a8aedff185f5.webp?v=1714705747","width":2000},{"alt":null,"id":23875518529635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6498ccdb876eeb2d901e9cf647f9c8d14fccf46a_d1790889-5ce6-491e-89cd-147ea484d924.webp?v=1714705749"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6498ccdb876eeb2d901e9cf647f9c8d14fccf46a_d1790889-5ce6-491e-89cd-147ea484d924.webp?v=1714705749","width":2000},{"alt":null,"id":23875519053923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7cf3d4b0f0efb6c9ce691806893870680f727a2_ea02ce82-b32f-4a20-b40d-31ca04bc79d1.webp?v=1714705751"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7cf3d4b0f0efb6c9ce691806893870680f727a2_ea02ce82-b32f-4a20-b40d-31ca04bc79d1.webp?v=1714705751","width":2000},{"alt":null,"id":23875519578211,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1be2e4d5b53b0f755f7193b15ab1a71133890a1_2bbd6dfa-a8f8-40ce-9a98-17582c6c0390.webp?v=1714705754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1be2e4d5b53b0f755f7193b15ab1a71133890a1_2bbd6dfa-a8f8-40ce-9a98-17582c6c0390.webp?v=1714705754","width":2000},{"alt":null,"id":23875520069731,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b83afcd54fe28233bbbfac1ccd43c1892098821b_1abb95b0-e844-452f-9af1-b7ca831907bd.webp?v=1714705756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b83afcd54fe28233bbbfac1ccd43c1892098821b_1abb95b0-e844-452f-9af1-b7ca831907bd.webp?v=1714705756","width":2000},{"alt":null,"id":23875520528483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a27ef6be7bf00440c248b87717e55a026a8b1ef_45e49543-f31f-484d-9071-35a0469167e9.webp?v=1714705758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a27ef6be7bf00440c248b87717e55a026a8b1ef_45e49543-f31f-484d-9071-35a0469167e9.webp?v=1714705758","width":2000},{"alt":null,"id":23875521183843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d69c58e77f5cb6c0c6cf00e45002ffe0340a36fa_c315303d-6c30-4779-8b9a-865e179e85d5.webp?v=1714705761"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d69c58e77f5cb6c0c6cf00e45002ffe0340a36fa_c315303d-6c30-4779-8b9a-865e179e85d5.webp?v=1714705761","width":2000},{"alt":null,"id":23875521642595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31c52890866ddb79fb6c0b16be0d182a7dea287b_d280bbb5-32d5-4ddc-b888-2c22c88ecdec.webp?v=1714705763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31c52890866ddb79fb6c0b16be0d182a7dea287b_d280bbb5-32d5-4ddc-b888-2c22c88ecdec.webp?v=1714705763","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41880050892899,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB110","requires_shipping":true,"taxable":true,"featured_image":{"id":31470616608867,"product_id":7407883944035,"position":8,"created_at":"2024-05-03T11:09:18+08:00","updated_at":"2024-05-03T11:09:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a27ef6be7bf00440c248b87717e55a026a8b1ef_45e49543-f31f-484d-9071-35a0469167e9.webp?v=1714705758","variant_ids":[41880050892899]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2-D2-復古系列 - 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-PB110","featured_media":{"alt":null,"id":23875520528483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a27ef6be7bf00440c248b87717e55a026a8b1ef_45e49543-f31f-484d-9071-35a0469167e9.webp?v=1714705758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880050958435,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB110","requires_shipping":true,"taxable":true,"featured_image":{"id":31470614610019,"product_id":7407883944035,"position":4,"created_at":"2024-05-03T11:09:09+08:00","updated_at":"2024-05-03T11:09:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6498ccdb876eeb2d901e9cf647f9c8d14fccf46a_d1790889-5ce6-491e-89cd-147ea484d924.webp?v=1714705749","variant_ids":[41880050958435]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2-D2-復古系列 - 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-PB110","featured_media":{"alt":null,"id":23875518529635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6498ccdb876eeb2d901e9cf647f9c8d14fccf46a_d1790889-5ce6-491e-89cd-147ea484d924.webp?v=1714705749"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880051220579,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB110","requires_shipping":true,"taxable":true,"featured_image":{"id":31470614085731,"product_id":7407883944035,"position":3,"created_at":"2024-05-03T11:09:07+08:00","updated_at":"2024-05-03T11:09:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ac2c21b64a8cd5930865659f052327943cb9ad1_a34e3ef7-ed71-4321-a91b-a8aedff185f5.webp?v=1714705747","variant_ids":[41880051220579]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2-D2-復古系列 - 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-PB110","featured_media":{"alt":null,"id":23875518005347,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ac2c21b64a8cd5930865659f052327943cb9ad1_a34e3ef7-ed71-4321-a91b-a8aedff185f5.webp?v=1714705747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41880050892899,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB110","requires_shipping":true,"taxable":true,"featured_image":{"id":31470616608867,"product_id":7407883944035,"position":8,"created_at":"2024-05-03T11:09:18+08:00","updated_at":"2024-05-03T11:09:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a27ef6be7bf00440c248b87717e55a026a8b1ef_45e49543-f31f-484d-9071-35a0469167e9.webp?v=1714705758","variant_ids":[41880050892899]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2-D2-復古系列 - 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-PB110","featured_media":{"alt":null,"id":23875520528483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a27ef6be7bf00440c248b87717e55a026a8b1ef_45e49543-f31f-484d-9071-35a0469167e9.webp?v=1714705758"}},"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: "停產"
}