$product = {"id":7407681732707,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 死星-線稿風格","handle":"iphone-14-pro-mod-nx-printable-pb75","description":null,"published_at":"2024-06-11T16:21:54+08:00","created_at":"2024-05-03T10:40:56+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":41877581430883,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB75","requires_shipping":true,"taxable":true,"featured_image":{"id":31470212284515,"product_id":7407681732707,"position":10,"created_at":"2024-05-03T10:41:23+08:00","updated_at":"2024-05-03T10:41:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa7df70f43743a9683660366aac895f997133a09_98aa5ea3-2671-4f9a-bc67-2685503370ca.webp?v=1714704083","variant_ids":[41877581430883]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 死星-線稿風格 - 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-PB75","featured_media":{"alt":null,"id":23875115286627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa7df70f43743a9683660366aac895f997133a09_98aa5ea3-2671-4f9a-bc67-2685503370ca.webp?v=1714704083"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877581561955,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB75","requires_shipping":true,"taxable":true,"featured_image":{"id":31470207434851,"product_id":7407681732707,"position":3,"created_at":"2024-05-03T10:41:04+08:00","updated_at":"2024-05-03T10:41:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dd0a4c8bbf5ec382403fb13c8a758722a8293c5_3ba696cb-7b88-4cf8-a8e6-03136a3d98d8.webp?v=1714704064","variant_ids":[41877581561955]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 死星-線稿風格 - 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-PB75","featured_media":{"alt":null,"id":23875110436963,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dd0a4c8bbf5ec382403fb13c8a758722a8293c5_3ba696cb-7b88-4cf8-a8e6-03136a3d98d8.webp?v=1714704064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877581856867,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB75","requires_shipping":true,"taxable":true,"featured_image":{"id":31470211596387,"product_id":7407681732707,"position":9,"created_at":"2024-05-03T10:41:20+08:00","updated_at":"2024-05-03T10:41:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bbe64dcb87271f4b462585f47e21dd82c69fbc8_baff93ee-4870-4baa-832e-f35d53969e7d.webp?v=1714704080","variant_ids":[41877581856867]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 死星-線稿風格 - 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-PB75","featured_media":{"alt":null,"id":23875114664035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bbe64dcb87271f4b462585f47e21dd82c69fbc8_baff93ee-4870-4baa-832e-f35d53969e7d.webp?v=1714704080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f52fc51f1e18f33f8cee1b057f2ea84146921a_e1830d7c-28ad-4e09-ab84-2d94c63c2c56.webp?v=1714704059","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b19292e0e4234bde9207fd3d8c72ecda6956894_9399b52e-0dd4-45c6-ac8d-ce654402e04f.webp?v=1714704062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dd0a4c8bbf5ec382403fb13c8a758722a8293c5_3ba696cb-7b88-4cf8-a8e6-03136a3d98d8.webp?v=1714704064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c85960c4ee61cf6234076cf7e3778e07edb7cde_55df4832-97d9-4a9c-b92f-df4bc83c8cab.webp?v=1714704067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e805a80fa5e48836429df31536f2fee4e5356fd6_33f1e1b3-d60a-45fe-837e-6c4ffaf315fd.webp?v=1714704070","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bfc78812203cc3fca82a9c5258ec3e2708f5a70_9ed18b3e-f0cb-44a1-8591-d237dc44900f.webp?v=1714704072","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf11b68ce09562cd67a749f3b8316945c83b44d4_d6625396-dab7-41e5-9c01-3d5cf515eb7e.webp?v=1714704075","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a050e1ef27f2ed3f132d9e3e2dfeda991ccd972_9d4eacd5-b9ab-4c34-9880-94045b10dc20.webp?v=1714704078","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bbe64dcb87271f4b462585f47e21dd82c69fbc8_baff93ee-4870-4baa-832e-f35d53969e7d.webp?v=1714704080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa7df70f43743a9683660366aac895f997133a09_98aa5ea3-2671-4f9a-bc67-2685503370ca.webp?v=1714704083"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f52fc51f1e18f33f8cee1b057f2ea84146921a_e1830d7c-28ad-4e09-ab84-2d94c63c2c56.webp?v=1714704059","options":["color"],"media":[{"alt":null,"id":23875109224547,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f52fc51f1e18f33f8cee1b057f2ea84146921a_e1830d7c-28ad-4e09-ab84-2d94c63c2c56.webp?v=1714704059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f52fc51f1e18f33f8cee1b057f2ea84146921a_e1830d7c-28ad-4e09-ab84-2d94c63c2c56.webp?v=1714704059","width":2000},{"alt":null,"id":23875109814371,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b19292e0e4234bde9207fd3d8c72ecda6956894_9399b52e-0dd4-45c6-ac8d-ce654402e04f.webp?v=1714704062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b19292e0e4234bde9207fd3d8c72ecda6956894_9399b52e-0dd4-45c6-ac8d-ce654402e04f.webp?v=1714704062","width":2000},{"alt":null,"id":23875110436963,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dd0a4c8bbf5ec382403fb13c8a758722a8293c5_3ba696cb-7b88-4cf8-a8e6-03136a3d98d8.webp?v=1714704064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dd0a4c8bbf5ec382403fb13c8a758722a8293c5_3ba696cb-7b88-4cf8-a8e6-03136a3d98d8.webp?v=1714704064","width":2000},{"alt":null,"id":23875111125091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c85960c4ee61cf6234076cf7e3778e07edb7cde_55df4832-97d9-4a9c-b92f-df4bc83c8cab.webp?v=1714704067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c85960c4ee61cf6234076cf7e3778e07edb7cde_55df4832-97d9-4a9c-b92f-df4bc83c8cab.webp?v=1714704067","width":2000},{"alt":null,"id":23875111911523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e805a80fa5e48836429df31536f2fee4e5356fd6_33f1e1b3-d60a-45fe-837e-6c4ffaf315fd.webp?v=1714704070"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e805a80fa5e48836429df31536f2fee4e5356fd6_33f1e1b3-d60a-45fe-837e-6c4ffaf315fd.webp?v=1714704070","width":2000},{"alt":null,"id":23875112566883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bfc78812203cc3fca82a9c5258ec3e2708f5a70_9ed18b3e-f0cb-44a1-8591-d237dc44900f.webp?v=1714704072"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bfc78812203cc3fca82a9c5258ec3e2708f5a70_9ed18b3e-f0cb-44a1-8591-d237dc44900f.webp?v=1714704072","width":2000},{"alt":null,"id":23875113189475,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf11b68ce09562cd67a749f3b8316945c83b44d4_d6625396-dab7-41e5-9c01-3d5cf515eb7e.webp?v=1714704075"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf11b68ce09562cd67a749f3b8316945c83b44d4_d6625396-dab7-41e5-9c01-3d5cf515eb7e.webp?v=1714704075","width":2000},{"alt":null,"id":23875113877603,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a050e1ef27f2ed3f132d9e3e2dfeda991ccd972_9d4eacd5-b9ab-4c34-9880-94045b10dc20.webp?v=1714704078"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a050e1ef27f2ed3f132d9e3e2dfeda991ccd972_9d4eacd5-b9ab-4c34-9880-94045b10dc20.webp?v=1714704078","width":2000},{"alt":null,"id":23875114664035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bbe64dcb87271f4b462585f47e21dd82c69fbc8_baff93ee-4870-4baa-832e-f35d53969e7d.webp?v=1714704080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bbe64dcb87271f4b462585f47e21dd82c69fbc8_baff93ee-4870-4baa-832e-f35d53969e7d.webp?v=1714704080","width":2000},{"alt":null,"id":23875115286627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa7df70f43743a9683660366aac895f997133a09_98aa5ea3-2671-4f9a-bc67-2685503370ca.webp?v=1714704083"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa7df70f43743a9683660366aac895f997133a09_98aa5ea3-2671-4f9a-bc67-2685503370ca.webp?v=1714704083","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41877581430883,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB75","requires_shipping":true,"taxable":true,"featured_image":{"id":31470212284515,"product_id":7407681732707,"position":10,"created_at":"2024-05-03T10:41:23+08:00","updated_at":"2024-05-03T10:41:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa7df70f43743a9683660366aac895f997133a09_98aa5ea3-2671-4f9a-bc67-2685503370ca.webp?v=1714704083","variant_ids":[41877581430883]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 死星-線稿風格 - 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-PB75","featured_media":{"alt":null,"id":23875115286627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa7df70f43743a9683660366aac895f997133a09_98aa5ea3-2671-4f9a-bc67-2685503370ca.webp?v=1714704083"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877581561955,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB75","requires_shipping":true,"taxable":true,"featured_image":{"id":31470207434851,"product_id":7407681732707,"position":3,"created_at":"2024-05-03T10:41:04+08:00","updated_at":"2024-05-03T10:41:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dd0a4c8bbf5ec382403fb13c8a758722a8293c5_3ba696cb-7b88-4cf8-a8e6-03136a3d98d8.webp?v=1714704064","variant_ids":[41877581561955]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 死星-線稿風格 - 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-PB75","featured_media":{"alt":null,"id":23875110436963,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dd0a4c8bbf5ec382403fb13c8a758722a8293c5_3ba696cb-7b88-4cf8-a8e6-03136a3d98d8.webp?v=1714704064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877581856867,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB75","requires_shipping":true,"taxable":true,"featured_image":{"id":31470211596387,"product_id":7407681732707,"position":9,"created_at":"2024-05-03T10:41:20+08:00","updated_at":"2024-05-03T10:41:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bbe64dcb87271f4b462585f47e21dd82c69fbc8_baff93ee-4870-4baa-832e-f35d53969e7d.webp?v=1714704080","variant_ids":[41877581856867]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 死星-線稿風格 - 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-PB75","featured_media":{"alt":null,"id":23875114664035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bbe64dcb87271f4b462585f47e21dd82c69fbc8_baff93ee-4870-4baa-832e-f35d53969e7d.webp?v=1714704080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41877581430883,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB75","requires_shipping":true,"taxable":true,"featured_image":{"id":31470212284515,"product_id":7407681732707,"position":10,"created_at":"2024-05-03T10:41:23+08:00","updated_at":"2024-05-03T10:41:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa7df70f43743a9683660366aac895f997133a09_98aa5ea3-2671-4f9a-bc67-2685503370ca.webp?v=1714704083","variant_ids":[41877581430883]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 死星-線稿風格 - 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-PB75","featured_media":{"alt":null,"id":23875115286627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa7df70f43743a9683660366aac895f997133a09_98aa5ea3-2671-4f9a-bc67-2685503370ca.webp?v=1714704083"}},"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: "停產"
}