$product = {"id":7407992930403,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列","handle":"iphone-13-mini-mod-nx-printable-pb55","description":null,"published_at":"2024-06-11T16:28:32+08:00","created_at":"2024-05-03T11:36:15+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 13 mini","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":41881487016035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470912045155,"product_id":7407992930403,"position":2,"created_at":"2024-05-03T11:36:21+08:00","updated_at":"2024-05-03T11:36:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654d1b228f278228137ce6701d4ac9a8a8b79525_d0b37689-923c-4d71-8e4a-5065a9e427a5.webp?v=1714707381","variant_ids":[41881487016035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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":"NPB0122824-PB55","featured_media":{"alt":null,"id":23875816751203,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654d1b228f278228137ce6701d4ac9a8a8b79525_d0b37689-923c-4d71-8e4a-5065a9e427a5.webp?v=1714707381"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881487081571,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470911488099,"product_id":7407992930403,"position":1,"created_at":"2024-05-03T11:36:18+08:00","updated_at":"2024-05-03T11:36:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75094e604406efc935b1a4fb147bb39bf657e4b2_5701a9f3-e73d-4e3b-9632-cce0628ee2c4.webp?v=1714707378","variant_ids":[41881487081571]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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":"NPB0122804-PB55","featured_media":{"alt":null,"id":23875816161379,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75094e604406efc935b1a4fb147bb39bf657e4b2_5701a9f3-e73d-4e3b-9632-cce0628ee2c4.webp?v=1714707378"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881487310947,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470912438371,"product_id":7407992930403,"position":4,"created_at":"2024-05-03T11:36:26+08:00","updated_at":"2024-05-03T11:36:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99b8863b5aac8fa1f89329278fe01aab84e16455_87951fbb-9e90-4086-a154-26f9296ca05c.webp?v=1714707386","variant_ids":[41881487310947]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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":"NPB01228J5-PB55","featured_media":{"alt":null,"id":23875817275491,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99b8863b5aac8fa1f89329278fe01aab84e16455_87951fbb-9e90-4086-a154-26f9296ca05c.webp?v=1714707386"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75094e604406efc935b1a4fb147bb39bf657e4b2_5701a9f3-e73d-4e3b-9632-cce0628ee2c4.webp?v=1714707378","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654d1b228f278228137ce6701d4ac9a8a8b79525_d0b37689-923c-4d71-8e4a-5065a9e427a5.webp?v=1714707381","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ed5e8f1af519248a829a18233c14d4d4be7edd_52afc342-d977-4c8f-a8d9-50394bdae8f1.webp?v=1714707383","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99b8863b5aac8fa1f89329278fe01aab84e16455_87951fbb-9e90-4086-a154-26f9296ca05c.webp?v=1714707386","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa2800ad9718df6cbfdb9bf9060c45e92baa5089_504a632d-fe6a-4105-aec9-5673ce0d85b8.webp?v=1714707388","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/beecb116894051d13d4423300e63bb7c6db7d796_4d4cd56b-ec35-4c16-a3e2-46793cc3e7ef.webp?v=1714707391","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c717e96ce871655c1f005f960a2e5e9f71d3973_d5df8a87-4e8d-464d-ac21-8466918269fc.webp?v=1714707394","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/634319f5673dde695e4b04d974b682404d6a80aa_2f82cbe8-7966-4523-a50b-743797208362.webp?v=1714707396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8727f434678afc88ab5b8d95065f81d3f3b14404_b7af8f60-44bd-45ad-856a-d6b30b3f2ed3.webp?v=1714707399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/587f9a802c999bc9e8dd010900077f49a531cb01_d8e9fb58-07f1-4a21-aa62-8afdfe044d02.webp?v=1714707402"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75094e604406efc935b1a4fb147bb39bf657e4b2_5701a9f3-e73d-4e3b-9632-cce0628ee2c4.webp?v=1714707378","options":["color"],"media":[{"alt":null,"id":23875816161379,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75094e604406efc935b1a4fb147bb39bf657e4b2_5701a9f3-e73d-4e3b-9632-cce0628ee2c4.webp?v=1714707378"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75094e604406efc935b1a4fb147bb39bf657e4b2_5701a9f3-e73d-4e3b-9632-cce0628ee2c4.webp?v=1714707378","width":2000},{"alt":null,"id":23875816751203,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654d1b228f278228137ce6701d4ac9a8a8b79525_d0b37689-923c-4d71-8e4a-5065a9e427a5.webp?v=1714707381"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654d1b228f278228137ce6701d4ac9a8a8b79525_d0b37689-923c-4d71-8e4a-5065a9e427a5.webp?v=1714707381","width":2000},{"alt":null,"id":23875816849507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ed5e8f1af519248a829a18233c14d4d4be7edd_52afc342-d977-4c8f-a8d9-50394bdae8f1.webp?v=1714707383"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ed5e8f1af519248a829a18233c14d4d4be7edd_52afc342-d977-4c8f-a8d9-50394bdae8f1.webp?v=1714707383","width":2000},{"alt":null,"id":23875817275491,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99b8863b5aac8fa1f89329278fe01aab84e16455_87951fbb-9e90-4086-a154-26f9296ca05c.webp?v=1714707386"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99b8863b5aac8fa1f89329278fe01aab84e16455_87951fbb-9e90-4086-a154-26f9296ca05c.webp?v=1714707386","width":2000},{"alt":null,"id":23875817767011,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa2800ad9718df6cbfdb9bf9060c45e92baa5089_504a632d-fe6a-4105-aec9-5673ce0d85b8.webp?v=1714707388"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa2800ad9718df6cbfdb9bf9060c45e92baa5089_504a632d-fe6a-4105-aec9-5673ce0d85b8.webp?v=1714707388","width":2000},{"alt":null,"id":23875817963619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/beecb116894051d13d4423300e63bb7c6db7d796_4d4cd56b-ec35-4c16-a3e2-46793cc3e7ef.webp?v=1714707391"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/beecb116894051d13d4423300e63bb7c6db7d796_4d4cd56b-ec35-4c16-a3e2-46793cc3e7ef.webp?v=1714707391","width":2000},{"alt":null,"id":23875818225763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c717e96ce871655c1f005f960a2e5e9f71d3973_d5df8a87-4e8d-464d-ac21-8466918269fc.webp?v=1714707394"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c717e96ce871655c1f005f960a2e5e9f71d3973_d5df8a87-4e8d-464d-ac21-8466918269fc.webp?v=1714707394","width":2000},{"alt":null,"id":23875818717283,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/634319f5673dde695e4b04d974b682404d6a80aa_2f82cbe8-7966-4523-a50b-743797208362.webp?v=1714707396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/634319f5673dde695e4b04d974b682404d6a80aa_2f82cbe8-7966-4523-a50b-743797208362.webp?v=1714707396","width":2000},{"alt":null,"id":23875818979427,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8727f434678afc88ab5b8d95065f81d3f3b14404_b7af8f60-44bd-45ad-856a-d6b30b3f2ed3.webp?v=1714707399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8727f434678afc88ab5b8d95065f81d3f3b14404_b7af8f60-44bd-45ad-856a-d6b30b3f2ed3.webp?v=1714707399","width":2000},{"alt":null,"id":23875819274339,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/587f9a802c999bc9e8dd010900077f49a531cb01_d8e9fb58-07f1-4a21-aa62-8afdfe044d02.webp?v=1714707402"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/587f9a802c999bc9e8dd010900077f49a531cb01_d8e9fb58-07f1-4a21-aa62-8afdfe044d02.webp?v=1714707402","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41881487016035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470912045155,"product_id":7407992930403,"position":2,"created_at":"2024-05-03T11:36:21+08:00","updated_at":"2024-05-03T11:36:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654d1b228f278228137ce6701d4ac9a8a8b79525_d0b37689-923c-4d71-8e4a-5065a9e427a5.webp?v=1714707381","variant_ids":[41881487016035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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":"NPB0122824-PB55","featured_media":{"alt":null,"id":23875816751203,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654d1b228f278228137ce6701d4ac9a8a8b79525_d0b37689-923c-4d71-8e4a-5065a9e427a5.webp?v=1714707381"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881487081571,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470911488099,"product_id":7407992930403,"position":1,"created_at":"2024-05-03T11:36:18+08:00","updated_at":"2024-05-03T11:36:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75094e604406efc935b1a4fb147bb39bf657e4b2_5701a9f3-e73d-4e3b-9632-cce0628ee2c4.webp?v=1714707378","variant_ids":[41881487081571]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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":"NPB0122804-PB55","featured_media":{"alt":null,"id":23875816161379,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75094e604406efc935b1a4fb147bb39bf657e4b2_5701a9f3-e73d-4e3b-9632-cce0628ee2c4.webp?v=1714707378"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881487310947,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470912438371,"product_id":7407992930403,"position":4,"created_at":"2024-05-03T11:36:26+08:00","updated_at":"2024-05-03T11:36:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99b8863b5aac8fa1f89329278fe01aab84e16455_87951fbb-9e90-4086-a154-26f9296ca05c.webp?v=1714707386","variant_ids":[41881487310947]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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":"NPB01228J5-PB55","featured_media":{"alt":null,"id":23875817275491,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99b8863b5aac8fa1f89329278fe01aab84e16455_87951fbb-9e90-4086-a154-26f9296ca05c.webp?v=1714707386"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41881487016035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470912045155,"product_id":7407992930403,"position":2,"created_at":"2024-05-03T11:36:21+08:00","updated_at":"2024-05-03T11:36:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654d1b228f278228137ce6701d4ac9a8a8b79525_d0b37689-923c-4d71-8e4a-5065a9e427a5.webp?v=1714707381","variant_ids":[41881487016035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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":"NPB0122824-PB55","featured_media":{"alt":null,"id":23875816751203,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654d1b228f278228137ce6701d4ac9a8a8b79525_d0b37689-923c-4d71-8e4a-5065a9e427a5.webp?v=1714707381"}},"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: "停產"
}