$product = {"id":7407692120163,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-經典","handle":"iphone-14-pro-mod-nx-printable-pb23","description":null,"published_at":"2024-06-11T16:22:02+08:00","created_at":"2024-05-03T10:41:58+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":41877704114275,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB23","requires_shipping":true,"taxable":true,"featured_image":{"id":31470225195107,"product_id":7407692120163,"position":4,"created_at":"2024-05-03T10:42:08+08:00","updated_at":"2024-05-03T10:42:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf603a6e2664859a2a7726901e65f2b7e7d68d43_7148727f-f559-44cf-892f-a3d5d05aa956.webp?v=1714704128","variant_ids":[41877704114275]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB23","featured_media":{"alt":null,"id":23875128197219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf603a6e2664859a2a7726901e65f2b7e7d68d43_7148727f-f559-44cf-892f-a3d5d05aa956.webp?v=1714704128"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877704212579,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB23","requires_shipping":true,"taxable":true,"featured_image":{"id":31470228176995,"product_id":7407692120163,"position":9,"created_at":"2024-05-03T10:42:21+08:00","updated_at":"2024-05-03T10:42:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cb2def82cf5b93197625e37759aa5756bf4e5ec_d3ebf62b-b32b-465a-a406-00d07b98bc24.webp?v=1714704141","variant_ids":[41877704212579]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PB23","featured_media":{"alt":null,"id":23875131244643,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cb2def82cf5b93197625e37759aa5756bf4e5ec_d3ebf62b-b32b-465a-a406-00d07b98bc24.webp?v=1714704141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877704441955,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB23","requires_shipping":true,"taxable":true,"featured_image":{"id":31470226899043,"product_id":7407692120163,"position":7,"created_at":"2024-05-03T10:42:16+08:00","updated_at":"2024-05-03T10:42:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a7b009f6256b386019fa29a43aa4260d6cb4872_bac53636-eb2b-4066-b5a9-079c465ea4ab.webp?v=1714704136","variant_ids":[41877704441955]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PB23","featured_media":{"alt":null,"id":23875129933923,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a7b009f6256b386019fa29a43aa4260d6cb4872_bac53636-eb2b-4066-b5a9-079c465ea4ab.webp?v=1714704136"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7085f288e2ed91938b0e7b8caf51b898888f55f_e3db59bf-d34a-4670-82a8-bb8e317d149e.webp?v=1714704120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33ec75cb1be6cc00c5df63921a42c86788d5f656_fb05590e-e783-4d2b-ad12-6f5f2bec0622.webp?v=1714704123","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce28b85a79aa9115c82501929c055ab61dde71b5_d818c33f-941a-4287-bc91-bc7962d028b2.webp?v=1714704126","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf603a6e2664859a2a7726901e65f2b7e7d68d43_7148727f-f559-44cf-892f-a3d5d05aa956.webp?v=1714704128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42a988c2f94463ddb2af0eeb5b01b04a2e08e0dc_1b0b6dbb-ded8-4310-b138-e91e4f635e3a.webp?v=1714704131","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca2cc7eaeb92c87f20d5aecbd86c31ae6b3fbd88_1641ddda-956b-445b-af0e-8ce6781c13b2.webp?v=1714704134","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a7b009f6256b386019fa29a43aa4260d6cb4872_bac53636-eb2b-4066-b5a9-079c465ea4ab.webp?v=1714704136","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe6bae4e8f7d136f0ee2143bd880d03b0a813740_4aa857ae-43ad-476d-98a8-605c53eca17a.webp?v=1714704139","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cb2def82cf5b93197625e37759aa5756bf4e5ec_d3ebf62b-b32b-465a-a406-00d07b98bc24.webp?v=1714704141","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/076c41a11b4aac61b3afcfc901e553fb64b6ab3f_46085b18-ce96-4c28-b014-21a2456ec97f.webp?v=1714704144"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7085f288e2ed91938b0e7b8caf51b898888f55f_e3db59bf-d34a-4670-82a8-bb8e317d149e.webp?v=1714704120","options":["color"],"media":[{"alt":null,"id":23875125968995,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7085f288e2ed91938b0e7b8caf51b898888f55f_e3db59bf-d34a-4670-82a8-bb8e317d149e.webp?v=1714704120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7085f288e2ed91938b0e7b8caf51b898888f55f_e3db59bf-d34a-4670-82a8-bb8e317d149e.webp?v=1714704120","width":2000},{"alt":null,"id":23875126657123,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33ec75cb1be6cc00c5df63921a42c86788d5f656_fb05590e-e783-4d2b-ad12-6f5f2bec0622.webp?v=1714704123"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33ec75cb1be6cc00c5df63921a42c86788d5f656_fb05590e-e783-4d2b-ad12-6f5f2bec0622.webp?v=1714704123","width":2000},{"alt":null,"id":23875127083107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce28b85a79aa9115c82501929c055ab61dde71b5_d818c33f-941a-4287-bc91-bc7962d028b2.webp?v=1714704126"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce28b85a79aa9115c82501929c055ab61dde71b5_d818c33f-941a-4287-bc91-bc7962d028b2.webp?v=1714704126","width":2000},{"alt":null,"id":23875128197219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf603a6e2664859a2a7726901e65f2b7e7d68d43_7148727f-f559-44cf-892f-a3d5d05aa956.webp?v=1714704128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf603a6e2664859a2a7726901e65f2b7e7d68d43_7148727f-f559-44cf-892f-a3d5d05aa956.webp?v=1714704128","width":2000},{"alt":null,"id":23875128819811,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42a988c2f94463ddb2af0eeb5b01b04a2e08e0dc_1b0b6dbb-ded8-4310-b138-e91e4f635e3a.webp?v=1714704131"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42a988c2f94463ddb2af0eeb5b01b04a2e08e0dc_1b0b6dbb-ded8-4310-b138-e91e4f635e3a.webp?v=1714704131","width":2000},{"alt":null,"id":23875129311331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca2cc7eaeb92c87f20d5aecbd86c31ae6b3fbd88_1641ddda-956b-445b-af0e-8ce6781c13b2.webp?v=1714704134"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca2cc7eaeb92c87f20d5aecbd86c31ae6b3fbd88_1641ddda-956b-445b-af0e-8ce6781c13b2.webp?v=1714704134","width":2000},{"alt":null,"id":23875129933923,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a7b009f6256b386019fa29a43aa4260d6cb4872_bac53636-eb2b-4066-b5a9-079c465ea4ab.webp?v=1714704136"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a7b009f6256b386019fa29a43aa4260d6cb4872_bac53636-eb2b-4066-b5a9-079c465ea4ab.webp?v=1714704136","width":2000},{"alt":null,"id":23875130622051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe6bae4e8f7d136f0ee2143bd880d03b0a813740_4aa857ae-43ad-476d-98a8-605c53eca17a.webp?v=1714704139"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe6bae4e8f7d136f0ee2143bd880d03b0a813740_4aa857ae-43ad-476d-98a8-605c53eca17a.webp?v=1714704139","width":2000},{"alt":null,"id":23875131244643,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cb2def82cf5b93197625e37759aa5756bf4e5ec_d3ebf62b-b32b-465a-a406-00d07b98bc24.webp?v=1714704141"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cb2def82cf5b93197625e37759aa5756bf4e5ec_d3ebf62b-b32b-465a-a406-00d07b98bc24.webp?v=1714704141","width":2000},{"alt":null,"id":23875132063843,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/076c41a11b4aac61b3afcfc901e553fb64b6ab3f_46085b18-ce96-4c28-b014-21a2456ec97f.webp?v=1714704144"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/076c41a11b4aac61b3afcfc901e553fb64b6ab3f_46085b18-ce96-4c28-b014-21a2456ec97f.webp?v=1714704144","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41877704114275,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB23","requires_shipping":true,"taxable":true,"featured_image":{"id":31470225195107,"product_id":7407692120163,"position":4,"created_at":"2024-05-03T10:42:08+08:00","updated_at":"2024-05-03T10:42:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf603a6e2664859a2a7726901e65f2b7e7d68d43_7148727f-f559-44cf-892f-a3d5d05aa956.webp?v=1714704128","variant_ids":[41877704114275]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB23","featured_media":{"alt":null,"id":23875128197219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf603a6e2664859a2a7726901e65f2b7e7d68d43_7148727f-f559-44cf-892f-a3d5d05aa956.webp?v=1714704128"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877704212579,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB23","requires_shipping":true,"taxable":true,"featured_image":{"id":31470228176995,"product_id":7407692120163,"position":9,"created_at":"2024-05-03T10:42:21+08:00","updated_at":"2024-05-03T10:42:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cb2def82cf5b93197625e37759aa5756bf4e5ec_d3ebf62b-b32b-465a-a406-00d07b98bc24.webp?v=1714704141","variant_ids":[41877704212579]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PB23","featured_media":{"alt":null,"id":23875131244643,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cb2def82cf5b93197625e37759aa5756bf4e5ec_d3ebf62b-b32b-465a-a406-00d07b98bc24.webp?v=1714704141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877704441955,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB23","requires_shipping":true,"taxable":true,"featured_image":{"id":31470226899043,"product_id":7407692120163,"position":7,"created_at":"2024-05-03T10:42:16+08:00","updated_at":"2024-05-03T10:42:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a7b009f6256b386019fa29a43aa4260d6cb4872_bac53636-eb2b-4066-b5a9-079c465ea4ab.webp?v=1714704136","variant_ids":[41877704441955]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PB23","featured_media":{"alt":null,"id":23875129933923,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a7b009f6256b386019fa29a43aa4260d6cb4872_bac53636-eb2b-4066-b5a9-079c465ea4ab.webp?v=1714704136"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41877704114275,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB23","requires_shipping":true,"taxable":true,"featured_image":{"id":31470225195107,"product_id":7407692120163,"position":4,"created_at":"2024-05-03T10:42:08+08:00","updated_at":"2024-05-03T10:42:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf603a6e2664859a2a7726901e65f2b7e7d68d43_7148727f-f559-44cf-892f-a3d5d05aa956.webp?v=1714704128","variant_ids":[41877704114275]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB23","featured_media":{"alt":null,"id":23875128197219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf603a6e2664859a2a7726901e65f2b7e7d68d43_7148727f-f559-44cf-892f-a3d5d05aa956.webp?v=1714704128"}},"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: "停產"
}