$product = {"id":7407898919011,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - Logo貼紙款","handle":"iphone-14-pro-mod-nx-printable-sb04","description":null,"published_at":"2024-06-11T16:25:58+08:00","created_at":"2024-05-03T11:11:57+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-batman","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":41880254283875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470648524899,"product_id":7407898919011,"position":2,"created_at":"2024-05-03T11:12:02+08:00","updated_at":"2024-05-03T11:12:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecd2f53eeebf072a34571edb9cd5690632498be6_9b44e3d7-beed-48b8-9cc4-b7bf12ee8ecb.webp?v=1714705922","variant_ids":[41880254283875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - Logo貼紙款 - 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":"NPB0126224-SB04","featured_media":{"alt":null,"id":23875552477283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecd2f53eeebf072a34571edb9cd5690632498be6_9b44e3d7-beed-48b8-9cc4-b7bf12ee8ecb.webp?v=1714705922"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880254349411,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470649016419,"product_id":7407898919011,"position":3,"created_at":"2024-05-03T11:12:05+08:00","updated_at":"2024-05-03T11:12:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea340df8e0bc5c7682b3b1f8dda5cdb9e88ed021_3a6a0dd9-b810-4197-b9b2-6aeb04cbe672.webp?v=1714705925","variant_ids":[41880254349411]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - Logo貼紙款 - 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":"NPB0126204-SB04","featured_media":{"alt":null,"id":23875553034339,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea340df8e0bc5c7682b3b1f8dda5cdb9e88ed021_3a6a0dd9-b810-4197-b9b2-6aeb04cbe672.webp?v=1714705925"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880254578787,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470652424291,"product_id":7407898919011,"position":9,"created_at":"2024-05-03T11:12:20+08:00","updated_at":"2024-05-03T11:12:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b008669a8446dd0eb2475e27f95bfa391cb9d0c_6bf8e3cb-6a71-4a54-a227-58ba03d9b443.webp?v=1714705940","variant_ids":[41880254578787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - Logo貼紙款 - 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":"NPB01262J5-SB04","featured_media":{"alt":null,"id":23875556442211,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b008669a8446dd0eb2475e27f95bfa391cb9d0c_6bf8e3cb-6a71-4a54-a227-58ba03d9b443.webp?v=1714705940"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f154d2834bccfebf248f3f7d7e665eadcdd1688_d32abca9-d273-4925-957d-a9dc922ad03d.webp?v=1714705920","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecd2f53eeebf072a34571edb9cd5690632498be6_9b44e3d7-beed-48b8-9cc4-b7bf12ee8ecb.webp?v=1714705922","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea340df8e0bc5c7682b3b1f8dda5cdb9e88ed021_3a6a0dd9-b810-4197-b9b2-6aeb04cbe672.webp?v=1714705925","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b6267c284892eee74640e0035bb5a3a162ac0c_4f34db56-b49c-4503-bc26-8d7207ca7bc1.webp?v=1714705928","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654eb4abb159cd7a445cd9892c8a06603de531a9_f50e1b9f-2a5b-44cd-b528-480fdd72a990.webp?v=1714705930","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a1c7d92c1181c6a553954515e7a1e44cda65415_58bb66cb-fc9a-4bdd-8155-eaf65cb761d0.webp?v=1714705933","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14aa549e1db971d3e3d087a26ac8e93ed7cff2e2_21b5b48b-1506-4557-82e7-ab3cdead5a9e.webp?v=1714705935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/937e9bedf809fd73bdfb6a3655eeaea9748092f1_87cb5c41-8d4b-4445-8367-d1f2da7de41e.webp?v=1714705938","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b008669a8446dd0eb2475e27f95bfa391cb9d0c_6bf8e3cb-6a71-4a54-a227-58ba03d9b443.webp?v=1714705940","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d2bed5884f335f23d08086009af86e27d161bf_019b3f89-dace-40f2-ba41-2ca150f140b2.webp?v=1714705943"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f154d2834bccfebf248f3f7d7e665eadcdd1688_d32abca9-d273-4925-957d-a9dc922ad03d.webp?v=1714705920","options":["color"],"media":[{"alt":null,"id":23875552018531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f154d2834bccfebf248f3f7d7e665eadcdd1688_d32abca9-d273-4925-957d-a9dc922ad03d.webp?v=1714705920"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f154d2834bccfebf248f3f7d7e665eadcdd1688_d32abca9-d273-4925-957d-a9dc922ad03d.webp?v=1714705920","width":2000},{"alt":null,"id":23875552477283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecd2f53eeebf072a34571edb9cd5690632498be6_9b44e3d7-beed-48b8-9cc4-b7bf12ee8ecb.webp?v=1714705922"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecd2f53eeebf072a34571edb9cd5690632498be6_9b44e3d7-beed-48b8-9cc4-b7bf12ee8ecb.webp?v=1714705922","width":2000},{"alt":null,"id":23875553034339,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea340df8e0bc5c7682b3b1f8dda5cdb9e88ed021_3a6a0dd9-b810-4197-b9b2-6aeb04cbe672.webp?v=1714705925"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea340df8e0bc5c7682b3b1f8dda5cdb9e88ed021_3a6a0dd9-b810-4197-b9b2-6aeb04cbe672.webp?v=1714705925","width":2000},{"alt":null,"id":23875553460323,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b6267c284892eee74640e0035bb5a3a162ac0c_4f34db56-b49c-4503-bc26-8d7207ca7bc1.webp?v=1714705928"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b6267c284892eee74640e0035bb5a3a162ac0c_4f34db56-b49c-4503-bc26-8d7207ca7bc1.webp?v=1714705928","width":2000},{"alt":null,"id":23875554213987,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654eb4abb159cd7a445cd9892c8a06603de531a9_f50e1b9f-2a5b-44cd-b528-480fdd72a990.webp?v=1714705930"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654eb4abb159cd7a445cd9892c8a06603de531a9_f50e1b9f-2a5b-44cd-b528-480fdd72a990.webp?v=1714705930","width":2000},{"alt":null,"id":23875554738275,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a1c7d92c1181c6a553954515e7a1e44cda65415_58bb66cb-fc9a-4bdd-8155-eaf65cb761d0.webp?v=1714705933"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a1c7d92c1181c6a553954515e7a1e44cda65415_58bb66cb-fc9a-4bdd-8155-eaf65cb761d0.webp?v=1714705933","width":2000},{"alt":null,"id":23875555393635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14aa549e1db971d3e3d087a26ac8e93ed7cff2e2_21b5b48b-1506-4557-82e7-ab3cdead5a9e.webp?v=1714705935"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14aa549e1db971d3e3d087a26ac8e93ed7cff2e2_21b5b48b-1506-4557-82e7-ab3cdead5a9e.webp?v=1714705935","width":2000},{"alt":null,"id":23875555852387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/937e9bedf809fd73bdfb6a3655eeaea9748092f1_87cb5c41-8d4b-4445-8367-d1f2da7de41e.webp?v=1714705938"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/937e9bedf809fd73bdfb6a3655eeaea9748092f1_87cb5c41-8d4b-4445-8367-d1f2da7de41e.webp?v=1714705938","width":2000},{"alt":null,"id":23875556442211,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b008669a8446dd0eb2475e27f95bfa391cb9d0c_6bf8e3cb-6a71-4a54-a227-58ba03d9b443.webp?v=1714705940"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b008669a8446dd0eb2475e27f95bfa391cb9d0c_6bf8e3cb-6a71-4a54-a227-58ba03d9b443.webp?v=1714705940","width":2000},{"alt":null,"id":23875556966499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d2bed5884f335f23d08086009af86e27d161bf_019b3f89-dace-40f2-ba41-2ca150f140b2.webp?v=1714705943"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d2bed5884f335f23d08086009af86e27d161bf_019b3f89-dace-40f2-ba41-2ca150f140b2.webp?v=1714705943","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41880254283875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470648524899,"product_id":7407898919011,"position":2,"created_at":"2024-05-03T11:12:02+08:00","updated_at":"2024-05-03T11:12:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecd2f53eeebf072a34571edb9cd5690632498be6_9b44e3d7-beed-48b8-9cc4-b7bf12ee8ecb.webp?v=1714705922","variant_ids":[41880254283875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - Logo貼紙款 - 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":"NPB0126224-SB04","featured_media":{"alt":null,"id":23875552477283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecd2f53eeebf072a34571edb9cd5690632498be6_9b44e3d7-beed-48b8-9cc4-b7bf12ee8ecb.webp?v=1714705922"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880254349411,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470649016419,"product_id":7407898919011,"position":3,"created_at":"2024-05-03T11:12:05+08:00","updated_at":"2024-05-03T11:12:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea340df8e0bc5c7682b3b1f8dda5cdb9e88ed021_3a6a0dd9-b810-4197-b9b2-6aeb04cbe672.webp?v=1714705925","variant_ids":[41880254349411]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - Logo貼紙款 - 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":"NPB0126204-SB04","featured_media":{"alt":null,"id":23875553034339,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea340df8e0bc5c7682b3b1f8dda5cdb9e88ed021_3a6a0dd9-b810-4197-b9b2-6aeb04cbe672.webp?v=1714705925"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880254578787,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470652424291,"product_id":7407898919011,"position":9,"created_at":"2024-05-03T11:12:20+08:00","updated_at":"2024-05-03T11:12:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b008669a8446dd0eb2475e27f95bfa391cb9d0c_6bf8e3cb-6a71-4a54-a227-58ba03d9b443.webp?v=1714705940","variant_ids":[41880254578787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - Logo貼紙款 - 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":"NPB01262J5-SB04","featured_media":{"alt":null,"id":23875556442211,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b008669a8446dd0eb2475e27f95bfa391cb9d0c_6bf8e3cb-6a71-4a54-a227-58ba03d9b443.webp?v=1714705940"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41880254283875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470648524899,"product_id":7407898919011,"position":2,"created_at":"2024-05-03T11:12:02+08:00","updated_at":"2024-05-03T11:12:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecd2f53eeebf072a34571edb9cd5690632498be6_9b44e3d7-beed-48b8-9cc4-b7bf12ee8ecb.webp?v=1714705922","variant_ids":[41880254283875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - Logo貼紙款 - 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":"NPB0126224-SB04","featured_media":{"alt":null,"id":23875552477283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecd2f53eeebf072a34571edb9cd5690632498be6_9b44e3d7-beed-48b8-9cc4-b7bf12ee8ecb.webp?v=1714705922"}},"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: "停產"
}