$product = {"id":7407983034467,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑","handle":"iphone-14-pro-mod-nx-printable-pb11","description":null,"published_at":"2024-06-11T16:28:17+08:00","created_at":"2024-05-03T11:28:24+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":41881363775587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31470872428643,"product_id":7407983034467,"position":9,"created_at":"2024-05-03T11:28:46+08:00","updated_at":"2024-05-03T11:28:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83b5b86ae0c7e4bcd4ab3e5c4f6aee8831b26011_af555b2d-5855-4308-9126-e5001813d930.webp?v=1714706926","variant_ids":[41881363775587]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23875777003619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83b5b86ae0c7e4bcd4ab3e5c4f6aee8831b26011_af555b2d-5855-4308-9126-e5001813d930.webp?v=1714706926"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881363841123,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31470868332643,"product_id":7407983034467,"position":1,"created_at":"2024-05-03T11:28:27+08:00","updated_at":"2024-05-03T11:28:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/886d41877baf0f08f7d0fbe51d3b68ba1c9ff381_952c48c5-e5cb-4ecc-ac67-a6879e2d6a44.webp?v=1714706907","variant_ids":[41881363841123]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23875772907619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/886d41877baf0f08f7d0fbe51d3b68ba1c9ff381_952c48c5-e5cb-4ecc-ac67-a6879e2d6a44.webp?v=1714706907"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881364070499,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31470869938275,"product_id":7407983034467,"position":4,"created_at":"2024-05-03T11:28:34+08:00","updated_at":"2024-05-03T11:28:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d2194029ef8c00d2567316651f02ec22a9938ed_42a89467-d924-4dec-8513-18f9c207bb42.webp?v=1714706914","variant_ids":[41881364070499]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23875774578787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d2194029ef8c00d2567316651f02ec22a9938ed_42a89467-d924-4dec-8513-18f9c207bb42.webp?v=1714706914"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/886d41877baf0f08f7d0fbe51d3b68ba1c9ff381_952c48c5-e5cb-4ecc-ac67-a6879e2d6a44.webp?v=1714706907","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c0e928264d2407920353908df60bd6efe5c43a4_79051882-1648-4b25-bb96-999ad5121b08.webp?v=1714706909","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/619634989b1ee33f5f21adf454f926b0c4f34ba5_7c1a1e1b-be3f-44bd-b388-6f994027aac2.webp?v=1714706912","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d2194029ef8c00d2567316651f02ec22a9938ed_42a89467-d924-4dec-8513-18f9c207bb42.webp?v=1714706914","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e057e03488783e60bc4f36f74f2c052f4ac3615_d59fa967-d32d-4e87-a90b-d6b0a06d5098.webp?v=1714706917","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9827f6d5163aeea4a5fe9b498e505e129126b711_ee33d696-90b0-4516-9815-3f30f5cffe5f.webp?v=1714706919","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d76fa12dd7aa344ee4b0accbc6e8b90cb5b5566d_0bf6879e-a8d9-40d3-b27f-632045dff583.webp?v=1714706921","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbef0db300b02a52324aa28b5f694e54e1eaa71e_7ae5b11d-dbdb-494b-a574-bf81f402318c.webp?v=1714706924","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83b5b86ae0c7e4bcd4ab3e5c4f6aee8831b26011_af555b2d-5855-4308-9126-e5001813d930.webp?v=1714706926","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e3bb53c01aa2e556fae862e053abba03ab1499d_ec734315-e53e-4d30-a80e-cc19d8f2cf78.webp?v=1714706928"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/886d41877baf0f08f7d0fbe51d3b68ba1c9ff381_952c48c5-e5cb-4ecc-ac67-a6879e2d6a44.webp?v=1714706907","options":["color"],"media":[{"alt":null,"id":23875772907619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/886d41877baf0f08f7d0fbe51d3b68ba1c9ff381_952c48c5-e5cb-4ecc-ac67-a6879e2d6a44.webp?v=1714706907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/886d41877baf0f08f7d0fbe51d3b68ba1c9ff381_952c48c5-e5cb-4ecc-ac67-a6879e2d6a44.webp?v=1714706907","width":2000},{"alt":null,"id":23875773595747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c0e928264d2407920353908df60bd6efe5c43a4_79051882-1648-4b25-bb96-999ad5121b08.webp?v=1714706909"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c0e928264d2407920353908df60bd6efe5c43a4_79051882-1648-4b25-bb96-999ad5121b08.webp?v=1714706909","width":2000},{"alt":null,"id":23875773988963,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/619634989b1ee33f5f21adf454f926b0c4f34ba5_7c1a1e1b-be3f-44bd-b388-6f994027aac2.webp?v=1714706912"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/619634989b1ee33f5f21adf454f926b0c4f34ba5_7c1a1e1b-be3f-44bd-b388-6f994027aac2.webp?v=1714706912","width":2000},{"alt":null,"id":23875774578787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d2194029ef8c00d2567316651f02ec22a9938ed_42a89467-d924-4dec-8513-18f9c207bb42.webp?v=1714706914"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d2194029ef8c00d2567316651f02ec22a9938ed_42a89467-d924-4dec-8513-18f9c207bb42.webp?v=1714706914","width":2000},{"alt":null,"id":23875775103075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e057e03488783e60bc4f36f74f2c052f4ac3615_d59fa967-d32d-4e87-a90b-d6b0a06d5098.webp?v=1714706917"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e057e03488783e60bc4f36f74f2c052f4ac3615_d59fa967-d32d-4e87-a90b-d6b0a06d5098.webp?v=1714706917","width":2000},{"alt":null,"id":23875775660131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9827f6d5163aeea4a5fe9b498e505e129126b711_ee33d696-90b0-4516-9815-3f30f5cffe5f.webp?v=1714706919"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9827f6d5163aeea4a5fe9b498e505e129126b711_ee33d696-90b0-4516-9815-3f30f5cffe5f.webp?v=1714706919","width":2000},{"alt":null,"id":23875776053347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d76fa12dd7aa344ee4b0accbc6e8b90cb5b5566d_0bf6879e-a8d9-40d3-b27f-632045dff583.webp?v=1714706921"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d76fa12dd7aa344ee4b0accbc6e8b90cb5b5566d_0bf6879e-a8d9-40d3-b27f-632045dff583.webp?v=1714706921","width":2000},{"alt":null,"id":23875776610403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbef0db300b02a52324aa28b5f694e54e1eaa71e_7ae5b11d-dbdb-494b-a574-bf81f402318c.webp?v=1714706924"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbef0db300b02a52324aa28b5f694e54e1eaa71e_7ae5b11d-dbdb-494b-a574-bf81f402318c.webp?v=1714706924","width":2000},{"alt":null,"id":23875777003619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83b5b86ae0c7e4bcd4ab3e5c4f6aee8831b26011_af555b2d-5855-4308-9126-e5001813d930.webp?v=1714706926"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83b5b86ae0c7e4bcd4ab3e5c4f6aee8831b26011_af555b2d-5855-4308-9126-e5001813d930.webp?v=1714706926","width":2000},{"alt":null,"id":23875777429603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e3bb53c01aa2e556fae862e053abba03ab1499d_ec734315-e53e-4d30-a80e-cc19d8f2cf78.webp?v=1714706928"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e3bb53c01aa2e556fae862e053abba03ab1499d_ec734315-e53e-4d30-a80e-cc19d8f2cf78.webp?v=1714706928","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41881363775587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31470872428643,"product_id":7407983034467,"position":9,"created_at":"2024-05-03T11:28:46+08:00","updated_at":"2024-05-03T11:28:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83b5b86ae0c7e4bcd4ab3e5c4f6aee8831b26011_af555b2d-5855-4308-9126-e5001813d930.webp?v=1714706926","variant_ids":[41881363775587]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23875777003619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83b5b86ae0c7e4bcd4ab3e5c4f6aee8831b26011_af555b2d-5855-4308-9126-e5001813d930.webp?v=1714706926"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881363841123,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31470868332643,"product_id":7407983034467,"position":1,"created_at":"2024-05-03T11:28:27+08:00","updated_at":"2024-05-03T11:28:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/886d41877baf0f08f7d0fbe51d3b68ba1c9ff381_952c48c5-e5cb-4ecc-ac67-a6879e2d6a44.webp?v=1714706907","variant_ids":[41881363841123]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23875772907619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/886d41877baf0f08f7d0fbe51d3b68ba1c9ff381_952c48c5-e5cb-4ecc-ac67-a6879e2d6a44.webp?v=1714706907"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881364070499,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31470869938275,"product_id":7407983034467,"position":4,"created_at":"2024-05-03T11:28:34+08:00","updated_at":"2024-05-03T11:28:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d2194029ef8c00d2567316651f02ec22a9938ed_42a89467-d924-4dec-8513-18f9c207bb42.webp?v=1714706914","variant_ids":[41881364070499]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23875774578787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d2194029ef8c00d2567316651f02ec22a9938ed_42a89467-d924-4dec-8513-18f9c207bb42.webp?v=1714706914"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41881363775587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31470872428643,"product_id":7407983034467,"position":9,"created_at":"2024-05-03T11:28:46+08:00","updated_at":"2024-05-03T11:28:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83b5b86ae0c7e4bcd4ab3e5c4f6aee8831b26011_af555b2d-5855-4308-9126-e5001813d930.webp?v=1714706926","variant_ids":[41881363775587]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23875777003619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83b5b86ae0c7e4bcd4ab3e5c4f6aee8831b26011_af555b2d-5855-4308-9126-e5001813d930.webp?v=1714706926"}},"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: "停產"
}