$product = {"id":7903411208291,"title":"iPhone 14 Pro Mod NX 變種吉娃娃 Godgwawa 吉速駕照","handle":"iphone-14-pro-mod-nx-printable-it36","description":null,"published_at":"2025-10-20T09:46:08+08:00","created_at":"2025-10-20T09:23:48+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-godgwawa","device-iPhone 14 Pro","merge","reseller-godgwawa"],"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":43786560110691,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126269-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672864264291,"product_id":7903411208291,"position":1,"created_at":"2025-10-20T09:24:04+08:00","updated_at":"2025-10-20T09:24:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da65a8ed1fbbb62cb962ae42d33cae29a2612635.webp?v=1760923446","variant_ids":[43786560110691]},"available":true,"name":"iPhone 14 Pro Mod NX 變種吉娃娃 Godgwawa 吉速駕照 - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126269-IT36","featured_media":{"alt":null,"id":26242123202659,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da65a8ed1fbbb62cb962ae42d33cae29a2612635.webp?v=1760923446"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786560372835,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672864985187,"product_id":7903411208291,"position":5,"created_at":"2025-10-20T09:24:07+08:00","updated_at":"2025-10-20T09:24:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e471fa3e0515e422e3beb4a07e615a2039ead7f.webp?v=1760923449","variant_ids":[43786560372835]},"available":true,"name":"iPhone 14 Pro Mod NX 變種吉娃娃 Godgwawa 吉速駕照 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-IT36","featured_media":{"alt":null,"id":26242123923555,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e471fa3e0515e422e3beb4a07e615a2039ead7f.webp?v=1760923449"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786560405603,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672865804387,"product_id":7903411208291,"position":9,"created_at":"2025-10-20T09:24:10+08:00","updated_at":"2025-10-20T09:24:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b0ffea2d4e258e0003813896a4ddd520cd9d448.webp?v=1760923452","variant_ids":[43786560405603]},"available":true,"name":"iPhone 14 Pro Mod NX 變種吉娃娃 Godgwawa 吉速駕照 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-IT36","featured_media":{"alt":null,"id":26242124742755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b0ffea2d4e258e0003813896a4ddd520cd9d448.webp?v=1760923452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786560438371,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672864821347,"product_id":7903411208291,"position":4,"created_at":"2025-10-20T09:24:06+08:00","updated_at":"2025-10-20T09:24:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6bb4f0acb08527d38ee504ab4b54f553d1295c6.webp?v=1760923448","variant_ids":[43786560438371]},"available":true,"name":"iPhone 14 Pro Mod NX 變種吉娃娃 Godgwawa 吉速駕照 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-IT36","featured_media":{"alt":null,"id":26242123759715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6bb4f0acb08527d38ee504ab4b54f553d1295c6.webp?v=1760923448"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da65a8ed1fbbb62cb962ae42d33cae29a2612635.webp?v=1760923446","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7266fe23eed0fe503d893e430ceb405b76c431b8.webp?v=1760923447","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeb341cfe03a4a252f511b823fdb1146503a515e.webp?v=1760923447","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6bb4f0acb08527d38ee504ab4b54f553d1295c6.webp?v=1760923448","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e471fa3e0515e422e3beb4a07e615a2039ead7f.webp?v=1760923449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c25405f16fdd273fb92814a6b8f9ad9d11c5956.webp?v=1760923449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dffbab179879fa7b61b0422ebc4c76f3dc32bd77.webp?v=1760923450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc287103d387355fb0026ad90a4830a7a1cd9c09.webp?v=1760923451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b0ffea2d4e258e0003813896a4ddd520cd9d448.webp?v=1760923452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd716c6aea87f22bfe03e5df108b55dc8e6c1f9e.webp?v=1760923453","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f72e6e8b60dc2372b8a60b73d2c3f8f8c4ee05f.webp?v=1760923453","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4018625bb3e18ca98077ed7abc71598d88c7b9ca.webp?v=1760923454"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da65a8ed1fbbb62cb962ae42d33cae29a2612635.webp?v=1760923446","options":["color"],"media":[{"alt":null,"id":26242123202659,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da65a8ed1fbbb62cb962ae42d33cae29a2612635.webp?v=1760923446"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da65a8ed1fbbb62cb962ae42d33cae29a2612635.webp?v=1760923446","width":2000},{"alt":null,"id":26242123366499,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7266fe23eed0fe503d893e430ceb405b76c431b8.webp?v=1760923447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7266fe23eed0fe503d893e430ceb405b76c431b8.webp?v=1760923447","width":2000},{"alt":null,"id":26242123563107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeb341cfe03a4a252f511b823fdb1146503a515e.webp?v=1760923447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeb341cfe03a4a252f511b823fdb1146503a515e.webp?v=1760923447","width":2000},{"alt":null,"id":26242123759715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6bb4f0acb08527d38ee504ab4b54f553d1295c6.webp?v=1760923448"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6bb4f0acb08527d38ee504ab4b54f553d1295c6.webp?v=1760923448","width":2000},{"alt":null,"id":26242123923555,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e471fa3e0515e422e3beb4a07e615a2039ead7f.webp?v=1760923449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e471fa3e0515e422e3beb4a07e615a2039ead7f.webp?v=1760923449","width":2000},{"alt":null,"id":26242124120163,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c25405f16fdd273fb92814a6b8f9ad9d11c5956.webp?v=1760923449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c25405f16fdd273fb92814a6b8f9ad9d11c5956.webp?v=1760923449","width":2000},{"alt":null,"id":26242124382307,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dffbab179879fa7b61b0422ebc4c76f3dc32bd77.webp?v=1760923450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dffbab179879fa7b61b0422ebc4c76f3dc32bd77.webp?v=1760923450","width":2000},{"alt":null,"id":26242124578915,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc287103d387355fb0026ad90a4830a7a1cd9c09.webp?v=1760923451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc287103d387355fb0026ad90a4830a7a1cd9c09.webp?v=1760923451","width":2000},{"alt":null,"id":26242124742755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b0ffea2d4e258e0003813896a4ddd520cd9d448.webp?v=1760923452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b0ffea2d4e258e0003813896a4ddd520cd9d448.webp?v=1760923452","width":2000},{"alt":null,"id":26242124939363,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd716c6aea87f22bfe03e5df108b55dc8e6c1f9e.webp?v=1760923453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd716c6aea87f22bfe03e5df108b55dc8e6c1f9e.webp?v=1760923453","width":2000},{"alt":null,"id":26242125103203,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f72e6e8b60dc2372b8a60b73d2c3f8f8c4ee05f.webp?v=1760923453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f72e6e8b60dc2372b8a60b73d2c3f8f8c4ee05f.webp?v=1760923453","width":2000},{"alt":null,"id":26242125234275,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4018625bb3e18ca98077ed7abc71598d88c7b9ca.webp?v=1760923454"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4018625bb3e18ca98077ed7abc71598d88c7b9ca.webp?v=1760923454","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43786560110691,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126269-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672864264291,"product_id":7903411208291,"position":1,"created_at":"2025-10-20T09:24:04+08:00","updated_at":"2025-10-20T09:24:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da65a8ed1fbbb62cb962ae42d33cae29a2612635.webp?v=1760923446","variant_ids":[43786560110691]},"available":true,"name":"iPhone 14 Pro Mod NX 變種吉娃娃 Godgwawa 吉速駕照 - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126269-IT36","featured_media":{"alt":null,"id":26242123202659,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da65a8ed1fbbb62cb962ae42d33cae29a2612635.webp?v=1760923446"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786560372835,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672864985187,"product_id":7903411208291,"position":5,"created_at":"2025-10-20T09:24:07+08:00","updated_at":"2025-10-20T09:24:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e471fa3e0515e422e3beb4a07e615a2039ead7f.webp?v=1760923449","variant_ids":[43786560372835]},"available":true,"name":"iPhone 14 Pro Mod NX 變種吉娃娃 Godgwawa 吉速駕照 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-IT36","featured_media":{"alt":null,"id":26242123923555,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e471fa3e0515e422e3beb4a07e615a2039ead7f.webp?v=1760923449"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786560405603,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672865804387,"product_id":7903411208291,"position":9,"created_at":"2025-10-20T09:24:10+08:00","updated_at":"2025-10-20T09:24:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b0ffea2d4e258e0003813896a4ddd520cd9d448.webp?v=1760923452","variant_ids":[43786560405603]},"available":true,"name":"iPhone 14 Pro Mod NX 變種吉娃娃 Godgwawa 吉速駕照 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-IT36","featured_media":{"alt":null,"id":26242124742755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b0ffea2d4e258e0003813896a4ddd520cd9d448.webp?v=1760923452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786560438371,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672864821347,"product_id":7903411208291,"position":4,"created_at":"2025-10-20T09:24:06+08:00","updated_at":"2025-10-20T09:24:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6bb4f0acb08527d38ee504ab4b54f553d1295c6.webp?v=1760923448","variant_ids":[43786560438371]},"available":true,"name":"iPhone 14 Pro Mod NX 變種吉娃娃 Godgwawa 吉速駕照 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-IT36","featured_media":{"alt":null,"id":26242123759715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6bb4f0acb08527d38ee504ab4b54f553d1295c6.webp?v=1760923448"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43786560110691,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126269-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672864264291,"product_id":7903411208291,"position":1,"created_at":"2025-10-20T09:24:04+08:00","updated_at":"2025-10-20T09:24:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da65a8ed1fbbb62cb962ae42d33cae29a2612635.webp?v=1760923446","variant_ids":[43786560110691]},"available":true,"name":"iPhone 14 Pro Mod NX 變種吉娃娃 Godgwawa 吉速駕照 - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126269-IT36","featured_media":{"alt":null,"id":26242123202659,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da65a8ed1fbbb62cb962ae42d33cae29a2612635.webp?v=1760923446"}},"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: "停產"
}