$product = {"id":7408213524579,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 千年鷹-美式復古","handle":"iphone-13-mini-mod-nx-printable-pb99","description":null,"published_at":"2024-06-11T16:34:25+08:00","created_at":"2024-05-03T12:22:05+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":41883924529251,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB99","requires_shipping":true,"taxable":true,"featured_image":{"id":31471487713379,"product_id":7408213524579,"position":2,"created_at":"2024-05-03T12:22:09+08:00","updated_at":"2024-05-03T12:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb32d4bb8a8cb1ada462fb5de66c143b00b76ed_dc3afd5b-5232-46b1-af17-7c8443dc745f.webp?v=1714710129","variant_ids":[41883924529251]},"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-PB99","featured_media":{"alt":null,"id":23876394123363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb32d4bb8a8cb1ada462fb5de66c143b00b76ed_dc3afd5b-5232-46b1-af17-7c8443dc745f.webp?v=1714710129"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883924594787,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB99","requires_shipping":true,"taxable":true,"featured_image":{"id":31471487254627,"product_id":7408213524579,"position":1,"created_at":"2024-05-03T12:22:07+08:00","updated_at":"2024-05-03T12:22:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bc21cc13c9a44ff018f3987d0c6552e139b86fa_7d9d7b41-ddfc-4622-baac-f747d0466874.webp?v=1714710127","variant_ids":[41883924594787]},"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-PB99","featured_media":{"alt":null,"id":23876393730147,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bc21cc13c9a44ff018f3987d0c6552e139b86fa_7d9d7b41-ddfc-4622-baac-f747d0466874.webp?v=1714710127"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883924988003,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB99","requires_shipping":true,"taxable":true,"featured_image":{"id":31471489220707,"product_id":7408213524579,"position":5,"created_at":"2024-05-03T12:22:17+08:00","updated_at":"2024-05-03T12:22:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcda4511c05516370c4b70e686dd2f240003c469_2ae121e5-fdb5-438e-bbc3-9cb942a35a35.webp?v=1714710137","variant_ids":[41883924988003]},"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-PB99","featured_media":{"alt":null,"id":23876395696227,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcda4511c05516370c4b70e686dd2f240003c469_2ae121e5-fdb5-438e-bbc3-9cb942a35a35.webp?v=1714710137"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bc21cc13c9a44ff018f3987d0c6552e139b86fa_7d9d7b41-ddfc-4622-baac-f747d0466874.webp?v=1714710127","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb32d4bb8a8cb1ada462fb5de66c143b00b76ed_dc3afd5b-5232-46b1-af17-7c8443dc745f.webp?v=1714710129","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e02c00701988079dd06ab3f70c120701890ba401_a88d2a94-f443-4c54-93a2-720d056a429b.webp?v=1714710132","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9579b6156339a8e87e1b3108b073033638f8d45_f3d59d8a-9986-4544-881a-875b95255b06.webp?v=1714710134","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcda4511c05516370c4b70e686dd2f240003c469_2ae121e5-fdb5-438e-bbc3-9cb942a35a35.webp?v=1714710137","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/655beeb8e548e9947f3cca6eb3c025ea87f4e0df_5b214b7b-1667-4169-a1bb-29f01edcbee2.webp?v=1714710139","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ef9094f380df030a8ce6d75402a7ad40f484e8_6f294e40-8637-492f-9c5d-985e6eab4e35.webp?v=1714710142","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762c7053c65d774c30fef9c2df125882f2ef9d9c_7c56ba8b-62c0-4f16-a09a-4194a1e8570f.webp?v=1714710144","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f3b13583a667e75ba3884a178ef1e8be1646dd_31930e05-9195-4ce1-8e03-e9be70f54513.webp?v=1714710146","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/433c07d9562ba1f7c4f30339c2e465f857b19491_aac49053-643e-4bb8-8a34-6214f1ea1e7f.webp?v=1714710149"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bc21cc13c9a44ff018f3987d0c6552e139b86fa_7d9d7b41-ddfc-4622-baac-f747d0466874.webp?v=1714710127","options":["color"],"media":[{"alt":null,"id":23876393730147,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bc21cc13c9a44ff018f3987d0c6552e139b86fa_7d9d7b41-ddfc-4622-baac-f747d0466874.webp?v=1714710127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bc21cc13c9a44ff018f3987d0c6552e139b86fa_7d9d7b41-ddfc-4622-baac-f747d0466874.webp?v=1714710127","width":2000},{"alt":null,"id":23876394123363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb32d4bb8a8cb1ada462fb5de66c143b00b76ed_dc3afd5b-5232-46b1-af17-7c8443dc745f.webp?v=1714710129"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb32d4bb8a8cb1ada462fb5de66c143b00b76ed_dc3afd5b-5232-46b1-af17-7c8443dc745f.webp?v=1714710129","width":2000},{"alt":null,"id":23876394745955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e02c00701988079dd06ab3f70c120701890ba401_a88d2a94-f443-4c54-93a2-720d056a429b.webp?v=1714710132"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e02c00701988079dd06ab3f70c120701890ba401_a88d2a94-f443-4c54-93a2-720d056a429b.webp?v=1714710132","width":2000},{"alt":null,"id":23876395171939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9579b6156339a8e87e1b3108b073033638f8d45_f3d59d8a-9986-4544-881a-875b95255b06.webp?v=1714710134"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9579b6156339a8e87e1b3108b073033638f8d45_f3d59d8a-9986-4544-881a-875b95255b06.webp?v=1714710134","width":2000},{"alt":null,"id":23876395696227,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcda4511c05516370c4b70e686dd2f240003c469_2ae121e5-fdb5-438e-bbc3-9cb942a35a35.webp?v=1714710137"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcda4511c05516370c4b70e686dd2f240003c469_2ae121e5-fdb5-438e-bbc3-9cb942a35a35.webp?v=1714710137","width":2000},{"alt":null,"id":23876396449891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/655beeb8e548e9947f3cca6eb3c025ea87f4e0df_5b214b7b-1667-4169-a1bb-29f01edcbee2.webp?v=1714710139"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/655beeb8e548e9947f3cca6eb3c025ea87f4e0df_5b214b7b-1667-4169-a1bb-29f01edcbee2.webp?v=1714710139","width":2000},{"alt":null,"id":23876397072483,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ef9094f380df030a8ce6d75402a7ad40f484e8_6f294e40-8637-492f-9c5d-985e6eab4e35.webp?v=1714710142"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ef9094f380df030a8ce6d75402a7ad40f484e8_6f294e40-8637-492f-9c5d-985e6eab4e35.webp?v=1714710142","width":2000},{"alt":null,"id":23876397432931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762c7053c65d774c30fef9c2df125882f2ef9d9c_7c56ba8b-62c0-4f16-a09a-4194a1e8570f.webp?v=1714710144"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762c7053c65d774c30fef9c2df125882f2ef9d9c_7c56ba8b-62c0-4f16-a09a-4194a1e8570f.webp?v=1714710144","width":2000},{"alt":null,"id":23876398153827,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f3b13583a667e75ba3884a178ef1e8be1646dd_31930e05-9195-4ce1-8e03-e9be70f54513.webp?v=1714710146"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f3b13583a667e75ba3884a178ef1e8be1646dd_31930e05-9195-4ce1-8e03-e9be70f54513.webp?v=1714710146","width":2000},{"alt":null,"id":23876398645347,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/433c07d9562ba1f7c4f30339c2e465f857b19491_aac49053-643e-4bb8-8a34-6214f1ea1e7f.webp?v=1714710149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/433c07d9562ba1f7c4f30339c2e465f857b19491_aac49053-643e-4bb8-8a34-6214f1ea1e7f.webp?v=1714710149","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41883924529251,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB99","requires_shipping":true,"taxable":true,"featured_image":{"id":31471487713379,"product_id":7408213524579,"position":2,"created_at":"2024-05-03T12:22:09+08:00","updated_at":"2024-05-03T12:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb32d4bb8a8cb1ada462fb5de66c143b00b76ed_dc3afd5b-5232-46b1-af17-7c8443dc745f.webp?v=1714710129","variant_ids":[41883924529251]},"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-PB99","featured_media":{"alt":null,"id":23876394123363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb32d4bb8a8cb1ada462fb5de66c143b00b76ed_dc3afd5b-5232-46b1-af17-7c8443dc745f.webp?v=1714710129"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883924594787,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB99","requires_shipping":true,"taxable":true,"featured_image":{"id":31471487254627,"product_id":7408213524579,"position":1,"created_at":"2024-05-03T12:22:07+08:00","updated_at":"2024-05-03T12:22:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bc21cc13c9a44ff018f3987d0c6552e139b86fa_7d9d7b41-ddfc-4622-baac-f747d0466874.webp?v=1714710127","variant_ids":[41883924594787]},"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-PB99","featured_media":{"alt":null,"id":23876393730147,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bc21cc13c9a44ff018f3987d0c6552e139b86fa_7d9d7b41-ddfc-4622-baac-f747d0466874.webp?v=1714710127"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883924988003,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB99","requires_shipping":true,"taxable":true,"featured_image":{"id":31471489220707,"product_id":7408213524579,"position":5,"created_at":"2024-05-03T12:22:17+08:00","updated_at":"2024-05-03T12:22:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcda4511c05516370c4b70e686dd2f240003c469_2ae121e5-fdb5-438e-bbc3-9cb942a35a35.webp?v=1714710137","variant_ids":[41883924988003]},"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-PB99","featured_media":{"alt":null,"id":23876395696227,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcda4511c05516370c4b70e686dd2f240003c469_2ae121e5-fdb5-438e-bbc3-9cb942a35a35.webp?v=1714710137"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41883924529251,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB99","requires_shipping":true,"taxable":true,"featured_image":{"id":31471487713379,"product_id":7408213524579,"position":2,"created_at":"2024-05-03T12:22:09+08:00","updated_at":"2024-05-03T12:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb32d4bb8a8cb1ada462fb5de66c143b00b76ed_dc3afd5b-5232-46b1-af17-7c8443dc745f.webp?v=1714710129","variant_ids":[41883924529251]},"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-PB99","featured_media":{"alt":null,"id":23876394123363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb32d4bb8a8cb1ada462fb5de66c143b00b76ed_dc3afd5b-5232-46b1-af17-7c8443dc745f.webp?v=1714710129"}},"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: "停產"
}