$product = {"id":7407970156643,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - The Adventures of R2-D2 \u0026 C-3PO","handle":"iphone-14-pro-mod-nx-printable-pb82","description":null,"published_at":"2024-06-11T16:27:56+08:00","created_at":"2024-05-03T11:25:58+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":41881196626019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB82","requires_shipping":true,"taxable":true,"featured_image":{"id":31470837006435,"product_id":7407970156643,"position":7,"created_at":"2024-05-03T11:26:15+08:00","updated_at":"2024-05-03T11:26:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d43f2645b0b503e837fe442c20938ed577c4594_5571efa0-97b9-4730-b1d8-89e043987e01.webp?v=1714706775","variant_ids":[41881196626019]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - The Adventures of R2-D2 \u0026 C-3PO - 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-PB82","featured_media":{"alt":null,"id":23875741614179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d43f2645b0b503e837fe442c20938ed577c4594_5571efa0-97b9-4730-b1d8-89e043987e01.webp?v=1714706775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881196691555,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB82","requires_shipping":true,"taxable":true,"featured_image":{"id":31470834548835,"product_id":7407970156643,"position":3,"created_at":"2024-05-03T11:26:05+08:00","updated_at":"2024-05-03T11:26:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfdde00cd625886e63ca49191d1308eaf205bb54_d4644cb7-fe22-4b9f-8939-574f5177c9e9.webp?v=1714706765","variant_ids":[41881196691555]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - The Adventures of R2-D2 \u0026 C-3PO - 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-PB82","featured_media":{"alt":null,"id":23875739091043,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfdde00cd625886e63ca49191d1308eaf205bb54_d4644cb7-fe22-4b9f-8939-574f5177c9e9.webp?v=1714706765"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881196920931,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB82","requires_shipping":true,"taxable":true,"featured_image":{"id":31470835138659,"product_id":7407970156643,"position":4,"created_at":"2024-05-03T11:26:07+08:00","updated_at":"2024-05-03T11:26:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59c250791e2b69f081e9a699f2fe89658899a1af_c4114451-d6a3-4b1d-933c-f930ae161ea6.webp?v=1714706767","variant_ids":[41881196920931]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - The Adventures of R2-D2 \u0026 C-3PO - 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-PB82","featured_media":{"alt":null,"id":23875739680867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59c250791e2b69f081e9a699f2fe89658899a1af_c4114451-d6a3-4b1d-933c-f930ae161ea6.webp?v=1714706767"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ceed7b213c55efd4a0751b1f793bcfe5241c742_322d2d5c-fbaf-4fba-8600-5a17e13fcc60.webp?v=1714706760","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7fec9458999100c2428c14dcc4d5bfa2bd3d41_860b2c10-134f-48e6-8ad7-d047c21df94c.webp?v=1714706762","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfdde00cd625886e63ca49191d1308eaf205bb54_d4644cb7-fe22-4b9f-8939-574f5177c9e9.webp?v=1714706765","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59c250791e2b69f081e9a699f2fe89658899a1af_c4114451-d6a3-4b1d-933c-f930ae161ea6.webp?v=1714706767","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d697ce0a076a8d95a2e400d87636fbb6aa4e2c8_8c02bd09-f854-4c09-99ec-d0e18ddac5ee.webp?v=1714706770","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0da2698796adb3b8833348424c91608f6eeb24d_cb589ddd-5980-4a4c-8926-9cba06ec6a60.webp?v=1714706772","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d43f2645b0b503e837fe442c20938ed577c4594_5571efa0-97b9-4730-b1d8-89e043987e01.webp?v=1714706775","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73c8c1dabb36b20450a8a59307cbad21b7eefa4c_421a86f6-309d-4e44-89d7-2ed25b84fff1.webp?v=1714706777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/075f2cc50cdc4257f364283180ce753cd0b1e188_26388487-c0d5-4d32-bfdd-986563455a8c.webp?v=1714706779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1a3d04de9875339208d00a3139cfce1ea33e3a_da4eac04-3460-42f5-a901-64cdee22b372.webp?v=1714706782"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ceed7b213c55efd4a0751b1f793bcfe5241c742_322d2d5c-fbaf-4fba-8600-5a17e13fcc60.webp?v=1714706760","options":["color"],"media":[{"alt":null,"id":23875737813091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ceed7b213c55efd4a0751b1f793bcfe5241c742_322d2d5c-fbaf-4fba-8600-5a17e13fcc60.webp?v=1714706760"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ceed7b213c55efd4a0751b1f793bcfe5241c742_322d2d5c-fbaf-4fba-8600-5a17e13fcc60.webp?v=1714706760","width":2000},{"alt":null,"id":23875738501219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7fec9458999100c2428c14dcc4d5bfa2bd3d41_860b2c10-134f-48e6-8ad7-d047c21df94c.webp?v=1714706762"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7fec9458999100c2428c14dcc4d5bfa2bd3d41_860b2c10-134f-48e6-8ad7-d047c21df94c.webp?v=1714706762","width":2000},{"alt":null,"id":23875739091043,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfdde00cd625886e63ca49191d1308eaf205bb54_d4644cb7-fe22-4b9f-8939-574f5177c9e9.webp?v=1714706765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfdde00cd625886e63ca49191d1308eaf205bb54_d4644cb7-fe22-4b9f-8939-574f5177c9e9.webp?v=1714706765","width":2000},{"alt":null,"id":23875739680867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59c250791e2b69f081e9a699f2fe89658899a1af_c4114451-d6a3-4b1d-933c-f930ae161ea6.webp?v=1714706767"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59c250791e2b69f081e9a699f2fe89658899a1af_c4114451-d6a3-4b1d-933c-f930ae161ea6.webp?v=1714706767","width":2000},{"alt":null,"id":23875740434531,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d697ce0a076a8d95a2e400d87636fbb6aa4e2c8_8c02bd09-f854-4c09-99ec-d0e18ddac5ee.webp?v=1714706770"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d697ce0a076a8d95a2e400d87636fbb6aa4e2c8_8c02bd09-f854-4c09-99ec-d0e18ddac5ee.webp?v=1714706770","width":2000},{"alt":null,"id":23875740958819,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0da2698796adb3b8833348424c91608f6eeb24d_cb589ddd-5980-4a4c-8926-9cba06ec6a60.webp?v=1714706772"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0da2698796adb3b8833348424c91608f6eeb24d_cb589ddd-5980-4a4c-8926-9cba06ec6a60.webp?v=1714706772","width":2000},{"alt":null,"id":23875741614179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d43f2645b0b503e837fe442c20938ed577c4594_5571efa0-97b9-4730-b1d8-89e043987e01.webp?v=1714706775"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d43f2645b0b503e837fe442c20938ed577c4594_5571efa0-97b9-4730-b1d8-89e043987e01.webp?v=1714706775","width":2000},{"alt":null,"id":23875741941859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73c8c1dabb36b20450a8a59307cbad21b7eefa4c_421a86f6-309d-4e44-89d7-2ed25b84fff1.webp?v=1714706777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73c8c1dabb36b20450a8a59307cbad21b7eefa4c_421a86f6-309d-4e44-89d7-2ed25b84fff1.webp?v=1714706777","width":2000},{"alt":null,"id":23875742564451,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/075f2cc50cdc4257f364283180ce753cd0b1e188_26388487-c0d5-4d32-bfdd-986563455a8c.webp?v=1714706779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/075f2cc50cdc4257f364283180ce753cd0b1e188_26388487-c0d5-4d32-bfdd-986563455a8c.webp?v=1714706779","width":2000},{"alt":null,"id":23875742892131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1a3d04de9875339208d00a3139cfce1ea33e3a_da4eac04-3460-42f5-a901-64cdee22b372.webp?v=1714706782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1a3d04de9875339208d00a3139cfce1ea33e3a_da4eac04-3460-42f5-a901-64cdee22b372.webp?v=1714706782","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41881196626019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB82","requires_shipping":true,"taxable":true,"featured_image":{"id":31470837006435,"product_id":7407970156643,"position":7,"created_at":"2024-05-03T11:26:15+08:00","updated_at":"2024-05-03T11:26:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d43f2645b0b503e837fe442c20938ed577c4594_5571efa0-97b9-4730-b1d8-89e043987e01.webp?v=1714706775","variant_ids":[41881196626019]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - The Adventures of R2-D2 \u0026 C-3PO - 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-PB82","featured_media":{"alt":null,"id":23875741614179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d43f2645b0b503e837fe442c20938ed577c4594_5571efa0-97b9-4730-b1d8-89e043987e01.webp?v=1714706775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881196691555,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB82","requires_shipping":true,"taxable":true,"featured_image":{"id":31470834548835,"product_id":7407970156643,"position":3,"created_at":"2024-05-03T11:26:05+08:00","updated_at":"2024-05-03T11:26:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfdde00cd625886e63ca49191d1308eaf205bb54_d4644cb7-fe22-4b9f-8939-574f5177c9e9.webp?v=1714706765","variant_ids":[41881196691555]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - The Adventures of R2-D2 \u0026 C-3PO - 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-PB82","featured_media":{"alt":null,"id":23875739091043,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfdde00cd625886e63ca49191d1308eaf205bb54_d4644cb7-fe22-4b9f-8939-574f5177c9e9.webp?v=1714706765"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881196920931,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB82","requires_shipping":true,"taxable":true,"featured_image":{"id":31470835138659,"product_id":7407970156643,"position":4,"created_at":"2024-05-03T11:26:07+08:00","updated_at":"2024-05-03T11:26:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59c250791e2b69f081e9a699f2fe89658899a1af_c4114451-d6a3-4b1d-933c-f930ae161ea6.webp?v=1714706767","variant_ids":[41881196920931]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - The Adventures of R2-D2 \u0026 C-3PO - 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-PB82","featured_media":{"alt":null,"id":23875739680867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59c250791e2b69f081e9a699f2fe89658899a1af_c4114451-d6a3-4b1d-933c-f930ae161ea6.webp?v=1714706767"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41881196626019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB82","requires_shipping":true,"taxable":true,"featured_image":{"id":31470837006435,"product_id":7407970156643,"position":7,"created_at":"2024-05-03T11:26:15+08:00","updated_at":"2024-05-03T11:26:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d43f2645b0b503e837fe442c20938ed577c4594_5571efa0-97b9-4730-b1d8-89e043987e01.webp?v=1714706775","variant_ids":[41881196626019]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - The Adventures of R2-D2 \u0026 C-3PO - 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-PB82","featured_media":{"alt":null,"id":23875741614179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d43f2645b0b503e837fe442c20938ed577c4594_5571efa0-97b9-4730-b1d8-89e043987e01.webp?v=1714706775"}},"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: "停產"
}