$product = {"id":7407914385507,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-白","handle":"iphone-14-pro-mod-nx-printable-pb10","description":null,"published_at":"2024-06-11T16:26:24+08:00","created_at":"2024-05-03T11:14:52+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":41880455970915,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470686240867,"product_id":7407914385507,"position":4,"created_at":"2024-05-03T11:15:01+08:00","updated_at":"2024-05-03T11:15:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1abf525e9cf6e957e53557c859f8bc4b6b92dd2_edf5133c-59fb-42a3-9dfb-44cc435a04aa.webp?v=1714706101","variant_ids":[41880455970915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-白 - 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-PB10","featured_media":{"alt":null,"id":23875590258787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1abf525e9cf6e957e53557c859f8bc4b6b92dd2_edf5133c-59fb-42a3-9dfb-44cc435a04aa.webp?v=1714706101"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880456069219,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470688796771,"product_id":7407914385507,"position":9,"created_at":"2024-05-03T11:15:12+08:00","updated_at":"2024-05-03T11:15:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d437e2d1828eaa6d5989f442841885a016033cc1_ecfad896-cbf1-4a9e-bac9-68483009a53c.webp?v=1714706112","variant_ids":[41880456069219]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-白 - 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-PB10","featured_media":{"alt":null,"id":23875592814691,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d437e2d1828eaa6d5989f442841885a016033cc1_ecfad896-cbf1-4a9e-bac9-68483009a53c.webp?v=1714706112"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880456364131,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470686797923,"product_id":7407914385507,"position":5,"created_at":"2024-05-03T11:15:03+08:00","updated_at":"2024-05-03T11:15:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a83fe48c4227ad02f871ea89dc26f9d111b5faa_2c705094-71eb-4ba1-8628-0e20c3b9d70e.webp?v=1714706103","variant_ids":[41880456364131]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-白 - 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-PB10","featured_media":{"alt":null,"id":23875590783075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a83fe48c4227ad02f871ea89dc26f9d111b5faa_2c705094-71eb-4ba1-8628-0e20c3b9d70e.webp?v=1714706103"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6da1229646270c19221e862f16d14ac19f86c4fa_ec24a744-0379-4eed-9990-c7c035e9e4e0.webp?v=1714706094","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e1683eba3af9b5505cebab412e5ff1b8451a884_e5dfd256-5095-4a5b-8177-7779ccf26b1e.webp?v=1714706096","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c6cb4abd1dc647e5eb8389052d39d7eaa502cff_363ce645-77aa-46a5-9801-54e21fafde2b.webp?v=1714706098","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1abf525e9cf6e957e53557c859f8bc4b6b92dd2_edf5133c-59fb-42a3-9dfb-44cc435a04aa.webp?v=1714706101","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a83fe48c4227ad02f871ea89dc26f9d111b5faa_2c705094-71eb-4ba1-8628-0e20c3b9d70e.webp?v=1714706103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a03129c2919b1cc3b8264d35ea2ad73c364e27a5_5383f24a-8ff8-4b8b-92b8-eba92d3ba44d.webp?v=1714706105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11cdd00a65a2e3f5c03f0c9ed5d201400913577a_3474e507-8cc1-4a43-8ae6-4036dd2bd3c7.webp?v=1714706108","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3674137f35685603b639ddd3eca1d5b183cf3327_f133e3ce-0626-4640-81ee-847dd136cfd9.webp?v=1714706110","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d437e2d1828eaa6d5989f442841885a016033cc1_ecfad896-cbf1-4a9e-bac9-68483009a53c.webp?v=1714706112","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2c88d3f7839a7750679f7828d33d2315c22bdd4_00da8ae9-5ac0-4348-903b-86d1b04ddff4.webp?v=1714706115"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6da1229646270c19221e862f16d14ac19f86c4fa_ec24a744-0379-4eed-9990-c7c035e9e4e0.webp?v=1714706094","options":["color"],"media":[{"alt":null,"id":23875588751459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6da1229646270c19221e862f16d14ac19f86c4fa_ec24a744-0379-4eed-9990-c7c035e9e4e0.webp?v=1714706094"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6da1229646270c19221e862f16d14ac19f86c4fa_ec24a744-0379-4eed-9990-c7c035e9e4e0.webp?v=1714706094","width":2000},{"alt":null,"id":23875589275747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e1683eba3af9b5505cebab412e5ff1b8451a884_e5dfd256-5095-4a5b-8177-7779ccf26b1e.webp?v=1714706096"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e1683eba3af9b5505cebab412e5ff1b8451a884_e5dfd256-5095-4a5b-8177-7779ccf26b1e.webp?v=1714706096","width":2000},{"alt":null,"id":23875589668963,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c6cb4abd1dc647e5eb8389052d39d7eaa502cff_363ce645-77aa-46a5-9801-54e21fafde2b.webp?v=1714706098"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c6cb4abd1dc647e5eb8389052d39d7eaa502cff_363ce645-77aa-46a5-9801-54e21fafde2b.webp?v=1714706098","width":2000},{"alt":null,"id":23875590258787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1abf525e9cf6e957e53557c859f8bc4b6b92dd2_edf5133c-59fb-42a3-9dfb-44cc435a04aa.webp?v=1714706101"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1abf525e9cf6e957e53557c859f8bc4b6b92dd2_edf5133c-59fb-42a3-9dfb-44cc435a04aa.webp?v=1714706101","width":2000},{"alt":null,"id":23875590783075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a83fe48c4227ad02f871ea89dc26f9d111b5faa_2c705094-71eb-4ba1-8628-0e20c3b9d70e.webp?v=1714706103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a83fe48c4227ad02f871ea89dc26f9d111b5faa_2c705094-71eb-4ba1-8628-0e20c3b9d70e.webp?v=1714706103","width":2000},{"alt":null,"id":23875591274595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a03129c2919b1cc3b8264d35ea2ad73c364e27a5_5383f24a-8ff8-4b8b-92b8-eba92d3ba44d.webp?v=1714706105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a03129c2919b1cc3b8264d35ea2ad73c364e27a5_5383f24a-8ff8-4b8b-92b8-eba92d3ba44d.webp?v=1714706105","width":2000},{"alt":null,"id":23875591831651,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11cdd00a65a2e3f5c03f0c9ed5d201400913577a_3474e507-8cc1-4a43-8ae6-4036dd2bd3c7.webp?v=1714706108"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11cdd00a65a2e3f5c03f0c9ed5d201400913577a_3474e507-8cc1-4a43-8ae6-4036dd2bd3c7.webp?v=1714706108","width":2000},{"alt":null,"id":23875592388707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3674137f35685603b639ddd3eca1d5b183cf3327_f133e3ce-0626-4640-81ee-847dd136cfd9.webp?v=1714706110"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3674137f35685603b639ddd3eca1d5b183cf3327_f133e3ce-0626-4640-81ee-847dd136cfd9.webp?v=1714706110","width":2000},{"alt":null,"id":23875592814691,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d437e2d1828eaa6d5989f442841885a016033cc1_ecfad896-cbf1-4a9e-bac9-68483009a53c.webp?v=1714706112"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d437e2d1828eaa6d5989f442841885a016033cc1_ecfad896-cbf1-4a9e-bac9-68483009a53c.webp?v=1714706112","width":2000},{"alt":null,"id":23875593371747,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2c88d3f7839a7750679f7828d33d2315c22bdd4_00da8ae9-5ac0-4348-903b-86d1b04ddff4.webp?v=1714706115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2c88d3f7839a7750679f7828d33d2315c22bdd4_00da8ae9-5ac0-4348-903b-86d1b04ddff4.webp?v=1714706115","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41880455970915,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470686240867,"product_id":7407914385507,"position":4,"created_at":"2024-05-03T11:15:01+08:00","updated_at":"2024-05-03T11:15:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1abf525e9cf6e957e53557c859f8bc4b6b92dd2_edf5133c-59fb-42a3-9dfb-44cc435a04aa.webp?v=1714706101","variant_ids":[41880455970915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-白 - 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-PB10","featured_media":{"alt":null,"id":23875590258787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1abf525e9cf6e957e53557c859f8bc4b6b92dd2_edf5133c-59fb-42a3-9dfb-44cc435a04aa.webp?v=1714706101"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880456069219,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470688796771,"product_id":7407914385507,"position":9,"created_at":"2024-05-03T11:15:12+08:00","updated_at":"2024-05-03T11:15:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d437e2d1828eaa6d5989f442841885a016033cc1_ecfad896-cbf1-4a9e-bac9-68483009a53c.webp?v=1714706112","variant_ids":[41880456069219]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-白 - 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-PB10","featured_media":{"alt":null,"id":23875592814691,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d437e2d1828eaa6d5989f442841885a016033cc1_ecfad896-cbf1-4a9e-bac9-68483009a53c.webp?v=1714706112"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880456364131,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470686797923,"product_id":7407914385507,"position":5,"created_at":"2024-05-03T11:15:03+08:00","updated_at":"2024-05-03T11:15:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a83fe48c4227ad02f871ea89dc26f9d111b5faa_2c705094-71eb-4ba1-8628-0e20c3b9d70e.webp?v=1714706103","variant_ids":[41880456364131]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-白 - 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-PB10","featured_media":{"alt":null,"id":23875590783075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a83fe48c4227ad02f871ea89dc26f9d111b5faa_2c705094-71eb-4ba1-8628-0e20c3b9d70e.webp?v=1714706103"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41880455970915,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470686240867,"product_id":7407914385507,"position":4,"created_at":"2024-05-03T11:15:01+08:00","updated_at":"2024-05-03T11:15:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1abf525e9cf6e957e53557c859f8bc4b6b92dd2_edf5133c-59fb-42a3-9dfb-44cc435a04aa.webp?v=1714706101","variant_ids":[41880455970915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-白 - 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-PB10","featured_media":{"alt":null,"id":23875590258787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1abf525e9cf6e957e53557c859f8bc4b6b92dd2_edf5133c-59fb-42a3-9dfb-44cc435a04aa.webp?v=1714706101"}},"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: "停產"
}