$product = {"id":7407699460195,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條黑","handle":"iphone-14-pro-mod-nx-printable-pb17","description":null,"published_at":"2024-06-11T16:22:07+08:00","created_at":"2024-05-03T10:42:44+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":41877794488419,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31470237843555,"product_id":7407699460195,"position":5,"created_at":"2024-05-03T10:42:57+08:00","updated_at":"2024-05-03T10:42:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92065dab6e1b9c440dbd36c795017e46aa11e1b7_281b6f77-de15-4f88-8753-0aed0a5b4b44.webp?v=1714704177","variant_ids":[41877794488419]},"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-PB17","featured_media":{"alt":null,"id":23875140911203,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92065dab6e1b9c440dbd36c795017e46aa11e1b7_281b6f77-de15-4f88-8753-0aed0a5b4b44.webp?v=1714704177"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877794619491,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31470241316963,"product_id":7407699460195,"position":10,"created_at":"2024-05-03T10:43:10+08:00","updated_at":"2024-05-03T10:43:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf35a1044ce65208c2784a24c9b2a78d7a3e8b5b_0141b081-7c58-4ad8-83ea-de6cba30ed89.webp?v=1714704190","variant_ids":[41877794619491]},"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-PB17","featured_media":{"alt":null,"id":23875144351843,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf35a1044ce65208c2784a24c9b2a78d7a3e8b5b_0141b081-7c58-4ad8-83ea-de6cba30ed89.webp?v=1714704190"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877794914403,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31470237188195,"product_id":7407699460195,"position":4,"created_at":"2024-05-03T10:42:54+08:00","updated_at":"2024-05-03T10:42:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0cc391ed240af2c7f5e9219575a8154acb28eb7_50347195-6c2b-4879-9f34-c62f261ebc4f.webp?v=1714704174","variant_ids":[41877794914403]},"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-PB17","featured_media":{"alt":null,"id":23875140223075,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0cc391ed240af2c7f5e9219575a8154acb28eb7_50347195-6c2b-4879-9f34-c62f261ebc4f.webp?v=1714704174"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d47fca5e3cf45109bd2d95f5013c4786a3b24_c1b80f5f-3ade-4f5a-8e0d-1976906581fe.webp?v=1714704167","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2062601c01bcbd817acca98c7e794fede2e51d57_a4deea68-43c4-4e41-9ca1-93d71d4804d1.webp?v=1714704169","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad816c363261cc694bfe0d8e78495c4d9475e08b_7836119d-ecb9-4055-87c3-f8101c629476.webp?v=1714704172","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0cc391ed240af2c7f5e9219575a8154acb28eb7_50347195-6c2b-4879-9f34-c62f261ebc4f.webp?v=1714704174","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92065dab6e1b9c440dbd36c795017e46aa11e1b7_281b6f77-de15-4f88-8753-0aed0a5b4b44.webp?v=1714704177","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a36500228970e9c9b121bd862fa1a15fe695c2d_60505b98-20e6-48b7-9bf9-942161ce5b70.webp?v=1714704179","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8947231f5885231ccdd8aac4689b238dc678363_4a127b4e-d72c-4d4b-88ba-63af9092de1c.webp?v=1714704182","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0f670983ad1836442fb070abceec52e139dd70d_ba2fcbf6-271e-4745-be86-df245bac6589.webp?v=1714704184","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6c6215679d1ef154a6b9f3c4a2950a21d6301c_afb06ca6-5b0d-4420-bfcc-a768bd7b15b5.webp?v=1714704187","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf35a1044ce65208c2784a24c9b2a78d7a3e8b5b_0141b081-7c58-4ad8-83ea-de6cba30ed89.webp?v=1714704190"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d47fca5e3cf45109bd2d95f5013c4786a3b24_c1b80f5f-3ade-4f5a-8e0d-1976906581fe.webp?v=1714704167","options":["color"],"media":[{"alt":null,"id":23875138420835,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d47fca5e3cf45109bd2d95f5013c4786a3b24_c1b80f5f-3ade-4f5a-8e0d-1976906581fe.webp?v=1714704167"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d47fca5e3cf45109bd2d95f5013c4786a3b24_c1b80f5f-3ade-4f5a-8e0d-1976906581fe.webp?v=1714704167","width":2000},{"alt":null,"id":23875139076195,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2062601c01bcbd817acca98c7e794fede2e51d57_a4deea68-43c4-4e41-9ca1-93d71d4804d1.webp?v=1714704169"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2062601c01bcbd817acca98c7e794fede2e51d57_a4deea68-43c4-4e41-9ca1-93d71d4804d1.webp?v=1714704169","width":2000},{"alt":null,"id":23875139797091,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad816c363261cc694bfe0d8e78495c4d9475e08b_7836119d-ecb9-4055-87c3-f8101c629476.webp?v=1714704172"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad816c363261cc694bfe0d8e78495c4d9475e08b_7836119d-ecb9-4055-87c3-f8101c629476.webp?v=1714704172","width":2000},{"alt":null,"id":23875140223075,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0cc391ed240af2c7f5e9219575a8154acb28eb7_50347195-6c2b-4879-9f34-c62f261ebc4f.webp?v=1714704174"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0cc391ed240af2c7f5e9219575a8154acb28eb7_50347195-6c2b-4879-9f34-c62f261ebc4f.webp?v=1714704174","width":2000},{"alt":null,"id":23875140911203,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92065dab6e1b9c440dbd36c795017e46aa11e1b7_281b6f77-de15-4f88-8753-0aed0a5b4b44.webp?v=1714704177"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92065dab6e1b9c440dbd36c795017e46aa11e1b7_281b6f77-de15-4f88-8753-0aed0a5b4b44.webp?v=1714704177","width":2000},{"alt":null,"id":23875141566563,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a36500228970e9c9b121bd862fa1a15fe695c2d_60505b98-20e6-48b7-9bf9-942161ce5b70.webp?v=1714704179"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a36500228970e9c9b121bd862fa1a15fe695c2d_60505b98-20e6-48b7-9bf9-942161ce5b70.webp?v=1714704179","width":2000},{"alt":null,"id":23875141959779,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8947231f5885231ccdd8aac4689b238dc678363_4a127b4e-d72c-4d4b-88ba-63af9092de1c.webp?v=1714704182"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8947231f5885231ccdd8aac4689b238dc678363_4a127b4e-d72c-4d4b-88ba-63af9092de1c.webp?v=1714704182","width":2000},{"alt":null,"id":23875143204963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0f670983ad1836442fb070abceec52e139dd70d_ba2fcbf6-271e-4745-be86-df245bac6589.webp?v=1714704184"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0f670983ad1836442fb070abceec52e139dd70d_ba2fcbf6-271e-4745-be86-df245bac6589.webp?v=1714704184","width":2000},{"alt":null,"id":23875144024163,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6c6215679d1ef154a6b9f3c4a2950a21d6301c_afb06ca6-5b0d-4420-bfcc-a768bd7b15b5.webp?v=1714704187"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6c6215679d1ef154a6b9f3c4a2950a21d6301c_afb06ca6-5b0d-4420-bfcc-a768bd7b15b5.webp?v=1714704187","width":2000},{"alt":null,"id":23875144351843,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf35a1044ce65208c2784a24c9b2a78d7a3e8b5b_0141b081-7c58-4ad8-83ea-de6cba30ed89.webp?v=1714704190"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf35a1044ce65208c2784a24c9b2a78d7a3e8b5b_0141b081-7c58-4ad8-83ea-de6cba30ed89.webp?v=1714704190","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41877794488419,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31470237843555,"product_id":7407699460195,"position":5,"created_at":"2024-05-03T10:42:57+08:00","updated_at":"2024-05-03T10:42:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92065dab6e1b9c440dbd36c795017e46aa11e1b7_281b6f77-de15-4f88-8753-0aed0a5b4b44.webp?v=1714704177","variant_ids":[41877794488419]},"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-PB17","featured_media":{"alt":null,"id":23875140911203,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92065dab6e1b9c440dbd36c795017e46aa11e1b7_281b6f77-de15-4f88-8753-0aed0a5b4b44.webp?v=1714704177"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877794619491,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31470241316963,"product_id":7407699460195,"position":10,"created_at":"2024-05-03T10:43:10+08:00","updated_at":"2024-05-03T10:43:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf35a1044ce65208c2784a24c9b2a78d7a3e8b5b_0141b081-7c58-4ad8-83ea-de6cba30ed89.webp?v=1714704190","variant_ids":[41877794619491]},"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-PB17","featured_media":{"alt":null,"id":23875144351843,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf35a1044ce65208c2784a24c9b2a78d7a3e8b5b_0141b081-7c58-4ad8-83ea-de6cba30ed89.webp?v=1714704190"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877794914403,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31470237188195,"product_id":7407699460195,"position":4,"created_at":"2024-05-03T10:42:54+08:00","updated_at":"2024-05-03T10:42:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0cc391ed240af2c7f5e9219575a8154acb28eb7_50347195-6c2b-4879-9f34-c62f261ebc4f.webp?v=1714704174","variant_ids":[41877794914403]},"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-PB17","featured_media":{"alt":null,"id":23875140223075,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0cc391ed240af2c7f5e9219575a8154acb28eb7_50347195-6c2b-4879-9f34-c62f261ebc4f.webp?v=1714704174"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41877794488419,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31470237843555,"product_id":7407699460195,"position":5,"created_at":"2024-05-03T10:42:57+08:00","updated_at":"2024-05-03T10:42:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92065dab6e1b9c440dbd36c795017e46aa11e1b7_281b6f77-de15-4f88-8753-0aed0a5b4b44.webp?v=1714704177","variant_ids":[41877794488419]},"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-PB17","featured_media":{"alt":null,"id":23875140911203,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92065dab6e1b9c440dbd36c795017e46aa11e1b7_281b6f77-de15-4f88-8753-0aed0a5b4b44.webp?v=1714704177"}},"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: "停產"
}