$product = {"id":7414487908451,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列","handle":"iphone-13-mini-mod-nx-magsafe-printable-pb65","description":null,"published_at":"2024-06-11T17:51:36+08:00","created_at":"2024-05-05T14:27:37+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41906849972323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31485607542883,"product_id":7414487908451,"position":4,"created_at":"2024-05-05T14:27:46+08:00","updated_at":"2024-05-05T14:27:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eebd2b73524bb9c88b8da159deedc174cb3cc59f_a72ac308-32d8-44e2-a37a-c9b38c57747c.webp?v=1714890466","variant_ids":[41906849972323]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-PB65","featured_media":{"alt":null,"id":23890924142691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eebd2b73524bb9c88b8da159deedc174cb3cc59f_a72ac308-32d8-44e2-a37a-c9b38c57747c.webp?v=1714890466"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906850037859,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31485605052515,"product_id":7414487908451,"position":3,"created_at":"2024-05-05T14:27:44+08:00","updated_at":"2024-05-05T14:27:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17667f858acd0bebd6b8b346f45157fc99b6f566_2842f665-4b18-4c8b-b61d-4ec0cdd99474.webp?v=1714890464","variant_ids":[41906850037859]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-PB65","featured_media":{"alt":null,"id":23890921980003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17667f858acd0bebd6b8b346f45157fc99b6f566_2842f665-4b18-4c8b-b61d-4ec0cdd99474.webp?v=1714890464"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906850463843,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31485617602659,"product_id":7414487908451,"position":9,"created_at":"2024-05-05T14:27:57+08:00","updated_at":"2024-05-05T14:27:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/718c6aee9a74aa29f8265c1ea8dde787080bf17f_5e8af27c-ed86-4855-b926-095db3ff8af8.webp?v=1714890477","variant_ids":[41906850463843]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-PB65","featured_media":{"alt":null,"id":23890933973091,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/718c6aee9a74aa29f8265c1ea8dde787080bf17f_5e8af27c-ed86-4855-b926-095db3ff8af8.webp?v=1714890477"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74d38ae3c52a695375d5f6dcaaeb332a6bf8d82_6c706b94-b2a1-44fb-b01a-12d01c7839c4.webp?v=1714890459","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e6247b271ea92324c017f2ed40ca6e0f7190369_574de214-a160-4931-89c7-4d9f03b3a590.webp?v=1714890462","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17667f858acd0bebd6b8b346f45157fc99b6f566_2842f665-4b18-4c8b-b61d-4ec0cdd99474.webp?v=1714890464","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eebd2b73524bb9c88b8da159deedc174cb3cc59f_a72ac308-32d8-44e2-a37a-c9b38c57747c.webp?v=1714890466","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41278f706c4cf4c6c5c283c63497c6198bf6c796_c343f234-ea1d-440e-9c0e-e023ad7729f1.webp?v=1714890469","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14aba7b637844797e322fafee2b9602ba9ad1f3b_2461adf5-531c-4666-adf3-ec05fb6f47d0.webp?v=1714890471","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e9339a98ff8cb66ed148094257923e9f63c51d_3bc89a45-0861-4179-a926-25671a3b11af.webp?v=1714890473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d515f7cc36777337aae183e2e0c87020b9f294b_985b8f6e-3dbf-45c7-9bb3-0154888dcbdd.webp?v=1714890475","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/718c6aee9a74aa29f8265c1ea8dde787080bf17f_5e8af27c-ed86-4855-b926-095db3ff8af8.webp?v=1714890477","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1339fd1f271a46777e56dd3b7fe5154823536764_e7350fb3-95a9-4871-bc08-883e237c8d6c.webp?v=1714890480"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74d38ae3c52a695375d5f6dcaaeb332a6bf8d82_6c706b94-b2a1-44fb-b01a-12d01c7839c4.webp?v=1714890459","options":["color"],"media":[{"alt":null,"id":23890917458019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74d38ae3c52a695375d5f6dcaaeb332a6bf8d82_6c706b94-b2a1-44fb-b01a-12d01c7839c4.webp?v=1714890459"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74d38ae3c52a695375d5f6dcaaeb332a6bf8d82_6c706b94-b2a1-44fb-b01a-12d01c7839c4.webp?v=1714890459","width":2000},{"alt":null,"id":23890919489635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e6247b271ea92324c017f2ed40ca6e0f7190369_574de214-a160-4931-89c7-4d9f03b3a590.webp?v=1714890462"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e6247b271ea92324c017f2ed40ca6e0f7190369_574de214-a160-4931-89c7-4d9f03b3a590.webp?v=1714890462","width":2000},{"alt":null,"id":23890921980003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17667f858acd0bebd6b8b346f45157fc99b6f566_2842f665-4b18-4c8b-b61d-4ec0cdd99474.webp?v=1714890464"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17667f858acd0bebd6b8b346f45157fc99b6f566_2842f665-4b18-4c8b-b61d-4ec0cdd99474.webp?v=1714890464","width":2000},{"alt":null,"id":23890924142691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eebd2b73524bb9c88b8da159deedc174cb3cc59f_a72ac308-32d8-44e2-a37a-c9b38c57747c.webp?v=1714890466"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eebd2b73524bb9c88b8da159deedc174cb3cc59f_a72ac308-32d8-44e2-a37a-c9b38c57747c.webp?v=1714890466","width":2000},{"alt":null,"id":23890926305379,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41278f706c4cf4c6c5c283c63497c6198bf6c796_c343f234-ea1d-440e-9c0e-e023ad7729f1.webp?v=1714890469"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41278f706c4cf4c6c5c283c63497c6198bf6c796_c343f234-ea1d-440e-9c0e-e023ad7729f1.webp?v=1714890469","width":2000},{"alt":null,"id":23890928238691,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14aba7b637844797e322fafee2b9602ba9ad1f3b_2461adf5-531c-4666-adf3-ec05fb6f47d0.webp?v=1714890471"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14aba7b637844797e322fafee2b9602ba9ad1f3b_2461adf5-531c-4666-adf3-ec05fb6f47d0.webp?v=1714890471","width":2000},{"alt":null,"id":23890930368611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e9339a98ff8cb66ed148094257923e9f63c51d_3bc89a45-0861-4179-a926-25671a3b11af.webp?v=1714890473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e9339a98ff8cb66ed148094257923e9f63c51d_3bc89a45-0861-4179-a926-25671a3b11af.webp?v=1714890473","width":2000},{"alt":null,"id":23890932072547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d515f7cc36777337aae183e2e0c87020b9f294b_985b8f6e-3dbf-45c7-9bb3-0154888dcbdd.webp?v=1714890475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d515f7cc36777337aae183e2e0c87020b9f294b_985b8f6e-3dbf-45c7-9bb3-0154888dcbdd.webp?v=1714890475","width":2000},{"alt":null,"id":23890933973091,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/718c6aee9a74aa29f8265c1ea8dde787080bf17f_5e8af27c-ed86-4855-b926-095db3ff8af8.webp?v=1714890477"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/718c6aee9a74aa29f8265c1ea8dde787080bf17f_5e8af27c-ed86-4855-b926-095db3ff8af8.webp?v=1714890477","width":2000},{"alt":null,"id":23890935971939,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1339fd1f271a46777e56dd3b7fe5154823536764_e7350fb3-95a9-4871-bc08-883e237c8d6c.webp?v=1714890480"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1339fd1f271a46777e56dd3b7fe5154823536764_e7350fb3-95a9-4871-bc08-883e237c8d6c.webp?v=1714890480","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41906849972323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31485607542883,"product_id":7414487908451,"position":4,"created_at":"2024-05-05T14:27:46+08:00","updated_at":"2024-05-05T14:27:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eebd2b73524bb9c88b8da159deedc174cb3cc59f_a72ac308-32d8-44e2-a37a-c9b38c57747c.webp?v=1714890466","variant_ids":[41906849972323]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-PB65","featured_media":{"alt":null,"id":23890924142691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eebd2b73524bb9c88b8da159deedc174cb3cc59f_a72ac308-32d8-44e2-a37a-c9b38c57747c.webp?v=1714890466"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906850037859,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31485605052515,"product_id":7414487908451,"position":3,"created_at":"2024-05-05T14:27:44+08:00","updated_at":"2024-05-05T14:27:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17667f858acd0bebd6b8b346f45157fc99b6f566_2842f665-4b18-4c8b-b61d-4ec0cdd99474.webp?v=1714890464","variant_ids":[41906850037859]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-PB65","featured_media":{"alt":null,"id":23890921980003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17667f858acd0bebd6b8b346f45157fc99b6f566_2842f665-4b18-4c8b-b61d-4ec0cdd99474.webp?v=1714890464"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906850463843,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31485617602659,"product_id":7414487908451,"position":9,"created_at":"2024-05-05T14:27:57+08:00","updated_at":"2024-05-05T14:27:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/718c6aee9a74aa29f8265c1ea8dde787080bf17f_5e8af27c-ed86-4855-b926-095db3ff8af8.webp?v=1714890477","variant_ids":[41906850463843]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-PB65","featured_media":{"alt":null,"id":23890933973091,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/718c6aee9a74aa29f8265c1ea8dde787080bf17f_5e8af27c-ed86-4855-b926-095db3ff8af8.webp?v=1714890477"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41906849972323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31485607542883,"product_id":7414487908451,"position":4,"created_at":"2024-05-05T14:27:46+08:00","updated_at":"2024-05-05T14:27:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eebd2b73524bb9c88b8da159deedc174cb3cc59f_a72ac308-32d8-44e2-a37a-c9b38c57747c.webp?v=1714890466","variant_ids":[41906849972323]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-PB65","featured_media":{"alt":null,"id":23890924142691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eebd2b73524bb9c88b8da159deedc174cb3cc59f_a72ac308-32d8-44e2-a37a-c9b38c57747c.webp?v=1714890466"}},"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: "停產"
}