$product = {"id":7407929950307,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-全白設計","handle":"iphone-14-pro-mod-nx-printable-pb103","description":null,"published_at":"2024-06-11T16:26:50+08:00","created_at":"2024-05-03T11:18:03+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":41880667914339,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB103","requires_shipping":true,"taxable":true,"featured_image":{"id":31470730379363,"product_id":7407929950307,"position":10,"created_at":"2024-05-03T11:18:26+08:00","updated_at":"2024-05-03T11:18:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3daf3acd8ca1a7d3a383fa0cb8d93a61dfb789a9_638ab12c-0e4c-40d4-b065-93d761ce418d.webp?v=1714706306","variant_ids":[41880667914339]},"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-PB103","featured_media":{"alt":null,"id":23875634430051,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3daf3acd8ca1a7d3a383fa0cb8d93a61dfb789a9_638ab12c-0e4c-40d4-b065-93d761ce418d.webp?v=1714706306"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880667979875,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB103","requires_shipping":true,"taxable":true,"featured_image":{"id":31470729887843,"product_id":7407929950307,"position":9,"created_at":"2024-05-03T11:18:23+08:00","updated_at":"2024-05-03T11:18:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50cfa8408095b58ba0fc3a643e4370a50ec770d5_410e3f8d-59ac-4b59-9154-867e46e0320a.webp?v=1714706303","variant_ids":[41880667979875]},"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-PB103","featured_media":{"alt":null,"id":23875633938531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50cfa8408095b58ba0fc3a643e4370a50ec770d5_410e3f8d-59ac-4b59-9154-867e46e0320a.webp?v=1714706303"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880668209251,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB103","requires_shipping":true,"taxable":true,"featured_image":{"id":31470729429091,"product_id":7407929950307,"position":8,"created_at":"2024-05-03T11:18:21+08:00","updated_at":"2024-05-03T11:18:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47a959f7b85f8df2309d11499be9301594724ace_946b5fee-f310-4f7f-baf2-f4c174972baa.webp?v=1714706301","variant_ids":[41880668209251]},"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-PB103","featured_media":{"alt":null,"id":23875633545315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47a959f7b85f8df2309d11499be9301594724ace_946b5fee-f310-4f7f-baf2-f4c174972baa.webp?v=1714706301"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/719ce885af96d0efd9e5770525acbe77a133f63e_47a22a1e-2ea7-4aa2-ae1e-f9f361f7489f.webp?v=1714706285","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03f4f0bc5c376e4d85decd0496a8011262e11afb_376ff6c4-0c93-4ebc-9614-5b0d131f1391.webp?v=1714706288","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba753f5bdc6a539c974d5f8f403592fc10eeb52_c19e2e36-7aed-4062-9718-329a694f3f40.webp?v=1714706290","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f11e09ef4f86b15feb9f1db40a1ca9567cc2a1_bdb1b66e-20ac-4dea-9cd5-6ef36c6f6a43.webp?v=1714706292","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fa9e17053b18fda88fe44fb0356872c6ae4844c_4521462e-6ea8-476a-920d-b186327004a3.webp?v=1714706294","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bff0b442f6e8a7c6e887e8476f46e66a0507ad7_448ec6c8-4c76-4ec2-b75b-9f18ca1ca2b2.webp?v=1714706297","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b97b51f0be28b608f0904f59510774fc39714c9_934fb00a-2e64-4f29-bb02-9331a88e3e71.webp?v=1714706299","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47a959f7b85f8df2309d11499be9301594724ace_946b5fee-f310-4f7f-baf2-f4c174972baa.webp?v=1714706301","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50cfa8408095b58ba0fc3a643e4370a50ec770d5_410e3f8d-59ac-4b59-9154-867e46e0320a.webp?v=1714706303","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3daf3acd8ca1a7d3a383fa0cb8d93a61dfb789a9_638ab12c-0e4c-40d4-b065-93d761ce418d.webp?v=1714706306"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/719ce885af96d0efd9e5770525acbe77a133f63e_47a22a1e-2ea7-4aa2-ae1e-f9f361f7489f.webp?v=1714706285","options":["color"],"media":[{"alt":null,"id":23875630301283,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/719ce885af96d0efd9e5770525acbe77a133f63e_47a22a1e-2ea7-4aa2-ae1e-f9f361f7489f.webp?v=1714706285"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/719ce885af96d0efd9e5770525acbe77a133f63e_47a22a1e-2ea7-4aa2-ae1e-f9f361f7489f.webp?v=1714706285","width":2000},{"alt":null,"id":23875630661731,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03f4f0bc5c376e4d85decd0496a8011262e11afb_376ff6c4-0c93-4ebc-9614-5b0d131f1391.webp?v=1714706288"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03f4f0bc5c376e4d85decd0496a8011262e11afb_376ff6c4-0c93-4ebc-9614-5b0d131f1391.webp?v=1714706288","width":2000},{"alt":null,"id":23875631382627,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba753f5bdc6a539c974d5f8f403592fc10eeb52_c19e2e36-7aed-4062-9718-329a694f3f40.webp?v=1714706290"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba753f5bdc6a539c974d5f8f403592fc10eeb52_c19e2e36-7aed-4062-9718-329a694f3f40.webp?v=1714706290","width":2000},{"alt":null,"id":23875631677539,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f11e09ef4f86b15feb9f1db40a1ca9567cc2a1_bdb1b66e-20ac-4dea-9cd5-6ef36c6f6a43.webp?v=1714706292"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f11e09ef4f86b15feb9f1db40a1ca9567cc2a1_bdb1b66e-20ac-4dea-9cd5-6ef36c6f6a43.webp?v=1714706292","width":2000},{"alt":null,"id":23875632234595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fa9e17053b18fda88fe44fb0356872c6ae4844c_4521462e-6ea8-476a-920d-b186327004a3.webp?v=1714706294"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fa9e17053b18fda88fe44fb0356872c6ae4844c_4521462e-6ea8-476a-920d-b186327004a3.webp?v=1714706294","width":2000},{"alt":null,"id":23875632660579,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bff0b442f6e8a7c6e887e8476f46e66a0507ad7_448ec6c8-4c76-4ec2-b75b-9f18ca1ca2b2.webp?v=1714706297"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bff0b442f6e8a7c6e887e8476f46e66a0507ad7_448ec6c8-4c76-4ec2-b75b-9f18ca1ca2b2.webp?v=1714706297","width":2000},{"alt":null,"id":23875632988259,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b97b51f0be28b608f0904f59510774fc39714c9_934fb00a-2e64-4f29-bb02-9331a88e3e71.webp?v=1714706299"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b97b51f0be28b608f0904f59510774fc39714c9_934fb00a-2e64-4f29-bb02-9331a88e3e71.webp?v=1714706299","width":2000},{"alt":null,"id":23875633545315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47a959f7b85f8df2309d11499be9301594724ace_946b5fee-f310-4f7f-baf2-f4c174972baa.webp?v=1714706301"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47a959f7b85f8df2309d11499be9301594724ace_946b5fee-f310-4f7f-baf2-f4c174972baa.webp?v=1714706301","width":2000},{"alt":null,"id":23875633938531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50cfa8408095b58ba0fc3a643e4370a50ec770d5_410e3f8d-59ac-4b59-9154-867e46e0320a.webp?v=1714706303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50cfa8408095b58ba0fc3a643e4370a50ec770d5_410e3f8d-59ac-4b59-9154-867e46e0320a.webp?v=1714706303","width":2000},{"alt":null,"id":23875634430051,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3daf3acd8ca1a7d3a383fa0cb8d93a61dfb789a9_638ab12c-0e4c-40d4-b065-93d761ce418d.webp?v=1714706306"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3daf3acd8ca1a7d3a383fa0cb8d93a61dfb789a9_638ab12c-0e4c-40d4-b065-93d761ce418d.webp?v=1714706306","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41880667914339,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB103","requires_shipping":true,"taxable":true,"featured_image":{"id":31470730379363,"product_id":7407929950307,"position":10,"created_at":"2024-05-03T11:18:26+08:00","updated_at":"2024-05-03T11:18:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3daf3acd8ca1a7d3a383fa0cb8d93a61dfb789a9_638ab12c-0e4c-40d4-b065-93d761ce418d.webp?v=1714706306","variant_ids":[41880667914339]},"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-PB103","featured_media":{"alt":null,"id":23875634430051,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3daf3acd8ca1a7d3a383fa0cb8d93a61dfb789a9_638ab12c-0e4c-40d4-b065-93d761ce418d.webp?v=1714706306"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880667979875,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB103","requires_shipping":true,"taxable":true,"featured_image":{"id":31470729887843,"product_id":7407929950307,"position":9,"created_at":"2024-05-03T11:18:23+08:00","updated_at":"2024-05-03T11:18:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50cfa8408095b58ba0fc3a643e4370a50ec770d5_410e3f8d-59ac-4b59-9154-867e46e0320a.webp?v=1714706303","variant_ids":[41880667979875]},"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-PB103","featured_media":{"alt":null,"id":23875633938531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50cfa8408095b58ba0fc3a643e4370a50ec770d5_410e3f8d-59ac-4b59-9154-867e46e0320a.webp?v=1714706303"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880668209251,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB103","requires_shipping":true,"taxable":true,"featured_image":{"id":31470729429091,"product_id":7407929950307,"position":8,"created_at":"2024-05-03T11:18:21+08:00","updated_at":"2024-05-03T11:18:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47a959f7b85f8df2309d11499be9301594724ace_946b5fee-f310-4f7f-baf2-f4c174972baa.webp?v=1714706301","variant_ids":[41880668209251]},"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-PB103","featured_media":{"alt":null,"id":23875633545315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47a959f7b85f8df2309d11499be9301594724ace_946b5fee-f310-4f7f-baf2-f4c174972baa.webp?v=1714706301"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41880667914339,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB103","requires_shipping":true,"taxable":true,"featured_image":{"id":31470730379363,"product_id":7407929950307,"position":10,"created_at":"2024-05-03T11:18:26+08:00","updated_at":"2024-05-03T11:18:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3daf3acd8ca1a7d3a383fa0cb8d93a61dfb789a9_638ab12c-0e4c-40d4-b065-93d761ce418d.webp?v=1714706306","variant_ids":[41880667914339]},"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-PB103","featured_media":{"alt":null,"id":23875634430051,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3daf3acd8ca1a7d3a383fa0cb8d93a61dfb789a9_638ab12c-0e4c-40d4-b065-93d761ce418d.webp?v=1714706306"}},"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: "停產"
}