$product = {"id":7408123707491,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍","handle":"iphone-13-mini-mod-nx-printable-pb32","description":null,"published_at":"2024-06-11T16:32:01+08:00","created_at":"2024-05-03T12:04:30+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":41882946273379,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31471252439139,"product_id":7408123707491,"position":7,"created_at":"2024-05-03T12:04:48+08:00","updated_at":"2024-05-03T12:04:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e9fcb5ea8dd487e9075570fa4bd8aaefa04e25a_23c35afd-3f67-47f3-b4ca-f2d1af944fbe.webp?v=1714709088","variant_ids":[41882946273379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23876157898851,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e9fcb5ea8dd487e9075570fa4bd8aaefa04e25a_23c35afd-3f67-47f3-b4ca-f2d1af944fbe.webp?v=1714709088"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882946338915,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31471249784931,"product_id":7408123707491,"position":2,"created_at":"2024-05-03T12:04:36+08:00","updated_at":"2024-05-03T12:04:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b6f1dbf8bc533250f034e07421bfd1a7cf06bc_846ee4e8-c74c-4743-a26c-fd69795acfcf.webp?v=1714709076","variant_ids":[41882946338915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23876155310179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b6f1dbf8bc533250f034e07421bfd1a7cf06bc_846ee4e8-c74c-4743-a26c-fd69795acfcf.webp?v=1714709076"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882946568291,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31471250374755,"product_id":7408123707491,"position":3,"created_at":"2024-05-03T12:04:38+08:00","updated_at":"2024-05-03T12:04:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d874744d24c52d45d609d4c3a350f280fbdba3_8d370aaa-17d3-468e-8022-0b66a474cf05.webp?v=1714709078","variant_ids":[41882946568291]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23876155834467,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d874744d24c52d45d609d4c3a350f280fbdba3_8d370aaa-17d3-468e-8022-0b66a474cf05.webp?v=1714709078"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/769486e27ebebc58758cf82beb6558ca2e722b51_37b8e7ce-5702-45d0-bd3e-a62688553f1e.webp?v=1714709073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b6f1dbf8bc533250f034e07421bfd1a7cf06bc_846ee4e8-c74c-4743-a26c-fd69795acfcf.webp?v=1714709076","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d874744d24c52d45d609d4c3a350f280fbdba3_8d370aaa-17d3-468e-8022-0b66a474cf05.webp?v=1714709078","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ba8e3afa5240f4ca2f5425a016c24817d1d61e_4643353d-d9ed-46ea-9afe-4ffa0dbf3ddf.webp?v=1714709080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40b51c39027a42350727628722ba05cc88956db2_134d4a8a-8179-49fc-b67d-b816d5acf8da.webp?v=1714709083","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e3f3b914b4020af972a59d7ec3158c2d3e8050_eb632c7a-844e-464e-9ef6-40b8802efa65.webp?v=1714709085","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e9fcb5ea8dd487e9075570fa4bd8aaefa04e25a_23c35afd-3f67-47f3-b4ca-f2d1af944fbe.webp?v=1714709088","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ef600fe1793969fe4b240786f57fd7543806498_071e0de2-af2c-41f0-a9cc-851d840e37e5.webp?v=1714709091","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b90faf4880b5602a2952c00b6aee416b9e86c8d_48c294d6-b215-40a3-993b-78dbb576d5e0.webp?v=1714709093","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/829a8502c902f7cc8516008711e114adb76dacae_3ee62d9b-20c5-45b5-94fd-4d71acb806e6.webp?v=1714709096"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/769486e27ebebc58758cf82beb6558ca2e722b51_37b8e7ce-5702-45d0-bd3e-a62688553f1e.webp?v=1714709073","options":["color"],"media":[{"alt":null,"id":23876154687587,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/769486e27ebebc58758cf82beb6558ca2e722b51_37b8e7ce-5702-45d0-bd3e-a62688553f1e.webp?v=1714709073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/769486e27ebebc58758cf82beb6558ca2e722b51_37b8e7ce-5702-45d0-bd3e-a62688553f1e.webp?v=1714709073","width":2000},{"alt":null,"id":23876155310179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b6f1dbf8bc533250f034e07421bfd1a7cf06bc_846ee4e8-c74c-4743-a26c-fd69795acfcf.webp?v=1714709076"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b6f1dbf8bc533250f034e07421bfd1a7cf06bc_846ee4e8-c74c-4743-a26c-fd69795acfcf.webp?v=1714709076","width":2000},{"alt":null,"id":23876155834467,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d874744d24c52d45d609d4c3a350f280fbdba3_8d370aaa-17d3-468e-8022-0b66a474cf05.webp?v=1714709078"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d874744d24c52d45d609d4c3a350f280fbdba3_8d370aaa-17d3-468e-8022-0b66a474cf05.webp?v=1714709078","width":2000},{"alt":null,"id":23876156325987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ba8e3afa5240f4ca2f5425a016c24817d1d61e_4643353d-d9ed-46ea-9afe-4ffa0dbf3ddf.webp?v=1714709080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ba8e3afa5240f4ca2f5425a016c24817d1d61e_4643353d-d9ed-46ea-9afe-4ffa0dbf3ddf.webp?v=1714709080","width":2000},{"alt":null,"id":23876156883043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40b51c39027a42350727628722ba05cc88956db2_134d4a8a-8179-49fc-b67d-b816d5acf8da.webp?v=1714709083"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40b51c39027a42350727628722ba05cc88956db2_134d4a8a-8179-49fc-b67d-b816d5acf8da.webp?v=1714709083","width":2000},{"alt":null,"id":23876157407331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e3f3b914b4020af972a59d7ec3158c2d3e8050_eb632c7a-844e-464e-9ef6-40b8802efa65.webp?v=1714709085"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e3f3b914b4020af972a59d7ec3158c2d3e8050_eb632c7a-844e-464e-9ef6-40b8802efa65.webp?v=1714709085","width":2000},{"alt":null,"id":23876157898851,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e9fcb5ea8dd487e9075570fa4bd8aaefa04e25a_23c35afd-3f67-47f3-b4ca-f2d1af944fbe.webp?v=1714709088"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e9fcb5ea8dd487e9075570fa4bd8aaefa04e25a_23c35afd-3f67-47f3-b4ca-f2d1af944fbe.webp?v=1714709088","width":2000},{"alt":null,"id":23876158455907,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ef600fe1793969fe4b240786f57fd7543806498_071e0de2-af2c-41f0-a9cc-851d840e37e5.webp?v=1714709091"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ef600fe1793969fe4b240786f57fd7543806498_071e0de2-af2c-41f0-a9cc-851d840e37e5.webp?v=1714709091","width":2000},{"alt":null,"id":23876158947427,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b90faf4880b5602a2952c00b6aee416b9e86c8d_48c294d6-b215-40a3-993b-78dbb576d5e0.webp?v=1714709093"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b90faf4880b5602a2952c00b6aee416b9e86c8d_48c294d6-b215-40a3-993b-78dbb576d5e0.webp?v=1714709093","width":2000},{"alt":null,"id":23876159504483,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/829a8502c902f7cc8516008711e114adb76dacae_3ee62d9b-20c5-45b5-94fd-4d71acb806e6.webp?v=1714709096"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/829a8502c902f7cc8516008711e114adb76dacae_3ee62d9b-20c5-45b5-94fd-4d71acb806e6.webp?v=1714709096","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41882946273379,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31471252439139,"product_id":7408123707491,"position":7,"created_at":"2024-05-03T12:04:48+08:00","updated_at":"2024-05-03T12:04:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e9fcb5ea8dd487e9075570fa4bd8aaefa04e25a_23c35afd-3f67-47f3-b4ca-f2d1af944fbe.webp?v=1714709088","variant_ids":[41882946273379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23876157898851,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e9fcb5ea8dd487e9075570fa4bd8aaefa04e25a_23c35afd-3f67-47f3-b4ca-f2d1af944fbe.webp?v=1714709088"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882946338915,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31471249784931,"product_id":7408123707491,"position":2,"created_at":"2024-05-03T12:04:36+08:00","updated_at":"2024-05-03T12:04:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b6f1dbf8bc533250f034e07421bfd1a7cf06bc_846ee4e8-c74c-4743-a26c-fd69795acfcf.webp?v=1714709076","variant_ids":[41882946338915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23876155310179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b6f1dbf8bc533250f034e07421bfd1a7cf06bc_846ee4e8-c74c-4743-a26c-fd69795acfcf.webp?v=1714709076"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882946568291,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31471250374755,"product_id":7408123707491,"position":3,"created_at":"2024-05-03T12:04:38+08:00","updated_at":"2024-05-03T12:04:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d874744d24c52d45d609d4c3a350f280fbdba3_8d370aaa-17d3-468e-8022-0b66a474cf05.webp?v=1714709078","variant_ids":[41882946568291]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23876155834467,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d874744d24c52d45d609d4c3a350f280fbdba3_8d370aaa-17d3-468e-8022-0b66a474cf05.webp?v=1714709078"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41882946273379,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31471252439139,"product_id":7408123707491,"position":7,"created_at":"2024-05-03T12:04:48+08:00","updated_at":"2024-05-03T12:04:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e9fcb5ea8dd487e9075570fa4bd8aaefa04e25a_23c35afd-3f67-47f3-b4ca-f2d1af944fbe.webp?v=1714709088","variant_ids":[41882946273379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23876157898851,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e9fcb5ea8dd487e9075570fa4bd8aaefa04e25a_23c35afd-3f67-47f3-b4ca-f2d1af944fbe.webp?v=1714709088"}},"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: "停產"
}