$product = {"id":7408054927459,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 天行者路克-復古系列","handle":"iphone-13-mini-mod-nx-printable-pb97","description":null,"published_at":"2024-06-11T16:30:10+08:00","created_at":"2024-05-03T11:50:14+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":41882172522595,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31471080439907,"product_id":7408054927459,"position":10,"created_at":"2024-05-03T11:50:38+08:00","updated_at":"2024-05-03T11:50:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d88c8aeadbbc20fb3b38838b648235f9b9b1636a_995fb75c-9fea-417b-b8f4-eae591e493fa.webp?v=1714708238","variant_ids":[41882172522595]},"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-PB97","featured_media":{"alt":null,"id":23875985571939,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d88c8aeadbbc20fb3b38838b648235f9b9b1636a_995fb75c-9fea-417b-b8f4-eae591e493fa.webp?v=1714708238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882172588131,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31471080079459,"product_id":7408054927459,"position":9,"created_at":"2024-05-03T11:50:36+08:00","updated_at":"2024-05-03T11:50:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c49d6fc3337143a697521f909b13cd54b3b8cf0e_de68932b-075a-4a39-9411-ec5e0b483576.webp?v=1714708236","variant_ids":[41882172588131]},"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-PB97","featured_media":{"alt":null,"id":23875985145955,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c49d6fc3337143a697521f909b13cd54b3b8cf0e_de68932b-075a-4a39-9411-ec5e0b483576.webp?v=1714708236"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882172817507,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31471079391331,"product_id":7408054927459,"position":8,"created_at":"2024-05-03T11:50:34+08:00","updated_at":"2024-05-03T11:50:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4493599c4b7759b329aaf30d1cc1a1205712994f_f345b687-8cb8-4136-af8f-849e67c64541.webp?v=1714708234","variant_ids":[41882172817507]},"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-PB97","featured_media":{"alt":null,"id":23875984588899,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4493599c4b7759b329aaf30d1cc1a1205712994f_f345b687-8cb8-4136-af8f-849e67c64541.webp?v=1714708234"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f250294f78c50481aaabc7e2ff12e496cf5521c_22690ac1-d8f0-49c1-a523-0b804b7e1ac8.webp?v=1714708217","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca4e55f52223de7de3c126feb8ec6a0e6656b26d_ba4bb146-a8ee-4f7d-b45a-61ae707d06a7.webp?v=1714708219","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15c27faec8b80dd8c7d1ce248008633d8e88e05e_d67bbaec-87ac-4613-a9d9-50f67758b76a.webp?v=1714708222","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/685a102a4992b4fcdbd22205bade6c0e67d14afe_a2669e5d-4233-483e-8d7b-a0d35af8f382.webp?v=1714708224","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/611dd3ada1cb15cfe3175315285bcccdf7c6655d_60ada268-5df2-4c04-9fb4-f16d0164a2cb.webp?v=1714708226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01b4ccd0fa31d8a54eb964d16e8c45a6fba63b4d_a04553ad-86ac-42ed-9c09-b2321c8a0015.webp?v=1714708229","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd91d0950792d4992d61960c15a909cfbd7ac0a_1b1a7e34-f248-4153-a3cf-65a37c50bbfa.webp?v=1714708231","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4493599c4b7759b329aaf30d1cc1a1205712994f_f345b687-8cb8-4136-af8f-849e67c64541.webp?v=1714708234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c49d6fc3337143a697521f909b13cd54b3b8cf0e_de68932b-075a-4a39-9411-ec5e0b483576.webp?v=1714708236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d88c8aeadbbc20fb3b38838b648235f9b9b1636a_995fb75c-9fea-417b-b8f4-eae591e493fa.webp?v=1714708238"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f250294f78c50481aaabc7e2ff12e496cf5521c_22690ac1-d8f0-49c1-a523-0b804b7e1ac8.webp?v=1714708217","options":["color"],"media":[{"alt":null,"id":23875981017187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f250294f78c50481aaabc7e2ff12e496cf5521c_22690ac1-d8f0-49c1-a523-0b804b7e1ac8.webp?v=1714708217"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f250294f78c50481aaabc7e2ff12e496cf5521c_22690ac1-d8f0-49c1-a523-0b804b7e1ac8.webp?v=1714708217","width":2000},{"alt":null,"id":23875981541475,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca4e55f52223de7de3c126feb8ec6a0e6656b26d_ba4bb146-a8ee-4f7d-b45a-61ae707d06a7.webp?v=1714708219"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca4e55f52223de7de3c126feb8ec6a0e6656b26d_ba4bb146-a8ee-4f7d-b45a-61ae707d06a7.webp?v=1714708219","width":2000},{"alt":null,"id":23875982000227,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15c27faec8b80dd8c7d1ce248008633d8e88e05e_d67bbaec-87ac-4613-a9d9-50f67758b76a.webp?v=1714708222"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15c27faec8b80dd8c7d1ce248008633d8e88e05e_d67bbaec-87ac-4613-a9d9-50f67758b76a.webp?v=1714708222","width":2000},{"alt":null,"id":23875982327907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/685a102a4992b4fcdbd22205bade6c0e67d14afe_a2669e5d-4233-483e-8d7b-a0d35af8f382.webp?v=1714708224"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/685a102a4992b4fcdbd22205bade6c0e67d14afe_a2669e5d-4233-483e-8d7b-a0d35af8f382.webp?v=1714708224","width":2000},{"alt":null,"id":23875982950499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/611dd3ada1cb15cfe3175315285bcccdf7c6655d_60ada268-5df2-4c04-9fb4-f16d0164a2cb.webp?v=1714708226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/611dd3ada1cb15cfe3175315285bcccdf7c6655d_60ada268-5df2-4c04-9fb4-f16d0164a2cb.webp?v=1714708226","width":2000},{"alt":null,"id":23875983409251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01b4ccd0fa31d8a54eb964d16e8c45a6fba63b4d_a04553ad-86ac-42ed-9c09-b2321c8a0015.webp?v=1714708229"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01b4ccd0fa31d8a54eb964d16e8c45a6fba63b4d_a04553ad-86ac-42ed-9c09-b2321c8a0015.webp?v=1714708229","width":2000},{"alt":null,"id":23875984130147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd91d0950792d4992d61960c15a909cfbd7ac0a_1b1a7e34-f248-4153-a3cf-65a37c50bbfa.webp?v=1714708231"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd91d0950792d4992d61960c15a909cfbd7ac0a_1b1a7e34-f248-4153-a3cf-65a37c50bbfa.webp?v=1714708231","width":2000},{"alt":null,"id":23875984588899,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4493599c4b7759b329aaf30d1cc1a1205712994f_f345b687-8cb8-4136-af8f-849e67c64541.webp?v=1714708234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4493599c4b7759b329aaf30d1cc1a1205712994f_f345b687-8cb8-4136-af8f-849e67c64541.webp?v=1714708234","width":2000},{"alt":null,"id":23875985145955,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c49d6fc3337143a697521f909b13cd54b3b8cf0e_de68932b-075a-4a39-9411-ec5e0b483576.webp?v=1714708236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c49d6fc3337143a697521f909b13cd54b3b8cf0e_de68932b-075a-4a39-9411-ec5e0b483576.webp?v=1714708236","width":2000},{"alt":null,"id":23875985571939,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d88c8aeadbbc20fb3b38838b648235f9b9b1636a_995fb75c-9fea-417b-b8f4-eae591e493fa.webp?v=1714708238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d88c8aeadbbc20fb3b38838b648235f9b9b1636a_995fb75c-9fea-417b-b8f4-eae591e493fa.webp?v=1714708238","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41882172522595,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31471080439907,"product_id":7408054927459,"position":10,"created_at":"2024-05-03T11:50:38+08:00","updated_at":"2024-05-03T11:50:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d88c8aeadbbc20fb3b38838b648235f9b9b1636a_995fb75c-9fea-417b-b8f4-eae591e493fa.webp?v=1714708238","variant_ids":[41882172522595]},"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-PB97","featured_media":{"alt":null,"id":23875985571939,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d88c8aeadbbc20fb3b38838b648235f9b9b1636a_995fb75c-9fea-417b-b8f4-eae591e493fa.webp?v=1714708238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882172588131,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31471080079459,"product_id":7408054927459,"position":9,"created_at":"2024-05-03T11:50:36+08:00","updated_at":"2024-05-03T11:50:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c49d6fc3337143a697521f909b13cd54b3b8cf0e_de68932b-075a-4a39-9411-ec5e0b483576.webp?v=1714708236","variant_ids":[41882172588131]},"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-PB97","featured_media":{"alt":null,"id":23875985145955,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c49d6fc3337143a697521f909b13cd54b3b8cf0e_de68932b-075a-4a39-9411-ec5e0b483576.webp?v=1714708236"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882172817507,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31471079391331,"product_id":7408054927459,"position":8,"created_at":"2024-05-03T11:50:34+08:00","updated_at":"2024-05-03T11:50:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4493599c4b7759b329aaf30d1cc1a1205712994f_f345b687-8cb8-4136-af8f-849e67c64541.webp?v=1714708234","variant_ids":[41882172817507]},"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-PB97","featured_media":{"alt":null,"id":23875984588899,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4493599c4b7759b329aaf30d1cc1a1205712994f_f345b687-8cb8-4136-af8f-849e67c64541.webp?v=1714708234"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41882172522595,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31471080439907,"product_id":7408054927459,"position":10,"created_at":"2024-05-03T11:50:38+08:00","updated_at":"2024-05-03T11:50:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d88c8aeadbbc20fb3b38838b648235f9b9b1636a_995fb75c-9fea-417b-b8f4-eae591e493fa.webp?v=1714708238","variant_ids":[41882172522595]},"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-PB97","featured_media":{"alt":null,"id":23875985571939,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d88c8aeadbbc20fb3b38838b648235f9b9b1636a_995fb75c-9fea-417b-b8f4-eae591e493fa.webp?v=1714708238"}},"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: "停產"
}