$product = {"id":7407851241571,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Pixel Jeff 皮傑 - 街頭狗狗","handle":"iphone-14-pro-mod-nx-printable-hq02","description":null,"published_at":"2024-06-11T16:24:36+08:00","created_at":"2024-05-03T11:02:26+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Pixel Jeff 皮傑","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-pixeljeff","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-pixeljeff","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":41879627956323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-HQ02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470525448291,"product_id":7407851241571,"position":8,"created_at":"2024-05-03T11:02:45+08:00","updated_at":"2024-05-03T11:02:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b76f1ff44cdefd79b39fee69b271a6580215ebd2_26c4238b-5964-4637-850d-df764c15cb5d.webp?v=1714705365","variant_ids":[41879627956323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Pixel Jeff 皮傑 - 街頭狗狗 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-HQ02","featured_media":{"alt":null,"id":23875429204067,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b76f1ff44cdefd79b39fee69b271a6580215ebd2_26c4238b-5964-4637-850d-df764c15cb5d.webp?v=1714705365"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879628021859,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-HQ02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470527381603,"product_id":7407851241571,"position":10,"created_at":"2024-05-03T11:02:49+08:00","updated_at":"2024-05-03T11:02:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bc045ee7e384ec88c529bba702f293fc2987e9_1fd399a6-0553-4652-96c6-c9da50bdf64e.webp?v=1714705369","variant_ids":[41879628021859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Pixel Jeff 皮傑 - 街頭狗狗 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-HQ02","featured_media":{"alt":null,"id":23875431137379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bc045ee7e384ec88c529bba702f293fc2987e9_1fd399a6-0553-4652-96c6-c9da50bdf64e.webp?v=1714705369"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879628284003,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-HQ02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470523842659,"product_id":7407851241571,"position":4,"created_at":"2024-05-03T11:02:35+08:00","updated_at":"2024-05-03T11:02:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358e68e763933abb00fd206825ff10d4a0d04de4_2d6c8626-c3d1-4457-b6a9-938a1309d7c4.webp?v=1714705355","variant_ids":[41879628284003]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Pixel Jeff 皮傑 - 街頭狗狗 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-HQ02","featured_media":{"alt":null,"id":23875427598435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358e68e763933abb00fd206825ff10d4a0d04de4_2d6c8626-c3d1-4457-b6a9-938a1309d7c4.webp?v=1714705355"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/479189eebd151e7477f0b599e3cff5caf91b2417_38766a6b-079c-4f5c-b938-4b252b4fbf9f.webp?v=1714705348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a47e5edb46bc43ba6cba7581234de7ec25ae2f81_bf93a71e-c49a-4cd8-abe7-8a333a693470.webp?v=1714705350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a7391c33756a6ead243679a17765f4dbefd01f_261fc789-d2db-42ce-bd5b-a71803497ded.webp?v=1714705353","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358e68e763933abb00fd206825ff10d4a0d04de4_2d6c8626-c3d1-4457-b6a9-938a1309d7c4.webp?v=1714705355","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3a61283c49e7731b15aafd3653b0b100115ccd1_5e92aadb-56d9-4b5f-a456-def530862894.webp?v=1714705358","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e77bfe9b0437e802647b8fa929e76f6397425fcf_215e49ca-5c8f-45e2-bd52-adb54fdd6150.webp?v=1714705360","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d26bcb6d5f482f9eef2a1da2e1eae510e97ca02_dbccf50e-4ebf-4e57-9471-3551afd858aa.webp?v=1714705362","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b76f1ff44cdefd79b39fee69b271a6580215ebd2_26c4238b-5964-4637-850d-df764c15cb5d.webp?v=1714705365","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e793630ace01083332456c6450e7050d8f701f74_7418291f-aa64-419b-b8dd-fe982150a71a.webp?v=1714705367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bc045ee7e384ec88c529bba702f293fc2987e9_1fd399a6-0553-4652-96c6-c9da50bdf64e.webp?v=1714705369"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/479189eebd151e7477f0b599e3cff5caf91b2417_38766a6b-079c-4f5c-b938-4b252b4fbf9f.webp?v=1714705348","options":["color"],"media":[{"alt":null,"id":23875426320483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/479189eebd151e7477f0b599e3cff5caf91b2417_38766a6b-079c-4f5c-b938-4b252b4fbf9f.webp?v=1714705348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/479189eebd151e7477f0b599e3cff5caf91b2417_38766a6b-079c-4f5c-b938-4b252b4fbf9f.webp?v=1714705348","width":2000},{"alt":null,"id":23875426713699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a47e5edb46bc43ba6cba7581234de7ec25ae2f81_bf93a71e-c49a-4cd8-abe7-8a333a693470.webp?v=1714705350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a47e5edb46bc43ba6cba7581234de7ec25ae2f81_bf93a71e-c49a-4cd8-abe7-8a333a693470.webp?v=1714705350","width":2000},{"alt":null,"id":23875427205219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a7391c33756a6ead243679a17765f4dbefd01f_261fc789-d2db-42ce-bd5b-a71803497ded.webp?v=1714705353"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a7391c33756a6ead243679a17765f4dbefd01f_261fc789-d2db-42ce-bd5b-a71803497ded.webp?v=1714705353","width":2000},{"alt":null,"id":23875427598435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358e68e763933abb00fd206825ff10d4a0d04de4_2d6c8626-c3d1-4457-b6a9-938a1309d7c4.webp?v=1714705355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358e68e763933abb00fd206825ff10d4a0d04de4_2d6c8626-c3d1-4457-b6a9-938a1309d7c4.webp?v=1714705355","width":2000},{"alt":null,"id":23875428122723,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3a61283c49e7731b15aafd3653b0b100115ccd1_5e92aadb-56d9-4b5f-a456-def530862894.webp?v=1714705358"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3a61283c49e7731b15aafd3653b0b100115ccd1_5e92aadb-56d9-4b5f-a456-def530862894.webp?v=1714705358","width":2000},{"alt":null,"id":23875428417635,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e77bfe9b0437e802647b8fa929e76f6397425fcf_215e49ca-5c8f-45e2-bd52-adb54fdd6150.webp?v=1714705360"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e77bfe9b0437e802647b8fa929e76f6397425fcf_215e49ca-5c8f-45e2-bd52-adb54fdd6150.webp?v=1714705360","width":2000},{"alt":null,"id":23875428909155,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d26bcb6d5f482f9eef2a1da2e1eae510e97ca02_dbccf50e-4ebf-4e57-9471-3551afd858aa.webp?v=1714705362"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d26bcb6d5f482f9eef2a1da2e1eae510e97ca02_dbccf50e-4ebf-4e57-9471-3551afd858aa.webp?v=1714705362","width":2000},{"alt":null,"id":23875429204067,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b76f1ff44cdefd79b39fee69b271a6580215ebd2_26c4238b-5964-4637-850d-df764c15cb5d.webp?v=1714705365"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b76f1ff44cdefd79b39fee69b271a6580215ebd2_26c4238b-5964-4637-850d-df764c15cb5d.webp?v=1714705365","width":2000},{"alt":null,"id":23875429990499,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e793630ace01083332456c6450e7050d8f701f74_7418291f-aa64-419b-b8dd-fe982150a71a.webp?v=1714705367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e793630ace01083332456c6450e7050d8f701f74_7418291f-aa64-419b-b8dd-fe982150a71a.webp?v=1714705367","width":2000},{"alt":null,"id":23875431137379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bc045ee7e384ec88c529bba702f293fc2987e9_1fd399a6-0553-4652-96c6-c9da50bdf64e.webp?v=1714705369"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bc045ee7e384ec88c529bba702f293fc2987e9_1fd399a6-0553-4652-96c6-c9da50bdf64e.webp?v=1714705369","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41879627956323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-HQ02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470525448291,"product_id":7407851241571,"position":8,"created_at":"2024-05-03T11:02:45+08:00","updated_at":"2024-05-03T11:02:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b76f1ff44cdefd79b39fee69b271a6580215ebd2_26c4238b-5964-4637-850d-df764c15cb5d.webp?v=1714705365","variant_ids":[41879627956323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Pixel Jeff 皮傑 - 街頭狗狗 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-HQ02","featured_media":{"alt":null,"id":23875429204067,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b76f1ff44cdefd79b39fee69b271a6580215ebd2_26c4238b-5964-4637-850d-df764c15cb5d.webp?v=1714705365"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879628021859,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-HQ02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470527381603,"product_id":7407851241571,"position":10,"created_at":"2024-05-03T11:02:49+08:00","updated_at":"2024-05-03T11:02:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bc045ee7e384ec88c529bba702f293fc2987e9_1fd399a6-0553-4652-96c6-c9da50bdf64e.webp?v=1714705369","variant_ids":[41879628021859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Pixel Jeff 皮傑 - 街頭狗狗 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-HQ02","featured_media":{"alt":null,"id":23875431137379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bc045ee7e384ec88c529bba702f293fc2987e9_1fd399a6-0553-4652-96c6-c9da50bdf64e.webp?v=1714705369"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879628284003,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-HQ02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470523842659,"product_id":7407851241571,"position":4,"created_at":"2024-05-03T11:02:35+08:00","updated_at":"2024-05-03T11:02:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358e68e763933abb00fd206825ff10d4a0d04de4_2d6c8626-c3d1-4457-b6a9-938a1309d7c4.webp?v=1714705355","variant_ids":[41879628284003]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Pixel Jeff 皮傑 - 街頭狗狗 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-HQ02","featured_media":{"alt":null,"id":23875427598435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358e68e763933abb00fd206825ff10d4a0d04de4_2d6c8626-c3d1-4457-b6a9-938a1309d7c4.webp?v=1714705355"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41879627956323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-HQ02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470525448291,"product_id":7407851241571,"position":8,"created_at":"2024-05-03T11:02:45+08:00","updated_at":"2024-05-03T11:02:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b76f1ff44cdefd79b39fee69b271a6580215ebd2_26c4238b-5964-4637-850d-df764c15cb5d.webp?v=1714705365","variant_ids":[41879627956323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Pixel Jeff 皮傑 - 街頭狗狗 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-HQ02","featured_media":{"alt":null,"id":23875429204067,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b76f1ff44cdefd79b39fee69b271a6580215ebd2_26c4238b-5964-4637-850d-df764c15cb5d.webp?v=1714705365"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}