$product = {"id":7411219169379,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - C3PO-經典","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb24","description":null,"published_at":"2024-06-11T17:39:05+08:00","created_at":"2024-05-04T23:47:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41896134672483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31479880253539,"product_id":7411219169379,"position":5,"created_at":"2024-05-04T23:47:54+08:00","updated_at":"2024-05-04T23:47:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c76f1dbd8594e8a579beb34e2014c63e81169403_9f45f2d8-e260-4d03-86f0-ddecc8568c71.webp?v=1714837674","variant_ids":[41896134672483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - C3PO-經典 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB24","featured_media":{"alt":null,"id":23885130629219,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c76f1dbd8594e8a579beb34e2014c63e81169403_9f45f2d8-e260-4d03-86f0-ddecc8568c71.webp?v=1714837674"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896134803555,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31479881334883,"product_id":7411219169379,"position":7,"created_at":"2024-05-04T23:47:59+08:00","updated_at":"2024-05-04T23:47:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f57230dabbf83c545621451b1ecbd2a3eac9fc0_6628a42f-ce37-4ec7-979d-59c257035d25.webp?v=1714837679","variant_ids":[41896134803555]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - C3PO-經典 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB24","featured_media":{"alt":null,"id":23885131710563,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f57230dabbf83c545621451b1ecbd2a3eac9fc0_6628a42f-ce37-4ec7-979d-59c257035d25.webp?v=1714837679"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896135393379,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31479879172195,"product_id":7411219169379,"position":3,"created_at":"2024-05-04T23:47:50+08:00","updated_at":"2024-05-04T23:47:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3dbdb984a8fdc151c46a63464607d8029b63113_1d973e1e-21e3-4046-a65a-05a4c67937f4.webp?v=1714837670","variant_ids":[41896135393379]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - C3PO-經典 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB24","featured_media":{"alt":null,"id":23885129547875,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3dbdb984a8fdc151c46a63464607d8029b63113_1d973e1e-21e3-4046-a65a-05a4c67937f4.webp?v=1714837670"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9871f521ea7adbc6c471597cd0c509971a2367c_08c2e616-a804-4226-bfad-74d75aa944fb.webp?v=1714837665","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af4d45e1fdf8a0c83191e44dc6a84706c59698c9_5d91de90-250b-4eb9-8aca-97a07cbbb0ee.webp?v=1714837668","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3dbdb984a8fdc151c46a63464607d8029b63113_1d973e1e-21e3-4046-a65a-05a4c67937f4.webp?v=1714837670","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8467845b48c83fbcfdc89b9cc3fbc59f92768d30_ac2e3322-bdaf-40f8-9c84-0e38aa6e2951.webp?v=1714837672","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c76f1dbd8594e8a579beb34e2014c63e81169403_9f45f2d8-e260-4d03-86f0-ddecc8568c71.webp?v=1714837674","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc5c34dfecfe885040b5b11c4ba3a21329c94da6_487366c1-25e8-4f5c-9b21-544ceeae2f4b.webp?v=1714837677","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f57230dabbf83c545621451b1ecbd2a3eac9fc0_6628a42f-ce37-4ec7-979d-59c257035d25.webp?v=1714837679","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fe4fe9832004ec3665fdc37e722d25adf2e1986_7bd34de5-cc20-4331-bbde-c8ac50d33077.webp?v=1714837681","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e462c650bc8ac141ab1b99b8009c7ae82e9645_f3d0c3c1-6e9e-4ae1-9004-3ce1f29e536b.webp?v=1714837683","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd2ec3ab6df3afa9ce257b3beb58729856285da5_7dd37f3f-b7ff-481b-a4ce-73ee2597ec21.webp?v=1714837686"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9871f521ea7adbc6c471597cd0c509971a2367c_08c2e616-a804-4226-bfad-74d75aa944fb.webp?v=1714837665","options":["color"],"media":[{"alt":null,"id":23885128564835,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9871f521ea7adbc6c471597cd0c509971a2367c_08c2e616-a804-4226-bfad-74d75aa944fb.webp?v=1714837665"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9871f521ea7adbc6c471597cd0c509971a2367c_08c2e616-a804-4226-bfad-74d75aa944fb.webp?v=1714837665","width":2000},{"alt":null,"id":23885129154659,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af4d45e1fdf8a0c83191e44dc6a84706c59698c9_5d91de90-250b-4eb9-8aca-97a07cbbb0ee.webp?v=1714837668"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af4d45e1fdf8a0c83191e44dc6a84706c59698c9_5d91de90-250b-4eb9-8aca-97a07cbbb0ee.webp?v=1714837668","width":2000},{"alt":null,"id":23885129547875,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3dbdb984a8fdc151c46a63464607d8029b63113_1d973e1e-21e3-4046-a65a-05a4c67937f4.webp?v=1714837670"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3dbdb984a8fdc151c46a63464607d8029b63113_1d973e1e-21e3-4046-a65a-05a4c67937f4.webp?v=1714837670","width":2000},{"alt":null,"id":23885130104931,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8467845b48c83fbcfdc89b9cc3fbc59f92768d30_ac2e3322-bdaf-40f8-9c84-0e38aa6e2951.webp?v=1714837672"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8467845b48c83fbcfdc89b9cc3fbc59f92768d30_ac2e3322-bdaf-40f8-9c84-0e38aa6e2951.webp?v=1714837672","width":2000},{"alt":null,"id":23885130629219,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c76f1dbd8594e8a579beb34e2014c63e81169403_9f45f2d8-e260-4d03-86f0-ddecc8568c71.webp?v=1714837674"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c76f1dbd8594e8a579beb34e2014c63e81169403_9f45f2d8-e260-4d03-86f0-ddecc8568c71.webp?v=1714837674","width":2000},{"alt":null,"id":23885131219043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc5c34dfecfe885040b5b11c4ba3a21329c94da6_487366c1-25e8-4f5c-9b21-544ceeae2f4b.webp?v=1714837677"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc5c34dfecfe885040b5b11c4ba3a21329c94da6_487366c1-25e8-4f5c-9b21-544ceeae2f4b.webp?v=1714837677","width":2000},{"alt":null,"id":23885131710563,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f57230dabbf83c545621451b1ecbd2a3eac9fc0_6628a42f-ce37-4ec7-979d-59c257035d25.webp?v=1714837679"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f57230dabbf83c545621451b1ecbd2a3eac9fc0_6628a42f-ce37-4ec7-979d-59c257035d25.webp?v=1714837679","width":2000},{"alt":null,"id":23885132071011,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fe4fe9832004ec3665fdc37e722d25adf2e1986_7bd34de5-cc20-4331-bbde-c8ac50d33077.webp?v=1714837681"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fe4fe9832004ec3665fdc37e722d25adf2e1986_7bd34de5-cc20-4331-bbde-c8ac50d33077.webp?v=1714837681","width":2000},{"alt":null,"id":23885132529763,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e462c650bc8ac141ab1b99b8009c7ae82e9645_f3d0c3c1-6e9e-4ae1-9004-3ce1f29e536b.webp?v=1714837683"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e462c650bc8ac141ab1b99b8009c7ae82e9645_f3d0c3c1-6e9e-4ae1-9004-3ce1f29e536b.webp?v=1714837683","width":2000},{"alt":null,"id":23885133054051,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd2ec3ab6df3afa9ce257b3beb58729856285da5_7dd37f3f-b7ff-481b-a4ce-73ee2597ec21.webp?v=1714837686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd2ec3ab6df3afa9ce257b3beb58729856285da5_7dd37f3f-b7ff-481b-a4ce-73ee2597ec21.webp?v=1714837686","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41896134672483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31479880253539,"product_id":7411219169379,"position":5,"created_at":"2024-05-04T23:47:54+08:00","updated_at":"2024-05-04T23:47:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c76f1dbd8594e8a579beb34e2014c63e81169403_9f45f2d8-e260-4d03-86f0-ddecc8568c71.webp?v=1714837674","variant_ids":[41896134672483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - C3PO-經典 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB24","featured_media":{"alt":null,"id":23885130629219,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c76f1dbd8594e8a579beb34e2014c63e81169403_9f45f2d8-e260-4d03-86f0-ddecc8568c71.webp?v=1714837674"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896134803555,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31479881334883,"product_id":7411219169379,"position":7,"created_at":"2024-05-04T23:47:59+08:00","updated_at":"2024-05-04T23:47:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f57230dabbf83c545621451b1ecbd2a3eac9fc0_6628a42f-ce37-4ec7-979d-59c257035d25.webp?v=1714837679","variant_ids":[41896134803555]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - C3PO-經典 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB24","featured_media":{"alt":null,"id":23885131710563,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f57230dabbf83c545621451b1ecbd2a3eac9fc0_6628a42f-ce37-4ec7-979d-59c257035d25.webp?v=1714837679"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896135393379,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31479879172195,"product_id":7411219169379,"position":3,"created_at":"2024-05-04T23:47:50+08:00","updated_at":"2024-05-04T23:47:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3dbdb984a8fdc151c46a63464607d8029b63113_1d973e1e-21e3-4046-a65a-05a4c67937f4.webp?v=1714837670","variant_ids":[41896135393379]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - C3PO-經典 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB24","featured_media":{"alt":null,"id":23885129547875,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3dbdb984a8fdc151c46a63464607d8029b63113_1d973e1e-21e3-4046-a65a-05a4c67937f4.webp?v=1714837670"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41896134672483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31479880253539,"product_id":7411219169379,"position":5,"created_at":"2024-05-04T23:47:54+08:00","updated_at":"2024-05-04T23:47:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c76f1dbd8594e8a579beb34e2014c63e81169403_9f45f2d8-e260-4d03-86f0-ddecc8568c71.webp?v=1714837674","variant_ids":[41896134672483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - C3PO-經典 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB24","featured_media":{"alt":null,"id":23885130629219,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c76f1dbd8594e8a579beb34e2014c63e81169403_9f45f2d8-e260-4d03-86f0-ddecc8568c71.webp?v=1714837674"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}