$product = {"id":7407774433379,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 波巴費特-推推-幽默系列","handle":"iphone-14-pro-mod-nx-printable-pc08","description":null,"published_at":"2024-06-11T16:23:02+08:00","created_at":"2024-05-03T10:50:18+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 14 Pro","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":41878673391715,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PC08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470363344995,"product_id":7407774433379,"position":5,"created_at":"2024-05-03T10:50:30+08:00","updated_at":"2024-05-03T10:50:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69378cf19055963cde33e847a9bec65bfb8c837d_99dbf252-41e1-4108-bfb4-08ae458db432.webp?v=1714704630","variant_ids":[41878673391715]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PC08","featured_media":{"alt":null,"id":23875266576483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69378cf19055963cde33e847a9bec65bfb8c837d_99dbf252-41e1-4108-bfb4-08ae458db432.webp?v=1714704630"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878673457251,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PC08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470366294115,"product_id":7407774433379,"position":10,"created_at":"2024-05-03T10:50:41+08:00","updated_at":"2024-05-03T10:50:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/575b36f1a25798f3cc86e72a706f469bb8a64e63_b62ab67c-eb53-437a-9cf0-e1f05fc706f5.webp?v=1714704641","variant_ids":[41878673457251]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PC08","featured_media":{"alt":null,"id":23875269525603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/575b36f1a25798f3cc86e72a706f469bb8a64e63_b62ab67c-eb53-437a-9cf0-e1f05fc706f5.webp?v=1714704641"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878673686627,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PC08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470362394723,"product_id":7407774433379,"position":4,"created_at":"2024-05-03T10:50:27+08:00","updated_at":"2024-05-03T10:50:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c09a828768b2f28a5eee6f058ec55b965875b7c_cedb7be8-03d3-4895-b280-72fa3a05af28.webp?v=1714704627","variant_ids":[41878673686627]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PC08","featured_media":{"alt":null,"id":23875263692899,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c09a828768b2f28a5eee6f058ec55b965875b7c_cedb7be8-03d3-4895-b280-72fa3a05af28.webp?v=1714704627"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0480e7a9541173e48086ab5f8cccafcaa245f35_57c2a004-eea8-476f-8e80-c483bd7ae937.webp?v=1714704620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/289bf48da936ceb7a65d3664fba686ed3b1d0bff_2d491cf0-83e7-4a83-bf7f-70894bd280a6.webp?v=1714704623","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3db4f49ec31946878b49a1d6d1a171c101019cb6_dcd6be97-679a-4ce8-8f2d-b4b195070c20.webp?v=1714704625","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c09a828768b2f28a5eee6f058ec55b965875b7c_cedb7be8-03d3-4895-b280-72fa3a05af28.webp?v=1714704627","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69378cf19055963cde33e847a9bec65bfb8c837d_99dbf252-41e1-4108-bfb4-08ae458db432.webp?v=1714704630","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b940eff561e562cc1ac1395c1f5ee3e83a28f1f6_6f008a9f-c9b6-4aa7-9b0a-b54abfec4d4e.webp?v=1714704632","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e626d4e7027a16ce44c3700fc647705ebba519_367d6685-3b81-4fd1-b9bb-e18eb1e4a936.webp?v=1714704634","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/691ccbcd92c7101d590680b0df86c0bf2dc874a1_f2c80031-b6e7-465a-b41d-a06ae8d13320.webp?v=1714704636","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd16ef53078a65bec5ba30be87b87ba7759a860a_292bf764-3b86-4620-aeed-b90efe079a1d.webp?v=1714704639","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/575b36f1a25798f3cc86e72a706f469bb8a64e63_b62ab67c-eb53-437a-9cf0-e1f05fc706f5.webp?v=1714704641"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0480e7a9541173e48086ab5f8cccafcaa245f35_57c2a004-eea8-476f-8e80-c483bd7ae937.webp?v=1714704620","options":["color"],"media":[{"alt":null,"id":23875261792355,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0480e7a9541173e48086ab5f8cccafcaa245f35_57c2a004-eea8-476f-8e80-c483bd7ae937.webp?v=1714704620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0480e7a9541173e48086ab5f8cccafcaa245f35_57c2a004-eea8-476f-8e80-c483bd7ae937.webp?v=1714704620","width":2000},{"alt":null,"id":23875262316643,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/289bf48da936ceb7a65d3664fba686ed3b1d0bff_2d491cf0-83e7-4a83-bf7f-70894bd280a6.webp?v=1714704623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/289bf48da936ceb7a65d3664fba686ed3b1d0bff_2d491cf0-83e7-4a83-bf7f-70894bd280a6.webp?v=1714704623","width":2000},{"alt":null,"id":23875263103075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3db4f49ec31946878b49a1d6d1a171c101019cb6_dcd6be97-679a-4ce8-8f2d-b4b195070c20.webp?v=1714704625"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3db4f49ec31946878b49a1d6d1a171c101019cb6_dcd6be97-679a-4ce8-8f2d-b4b195070c20.webp?v=1714704625","width":2000},{"alt":null,"id":23875263692899,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c09a828768b2f28a5eee6f058ec55b965875b7c_cedb7be8-03d3-4895-b280-72fa3a05af28.webp?v=1714704627"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c09a828768b2f28a5eee6f058ec55b965875b7c_cedb7be8-03d3-4895-b280-72fa3a05af28.webp?v=1714704627","width":2000},{"alt":null,"id":23875266576483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69378cf19055963cde33e847a9bec65bfb8c837d_99dbf252-41e1-4108-bfb4-08ae458db432.webp?v=1714704630"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69378cf19055963cde33e847a9bec65bfb8c837d_99dbf252-41e1-4108-bfb4-08ae458db432.webp?v=1714704630","width":2000},{"alt":null,"id":23875267166307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b940eff561e562cc1ac1395c1f5ee3e83a28f1f6_6f008a9f-c9b6-4aa7-9b0a-b54abfec4d4e.webp?v=1714704632"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b940eff561e562cc1ac1395c1f5ee3e83a28f1f6_6f008a9f-c9b6-4aa7-9b0a-b54abfec4d4e.webp?v=1714704632","width":2000},{"alt":null,"id":23875267592291,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e626d4e7027a16ce44c3700fc647705ebba519_367d6685-3b81-4fd1-b9bb-e18eb1e4a936.webp?v=1714704634"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e626d4e7027a16ce44c3700fc647705ebba519_367d6685-3b81-4fd1-b9bb-e18eb1e4a936.webp?v=1714704634","width":2000},{"alt":null,"id":23875268673635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/691ccbcd92c7101d590680b0df86c0bf2dc874a1_f2c80031-b6e7-465a-b41d-a06ae8d13320.webp?v=1714704636"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/691ccbcd92c7101d590680b0df86c0bf2dc874a1_f2c80031-b6e7-465a-b41d-a06ae8d13320.webp?v=1714704636","width":2000},{"alt":null,"id":23875269230691,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd16ef53078a65bec5ba30be87b87ba7759a860a_292bf764-3b86-4620-aeed-b90efe079a1d.webp?v=1714704639"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd16ef53078a65bec5ba30be87b87ba7759a860a_292bf764-3b86-4620-aeed-b90efe079a1d.webp?v=1714704639","width":2000},{"alt":null,"id":23875269525603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/575b36f1a25798f3cc86e72a706f469bb8a64e63_b62ab67c-eb53-437a-9cf0-e1f05fc706f5.webp?v=1714704641"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/575b36f1a25798f3cc86e72a706f469bb8a64e63_b62ab67c-eb53-437a-9cf0-e1f05fc706f5.webp?v=1714704641","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41878673391715,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PC08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470363344995,"product_id":7407774433379,"position":5,"created_at":"2024-05-03T10:50:30+08:00","updated_at":"2024-05-03T10:50:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69378cf19055963cde33e847a9bec65bfb8c837d_99dbf252-41e1-4108-bfb4-08ae458db432.webp?v=1714704630","variant_ids":[41878673391715]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PC08","featured_media":{"alt":null,"id":23875266576483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69378cf19055963cde33e847a9bec65bfb8c837d_99dbf252-41e1-4108-bfb4-08ae458db432.webp?v=1714704630"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878673457251,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PC08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470366294115,"product_id":7407774433379,"position":10,"created_at":"2024-05-03T10:50:41+08:00","updated_at":"2024-05-03T10:50:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/575b36f1a25798f3cc86e72a706f469bb8a64e63_b62ab67c-eb53-437a-9cf0-e1f05fc706f5.webp?v=1714704641","variant_ids":[41878673457251]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PC08","featured_media":{"alt":null,"id":23875269525603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/575b36f1a25798f3cc86e72a706f469bb8a64e63_b62ab67c-eb53-437a-9cf0-e1f05fc706f5.webp?v=1714704641"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878673686627,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PC08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470362394723,"product_id":7407774433379,"position":4,"created_at":"2024-05-03T10:50:27+08:00","updated_at":"2024-05-03T10:50:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c09a828768b2f28a5eee6f058ec55b965875b7c_cedb7be8-03d3-4895-b280-72fa3a05af28.webp?v=1714704627","variant_ids":[41878673686627]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PC08","featured_media":{"alt":null,"id":23875263692899,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c09a828768b2f28a5eee6f058ec55b965875b7c_cedb7be8-03d3-4895-b280-72fa3a05af28.webp?v=1714704627"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41878673391715,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PC08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470363344995,"product_id":7407774433379,"position":5,"created_at":"2024-05-03T10:50:30+08:00","updated_at":"2024-05-03T10:50:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69378cf19055963cde33e847a9bec65bfb8c837d_99dbf252-41e1-4108-bfb4-08ae458db432.webp?v=1714704630","variant_ids":[41878673391715]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PC08","featured_media":{"alt":null,"id":23875266576483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69378cf19055963cde33e847a9bec65bfb8c837d_99dbf252-41e1-4108-bfb4-08ae458db432.webp?v=1714704630"}},"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: "停產"
}