$product = {"id":7414548136035,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP全載具1-黑","handle":"iphone-13-mini-mod-nx-magsafe-printable-pb09","description":null,"published_at":"2024-06-11T17:51:55+08:00","created_at":"2024-05-05T14:29:43+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":41907267993699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31485725147235,"product_id":7414548136035,"position":3,"created_at":"2024-05-05T14:29:51+08:00","updated_at":"2024-05-05T14:29:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d0ffa51ebf80d3ecf4f661dbe65f1601086b824_b99b042f-d3c3-413f-b400-7f61f0391e2a.webp?v=1714890591","variant_ids":[41907267993699]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23891047514211,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d0ffa51ebf80d3ecf4f661dbe65f1601086b824_b99b042f-d3c3-413f-b400-7f61f0391e2a.webp?v=1714890591"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907268059235,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31485727211619,"product_id":7414548136035,"position":4,"created_at":"2024-05-05T14:29:53+08:00","updated_at":"2024-05-05T14:29:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6bb9d30f7000ec22e19ccda6e6bafd0b707c706_a2e08525-2f9a-4828-bea2-414da848eb9e.webp?v=1714890593","variant_ids":[41907268059235]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23891049447523,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6bb9d30f7000ec22e19ccda6e6bafd0b707c706_a2e08525-2f9a-4828-bea2-414da848eb9e.webp?v=1714890593"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907268288611,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31485735370851,"product_id":7414548136035,"position":9,"created_at":"2024-05-05T14:30:04+08:00","updated_at":"2024-05-05T14:30:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453c580182532768aaccf65244f48916d1c6ff74_a6c9971f-52ff-425e-bde6-8195facce5d9.webp?v=1714890604","variant_ids":[41907268288611]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23891058819171,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453c580182532768aaccf65244f48916d1c6ff74_a6c9971f-52ff-425e-bde6-8195facce5d9.webp?v=1714890604"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da248964c2ca0bbcb3e389def7c22ba1dcaf34c9_fb473f44-d39b-4a21-bbc8-97c7fa68fd06.webp?v=1714890586","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03178d2c35196c80a39efa68dc85ba88574ea7ab_f0b5dfae-b9c7-49e1-9b2b-1e8b8b3d0a76.webp?v=1714890588","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d0ffa51ebf80d3ecf4f661dbe65f1601086b824_b99b042f-d3c3-413f-b400-7f61f0391e2a.webp?v=1714890591","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6bb9d30f7000ec22e19ccda6e6bafd0b707c706_a2e08525-2f9a-4828-bea2-414da848eb9e.webp?v=1714890593","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3786e2a1df66f9946bb64145909859c2c41f6d0c_04196cf5-7d67-4320-85b2-f3d8d7a06505.webp?v=1714890595","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d24e52c03f7ea8e30d752c1bb5796194baac7871_34078388-b110-4b55-8458-8696526a8766.webp?v=1714890597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/987b41d86d323374fd2be9d7a88e4fe1381e2980_266db784-18b0-4410-8a67-e3a81d6eb00a.webp?v=1714890600","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f9fc8ed40e9b68bd654d68cdd9d92c5e78b96a_e163c277-3019-416f-91b3-2ce9de76c97c.webp?v=1714890602","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453c580182532768aaccf65244f48916d1c6ff74_a6c9971f-52ff-425e-bde6-8195facce5d9.webp?v=1714890604","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/763d3613fc6c04c6d17540371678884e376a7d79_17994b4e-85eb-4d8c-aae2-e9b912e04bad.webp?v=1714890607"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da248964c2ca0bbcb3e389def7c22ba1dcaf34c9_fb473f44-d39b-4a21-bbc8-97c7fa68fd06.webp?v=1714890586","options":["color"],"media":[{"alt":null,"id":23891043614819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da248964c2ca0bbcb3e389def7c22ba1dcaf34c9_fb473f44-d39b-4a21-bbc8-97c7fa68fd06.webp?v=1714890586"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da248964c2ca0bbcb3e389def7c22ba1dcaf34c9_fb473f44-d39b-4a21-bbc8-97c7fa68fd06.webp?v=1714890586","width":2000},{"alt":null,"id":23891045679203,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03178d2c35196c80a39efa68dc85ba88574ea7ab_f0b5dfae-b9c7-49e1-9b2b-1e8b8b3d0a76.webp?v=1714890588"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03178d2c35196c80a39efa68dc85ba88574ea7ab_f0b5dfae-b9c7-49e1-9b2b-1e8b8b3d0a76.webp?v=1714890588","width":2000},{"alt":null,"id":23891047514211,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d0ffa51ebf80d3ecf4f661dbe65f1601086b824_b99b042f-d3c3-413f-b400-7f61f0391e2a.webp?v=1714890591"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d0ffa51ebf80d3ecf4f661dbe65f1601086b824_b99b042f-d3c3-413f-b400-7f61f0391e2a.webp?v=1714890591","width":2000},{"alt":null,"id":23891049447523,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6bb9d30f7000ec22e19ccda6e6bafd0b707c706_a2e08525-2f9a-4828-bea2-414da848eb9e.webp?v=1714890593"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6bb9d30f7000ec22e19ccda6e6bafd0b707c706_a2e08525-2f9a-4828-bea2-414da848eb9e.webp?v=1714890593","width":2000},{"alt":null,"id":23891051348067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3786e2a1df66f9946bb64145909859c2c41f6d0c_04196cf5-7d67-4320-85b2-f3d8d7a06505.webp?v=1714890595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3786e2a1df66f9946bb64145909859c2c41f6d0c_04196cf5-7d67-4320-85b2-f3d8d7a06505.webp?v=1714890595","width":2000},{"alt":null,"id":23891053445219,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d24e52c03f7ea8e30d752c1bb5796194baac7871_34078388-b110-4b55-8458-8696526a8766.webp?v=1714890597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d24e52c03f7ea8e30d752c1bb5796194baac7871_34078388-b110-4b55-8458-8696526a8766.webp?v=1714890597","width":2000},{"alt":null,"id":23891055050851,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/987b41d86d323374fd2be9d7a88e4fe1381e2980_266db784-18b0-4410-8a67-e3a81d6eb00a.webp?v=1714890600"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/987b41d86d323374fd2be9d7a88e4fe1381e2980_266db784-18b0-4410-8a67-e3a81d6eb00a.webp?v=1714890600","width":2000},{"alt":null,"id":23891057246307,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f9fc8ed40e9b68bd654d68cdd9d92c5e78b96a_e163c277-3019-416f-91b3-2ce9de76c97c.webp?v=1714890602"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f9fc8ed40e9b68bd654d68cdd9d92c5e78b96a_e163c277-3019-416f-91b3-2ce9de76c97c.webp?v=1714890602","width":2000},{"alt":null,"id":23891058819171,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453c580182532768aaccf65244f48916d1c6ff74_a6c9971f-52ff-425e-bde6-8195facce5d9.webp?v=1714890604"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453c580182532768aaccf65244f48916d1c6ff74_a6c9971f-52ff-425e-bde6-8195facce5d9.webp?v=1714890604","width":2000},{"alt":null,"id":23891060621411,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/763d3613fc6c04c6d17540371678884e376a7d79_17994b4e-85eb-4d8c-aae2-e9b912e04bad.webp?v=1714890607"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/763d3613fc6c04c6d17540371678884e376a7d79_17994b4e-85eb-4d8c-aae2-e9b912e04bad.webp?v=1714890607","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41907267993699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31485725147235,"product_id":7414548136035,"position":3,"created_at":"2024-05-05T14:29:51+08:00","updated_at":"2024-05-05T14:29:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d0ffa51ebf80d3ecf4f661dbe65f1601086b824_b99b042f-d3c3-413f-b400-7f61f0391e2a.webp?v=1714890591","variant_ids":[41907267993699]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23891047514211,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d0ffa51ebf80d3ecf4f661dbe65f1601086b824_b99b042f-d3c3-413f-b400-7f61f0391e2a.webp?v=1714890591"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907268059235,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31485727211619,"product_id":7414548136035,"position":4,"created_at":"2024-05-05T14:29:53+08:00","updated_at":"2024-05-05T14:29:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6bb9d30f7000ec22e19ccda6e6bafd0b707c706_a2e08525-2f9a-4828-bea2-414da848eb9e.webp?v=1714890593","variant_ids":[41907268059235]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23891049447523,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6bb9d30f7000ec22e19ccda6e6bafd0b707c706_a2e08525-2f9a-4828-bea2-414da848eb9e.webp?v=1714890593"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907268288611,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31485735370851,"product_id":7414548136035,"position":9,"created_at":"2024-05-05T14:30:04+08:00","updated_at":"2024-05-05T14:30:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453c580182532768aaccf65244f48916d1c6ff74_a6c9971f-52ff-425e-bde6-8195facce5d9.webp?v=1714890604","variant_ids":[41907268288611]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23891058819171,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453c580182532768aaccf65244f48916d1c6ff74_a6c9971f-52ff-425e-bde6-8195facce5d9.webp?v=1714890604"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41907267993699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31485725147235,"product_id":7414548136035,"position":3,"created_at":"2024-05-05T14:29:51+08:00","updated_at":"2024-05-05T14:29:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d0ffa51ebf80d3ecf4f661dbe65f1601086b824_b99b042f-d3c3-413f-b400-7f61f0391e2a.webp?v=1714890591","variant_ids":[41907267993699]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23891047514211,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d0ffa51ebf80d3ecf4f661dbe65f1601086b824_b99b042f-d3c3-413f-b400-7f61f0391e2a.webp?v=1714890591"}},"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: "停產"
}