$product = {"id":7407876112483,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列","handle":"iphone-14-pro-mod-nx-printable-pb57","description":null,"published_at":"2024-06-11T16:25:19+08:00","created_at":"2024-05-03T11:07:31+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":41879956226147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31470593343587,"product_id":7407876112483,"position":4,"created_at":"2024-05-03T11:07:40+08:00","updated_at":"2024-05-03T11:07:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e4a8b8d2ce881b1b600b6025cdfeaca6adb9d8_6a6fff3c-e88c-4190-8dce-d825f6cb0483.webp?v=1714705660","variant_ids":[41879956226147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23875497263203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e4a8b8d2ce881b1b600b6025cdfeaca6adb9d8_6a6fff3c-e88c-4190-8dce-d825f6cb0483.webp?v=1714705660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879956291683,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31470594588771,"product_id":7407876112483,"position":7,"created_at":"2024-05-03T11:07:47+08:00","updated_at":"2024-05-03T11:07:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfc0a6446689c21c61fbb73210f2e8b56ed52649_e2028a20-5f11-41b2-bfc4-12d2f29fbb59.webp?v=1714705667","variant_ids":[41879956291683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23875498508387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfc0a6446689c21c61fbb73210f2e8b56ed52649_e2028a20-5f11-41b2-bfc4-12d2f29fbb59.webp?v=1714705667"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879956586595,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31470592458851,"product_id":7407876112483,"position":2,"created_at":"2024-05-03T11:07:35+08:00","updated_at":"2024-05-03T11:07:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51bdce600228aefe52684bdd5745effd0a270bd8_08980d97-17fa-4765-8633-5fd3ebb2da9f.webp?v=1714705655","variant_ids":[41879956586595]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23875496378467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51bdce600228aefe52684bdd5745effd0a270bd8_08980d97-17fa-4765-8633-5fd3ebb2da9f.webp?v=1714705655"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/306fe280676e1397251fbc241fcd69dceb36c65a_9394c236-db8a-4cb6-9d04-4295e5b614f2.webp?v=1714705653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51bdce600228aefe52684bdd5745effd0a270bd8_08980d97-17fa-4765-8633-5fd3ebb2da9f.webp?v=1714705655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34dd40d67868db6e7ae52e2e14b15ff62756e72d_a409b5cc-5f33-4216-b49b-3e2cd4face17.webp?v=1714705658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e4a8b8d2ce881b1b600b6025cdfeaca6adb9d8_6a6fff3c-e88c-4190-8dce-d825f6cb0483.webp?v=1714705660","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/733f868e1c89221a52d63cd7a5a5930e712d8000_f7e7afa8-4017-47a2-9194-567b2fad37a7.webp?v=1714705662","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfc52bedd75794b27678ad1ea086735469c27b55_30a90de4-85f2-4e20-8450-c7dcc1631601.webp?v=1714705665","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfc0a6446689c21c61fbb73210f2e8b56ed52649_e2028a20-5f11-41b2-bfc4-12d2f29fbb59.webp?v=1714705667","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21021c9dff01b98bef9eadf95aff86299d507fd0_0cfa03f4-07ea-4071-b738-14c331edf4f3.webp?v=1714705670","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16153abf685f9b25de17531bac27702c5868c30b_3597be98-251c-440d-8c96-610dbb81ad05.webp?v=1714705672","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03a8512051d0374a573eb65710d0d4bc964a9f1_0e5244a3-94f8-467b-8bb5-0f09f3fa6d87.webp?v=1714705674"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/306fe280676e1397251fbc241fcd69dceb36c65a_9394c236-db8a-4cb6-9d04-4295e5b614f2.webp?v=1714705653","options":["color"],"media":[{"alt":null,"id":23875495952483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/306fe280676e1397251fbc241fcd69dceb36c65a_9394c236-db8a-4cb6-9d04-4295e5b614f2.webp?v=1714705653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/306fe280676e1397251fbc241fcd69dceb36c65a_9394c236-db8a-4cb6-9d04-4295e5b614f2.webp?v=1714705653","width":2000},{"alt":null,"id":23875496378467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51bdce600228aefe52684bdd5745effd0a270bd8_08980d97-17fa-4765-8633-5fd3ebb2da9f.webp?v=1714705655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51bdce600228aefe52684bdd5745effd0a270bd8_08980d97-17fa-4765-8633-5fd3ebb2da9f.webp?v=1714705655","width":2000},{"alt":null,"id":23875496804451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34dd40d67868db6e7ae52e2e14b15ff62756e72d_a409b5cc-5f33-4216-b49b-3e2cd4face17.webp?v=1714705658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34dd40d67868db6e7ae52e2e14b15ff62756e72d_a409b5cc-5f33-4216-b49b-3e2cd4face17.webp?v=1714705658","width":2000},{"alt":null,"id":23875497263203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e4a8b8d2ce881b1b600b6025cdfeaca6adb9d8_6a6fff3c-e88c-4190-8dce-d825f6cb0483.webp?v=1714705660"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e4a8b8d2ce881b1b600b6025cdfeaca6adb9d8_6a6fff3c-e88c-4190-8dce-d825f6cb0483.webp?v=1714705660","width":2000},{"alt":null,"id":23875497689187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/733f868e1c89221a52d63cd7a5a5930e712d8000_f7e7afa8-4017-47a2-9194-567b2fad37a7.webp?v=1714705662"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/733f868e1c89221a52d63cd7a5a5930e712d8000_f7e7afa8-4017-47a2-9194-567b2fad37a7.webp?v=1714705662","width":2000},{"alt":null,"id":23875498115171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfc52bedd75794b27678ad1ea086735469c27b55_30a90de4-85f2-4e20-8450-c7dcc1631601.webp?v=1714705665"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfc52bedd75794b27678ad1ea086735469c27b55_30a90de4-85f2-4e20-8450-c7dcc1631601.webp?v=1714705665","width":2000},{"alt":null,"id":23875498508387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfc0a6446689c21c61fbb73210f2e8b56ed52649_e2028a20-5f11-41b2-bfc4-12d2f29fbb59.webp?v=1714705667"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfc0a6446689c21c61fbb73210f2e8b56ed52649_e2028a20-5f11-41b2-bfc4-12d2f29fbb59.webp?v=1714705667","width":2000},{"alt":null,"id":23875498967139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21021c9dff01b98bef9eadf95aff86299d507fd0_0cfa03f4-07ea-4071-b738-14c331edf4f3.webp?v=1714705670"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21021c9dff01b98bef9eadf95aff86299d507fd0_0cfa03f4-07ea-4071-b738-14c331edf4f3.webp?v=1714705670","width":2000},{"alt":null,"id":23875499294819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16153abf685f9b25de17531bac27702c5868c30b_3597be98-251c-440d-8c96-610dbb81ad05.webp?v=1714705672"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16153abf685f9b25de17531bac27702c5868c30b_3597be98-251c-440d-8c96-610dbb81ad05.webp?v=1714705672","width":2000},{"alt":null,"id":23875499753571,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03a8512051d0374a573eb65710d0d4bc964a9f1_0e5244a3-94f8-467b-8bb5-0f09f3fa6d87.webp?v=1714705674"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03a8512051d0374a573eb65710d0d4bc964a9f1_0e5244a3-94f8-467b-8bb5-0f09f3fa6d87.webp?v=1714705674","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41879956226147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31470593343587,"product_id":7407876112483,"position":4,"created_at":"2024-05-03T11:07:40+08:00","updated_at":"2024-05-03T11:07:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e4a8b8d2ce881b1b600b6025cdfeaca6adb9d8_6a6fff3c-e88c-4190-8dce-d825f6cb0483.webp?v=1714705660","variant_ids":[41879956226147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23875497263203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e4a8b8d2ce881b1b600b6025cdfeaca6adb9d8_6a6fff3c-e88c-4190-8dce-d825f6cb0483.webp?v=1714705660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879956291683,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31470594588771,"product_id":7407876112483,"position":7,"created_at":"2024-05-03T11:07:47+08:00","updated_at":"2024-05-03T11:07:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfc0a6446689c21c61fbb73210f2e8b56ed52649_e2028a20-5f11-41b2-bfc4-12d2f29fbb59.webp?v=1714705667","variant_ids":[41879956291683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23875498508387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfc0a6446689c21c61fbb73210f2e8b56ed52649_e2028a20-5f11-41b2-bfc4-12d2f29fbb59.webp?v=1714705667"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879956586595,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31470592458851,"product_id":7407876112483,"position":2,"created_at":"2024-05-03T11:07:35+08:00","updated_at":"2024-05-03T11:07:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51bdce600228aefe52684bdd5745effd0a270bd8_08980d97-17fa-4765-8633-5fd3ebb2da9f.webp?v=1714705655","variant_ids":[41879956586595]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23875496378467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51bdce600228aefe52684bdd5745effd0a270bd8_08980d97-17fa-4765-8633-5fd3ebb2da9f.webp?v=1714705655"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41879956226147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31470593343587,"product_id":7407876112483,"position":4,"created_at":"2024-05-03T11:07:40+08:00","updated_at":"2024-05-03T11:07:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e4a8b8d2ce881b1b600b6025cdfeaca6adb9d8_6a6fff3c-e88c-4190-8dce-d825f6cb0483.webp?v=1714705660","variant_ids":[41879956226147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23875497263203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e4a8b8d2ce881b1b600b6025cdfeaca6adb9d8_6a6fff3c-e88c-4190-8dce-d825f6cb0483.webp?v=1714705660"}},"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: "停產"
}