$product = {"id":7408178135139,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI","handle":"iphone-13-mini-mod-nx-printable-pb25","description":null,"published_at":"2024-06-11T16:33:30+08:00","created_at":"2024-05-03T12:15:06+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":41883548352611,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31471395242083,"product_id":7408178135139,"position":7,"created_at":"2024-05-03T12:15:25+08:00","updated_at":"2024-05-03T12:15:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5860fa2cf7fb3a4e08a38151470a58f417d9da29_582a3509-74e8-4da1-9c4f-dbdc6377b8b3.webp?v=1714709725","variant_ids":[41883548352611]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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-PB25","featured_media":{"alt":null,"id":23876301422691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5860fa2cf7fb3a4e08a38151470a58f417d9da29_582a3509-74e8-4da1-9c4f-dbdc6377b8b3.webp?v=1714709725"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883548418147,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31471395700835,"product_id":7408178135139,"position":8,"created_at":"2024-05-03T12:15:27+08:00","updated_at":"2024-05-03T12:15:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b358968b0ca89f19373462f22a28add5175e35df_ab74326c-8961-44a5-99ef-e9ee1dd09824.webp?v=1714709727","variant_ids":[41883548418147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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-PB25","featured_media":{"alt":null,"id":23876301881443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b358968b0ca89f19373462f22a28add5175e35df_ab74326c-8961-44a5-99ef-e9ee1dd09824.webp?v=1714709727"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883548647523,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31471396946019,"product_id":7408178135139,"position":10,"created_at":"2024-05-03T12:15:33+08:00","updated_at":"2024-05-03T12:15:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/986ea920be62f419c5a53a71b54dc80f1383ebd1_db57b31b-12f2-40d6-9bea-dc380dba5f8e.webp?v=1714709733","variant_ids":[41883548647523]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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-PB25","featured_media":{"alt":null,"id":23876303126627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/986ea920be62f419c5a53a71b54dc80f1383ebd1_db57b31b-12f2-40d6-9bea-dc380dba5f8e.webp?v=1714709733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4531ce2a04984c39c7fc2af43b9f083b4b50c848_f7a6dcc8-b6a6-4c84-99f1-5c10884e6023.webp?v=1714709709","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b777c55a99fc58a38eec43dc75bc8c4a1ecc2aa_69193d06-50f2-4400-8c33-da57299ed162.webp?v=1714709712","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0e215bea841fb3c479a7482e1099475b6b9048e_16ee36f5-59a3-4ecc-a498-3275ca5178dd.webp?v=1714709714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54ecd51410ecc7fc05f2b224da6221286c3f948d_c69edb4f-c5a3-4974-8c80-0c86a41b3b4b.webp?v=1714709717","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee8ffd9bd85cf13572f32ceaf472bbab8684d21c_455ed3f2-490a-4c2a-ae30-5671136fc7d8.webp?v=1714709719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67b33f431a4f7c35b926149a0e56bbcb02bc335a_5ba64728-afb3-4e63-befc-927427c22e3d.webp?v=1714709722","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5860fa2cf7fb3a4e08a38151470a58f417d9da29_582a3509-74e8-4da1-9c4f-dbdc6377b8b3.webp?v=1714709725","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b358968b0ca89f19373462f22a28add5175e35df_ab74326c-8961-44a5-99ef-e9ee1dd09824.webp?v=1714709727","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdfd5b8ae9d4f59de7f90d56de09613fbdb0f47d_d5913bc1-13df-4d84-bb3f-dcc6a311a628.webp?v=1714709730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/986ea920be62f419c5a53a71b54dc80f1383ebd1_db57b31b-12f2-40d6-9bea-dc380dba5f8e.webp?v=1714709733"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4531ce2a04984c39c7fc2af43b9f083b4b50c848_f7a6dcc8-b6a6-4c84-99f1-5c10884e6023.webp?v=1714709709","options":["color"],"media":[{"alt":null,"id":23876298375267,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4531ce2a04984c39c7fc2af43b9f083b4b50c848_f7a6dcc8-b6a6-4c84-99f1-5c10884e6023.webp?v=1714709709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4531ce2a04984c39c7fc2af43b9f083b4b50c848_f7a6dcc8-b6a6-4c84-99f1-5c10884e6023.webp?v=1714709709","width":2000},{"alt":null,"id":23876298866787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b777c55a99fc58a38eec43dc75bc8c4a1ecc2aa_69193d06-50f2-4400-8c33-da57299ed162.webp?v=1714709712"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b777c55a99fc58a38eec43dc75bc8c4a1ecc2aa_69193d06-50f2-4400-8c33-da57299ed162.webp?v=1714709712","width":2000},{"alt":null,"id":23876299391075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0e215bea841fb3c479a7482e1099475b6b9048e_16ee36f5-59a3-4ecc-a498-3275ca5178dd.webp?v=1714709714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0e215bea841fb3c479a7482e1099475b6b9048e_16ee36f5-59a3-4ecc-a498-3275ca5178dd.webp?v=1714709714","width":2000},{"alt":null,"id":23876299784291,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54ecd51410ecc7fc05f2b224da6221286c3f948d_c69edb4f-c5a3-4974-8c80-0c86a41b3b4b.webp?v=1714709717"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54ecd51410ecc7fc05f2b224da6221286c3f948d_c69edb4f-c5a3-4974-8c80-0c86a41b3b4b.webp?v=1714709717","width":2000},{"alt":null,"id":23876300308579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee8ffd9bd85cf13572f32ceaf472bbab8684d21c_455ed3f2-490a-4c2a-ae30-5671136fc7d8.webp?v=1714709719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee8ffd9bd85cf13572f32ceaf472bbab8684d21c_455ed3f2-490a-4c2a-ae30-5671136fc7d8.webp?v=1714709719","width":2000},{"alt":null,"id":23876300865635,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67b33f431a4f7c35b926149a0e56bbcb02bc335a_5ba64728-afb3-4e63-befc-927427c22e3d.webp?v=1714709722"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67b33f431a4f7c35b926149a0e56bbcb02bc335a_5ba64728-afb3-4e63-befc-927427c22e3d.webp?v=1714709722","width":2000},{"alt":null,"id":23876301422691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5860fa2cf7fb3a4e08a38151470a58f417d9da29_582a3509-74e8-4da1-9c4f-dbdc6377b8b3.webp?v=1714709725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5860fa2cf7fb3a4e08a38151470a58f417d9da29_582a3509-74e8-4da1-9c4f-dbdc6377b8b3.webp?v=1714709725","width":2000},{"alt":null,"id":23876301881443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b358968b0ca89f19373462f22a28add5175e35df_ab74326c-8961-44a5-99ef-e9ee1dd09824.webp?v=1714709727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b358968b0ca89f19373462f22a28add5175e35df_ab74326c-8961-44a5-99ef-e9ee1dd09824.webp?v=1714709727","width":2000},{"alt":null,"id":23876302635107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdfd5b8ae9d4f59de7f90d56de09613fbdb0f47d_d5913bc1-13df-4d84-bb3f-dcc6a311a628.webp?v=1714709730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdfd5b8ae9d4f59de7f90d56de09613fbdb0f47d_d5913bc1-13df-4d84-bb3f-dcc6a311a628.webp?v=1714709730","width":2000},{"alt":null,"id":23876303126627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/986ea920be62f419c5a53a71b54dc80f1383ebd1_db57b31b-12f2-40d6-9bea-dc380dba5f8e.webp?v=1714709733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/986ea920be62f419c5a53a71b54dc80f1383ebd1_db57b31b-12f2-40d6-9bea-dc380dba5f8e.webp?v=1714709733","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41883548352611,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31471395242083,"product_id":7408178135139,"position":7,"created_at":"2024-05-03T12:15:25+08:00","updated_at":"2024-05-03T12:15:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5860fa2cf7fb3a4e08a38151470a58f417d9da29_582a3509-74e8-4da1-9c4f-dbdc6377b8b3.webp?v=1714709725","variant_ids":[41883548352611]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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-PB25","featured_media":{"alt":null,"id":23876301422691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5860fa2cf7fb3a4e08a38151470a58f417d9da29_582a3509-74e8-4da1-9c4f-dbdc6377b8b3.webp?v=1714709725"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883548418147,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31471395700835,"product_id":7408178135139,"position":8,"created_at":"2024-05-03T12:15:27+08:00","updated_at":"2024-05-03T12:15:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b358968b0ca89f19373462f22a28add5175e35df_ab74326c-8961-44a5-99ef-e9ee1dd09824.webp?v=1714709727","variant_ids":[41883548418147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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-PB25","featured_media":{"alt":null,"id":23876301881443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b358968b0ca89f19373462f22a28add5175e35df_ab74326c-8961-44a5-99ef-e9ee1dd09824.webp?v=1714709727"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883548647523,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31471396946019,"product_id":7408178135139,"position":10,"created_at":"2024-05-03T12:15:33+08:00","updated_at":"2024-05-03T12:15:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/986ea920be62f419c5a53a71b54dc80f1383ebd1_db57b31b-12f2-40d6-9bea-dc380dba5f8e.webp?v=1714709733","variant_ids":[41883548647523]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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-PB25","featured_media":{"alt":null,"id":23876303126627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/986ea920be62f419c5a53a71b54dc80f1383ebd1_db57b31b-12f2-40d6-9bea-dc380dba5f8e.webp?v=1714709733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41883548352611,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31471395242083,"product_id":7408178135139,"position":7,"created_at":"2024-05-03T12:15:25+08:00","updated_at":"2024-05-03T12:15:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5860fa2cf7fb3a4e08a38151470a58f417d9da29_582a3509-74e8-4da1-9c4f-dbdc6377b8b3.webp?v=1714709725","variant_ids":[41883548352611]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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-PB25","featured_media":{"alt":null,"id":23876301422691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5860fa2cf7fb3a4e08a38151470a58f417d9da29_582a3509-74e8-4da1-9c4f-dbdc6377b8b3.webp?v=1714709725"}},"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: "停產"
}