$product = {"id":7407964192867,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 星戰角色-漫畫系列","handle":"iphone-14-pro-mod-nx-printable-pb84","description":null,"published_at":"2024-06-11T16:27:46+08:00","created_at":"2024-05-03T11:24:41+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":41881115590755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB84","requires_shipping":true,"taxable":true,"featured_image":{"id":31470820622435,"product_id":7407964192867,"position":8,"created_at":"2024-05-03T11:25:01+08:00","updated_at":"2024-05-03T11:25:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af818e2187fbc62b1519c4a38d220ae52bf76aab_739b5e9d-8691-4ed3-b80c-03fe1b3bdc0f.webp?v=1714706701","variant_ids":[41881115590755]},"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-PB84","featured_media":{"alt":null,"id":23875725164643,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af818e2187fbc62b1519c4a38d220ae52bf76aab_739b5e9d-8691-4ed3-b80c-03fe1b3bdc0f.webp?v=1714706701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881115656291,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB84","requires_shipping":true,"taxable":true,"featured_image":{"id":31470821245027,"product_id":7407964192867,"position":9,"created_at":"2024-05-03T11:25:03+08:00","updated_at":"2024-05-03T11:25:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ef91a3f62fb08831c91fe76f82d80df34a20ad_2bcce2c0-d609-4751-8287-fcb828313d2e.webp?v=1714706703","variant_ids":[41881115656291]},"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-PB84","featured_media":{"alt":null,"id":23875725721699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ef91a3f62fb08831c91fe76f82d80df34a20ad_2bcce2c0-d609-4751-8287-fcb828313d2e.webp?v=1714706703"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881115885667,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB84","requires_shipping":true,"taxable":true,"featured_image":{"id":31470821802083,"product_id":7407964192867,"position":10,"created_at":"2024-05-03T11:25:06+08:00","updated_at":"2024-05-03T11:25:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4456e7999575500b45f810d044a20a33e39746f7_463024df-0c14-4f3b-a15d-12e62278ef62.webp?v=1714706706","variant_ids":[41881115885667]},"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-PB84","featured_media":{"alt":null,"id":23875726311523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4456e7999575500b45f810d044a20a33e39746f7_463024df-0c14-4f3b-a15d-12e62278ef62.webp?v=1714706706"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dfdf8b385e4c6ad0a04e237151ab32c2a7a5a2e_2864d4be-45e6-48a4-9b74-42665ce9902d.webp?v=1714706684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4267c049134d41408d7ff1398cb79a05bdac87a_0ff3d58b-a372-40ed-8052-0d1983d4b252.webp?v=1714706686","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aaced934719e8f43645ee326a0be86ac7fd0111_ee74b426-b75d-4522-b2ec-cb7dcd88983f.webp?v=1714706689","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01f340dedb952c2cc5097422baac1f25d551c8d0_ec17c1d1-2e83-4629-86a3-2a5429a48cc5.webp?v=1714706691","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66ba62c51bcc9a28356af46af1f114b7bf2d1143_2f0caaaa-d630-4e31-8ecd-a87aade7bb11.webp?v=1714706694","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e67a12a849f4e9f8d6562dd55f8da452a9307aa_c4acc43d-55ee-4460-b607-9dd5ddaffd44.webp?v=1714706696","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a3bfb7713e6779c3e6bddb3c9f80bf021f2a4c0_bded4fe5-8199-4e98-9e97-9b6bef185384.webp?v=1714706698","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af818e2187fbc62b1519c4a38d220ae52bf76aab_739b5e9d-8691-4ed3-b80c-03fe1b3bdc0f.webp?v=1714706701","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ef91a3f62fb08831c91fe76f82d80df34a20ad_2bcce2c0-d609-4751-8287-fcb828313d2e.webp?v=1714706703","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4456e7999575500b45f810d044a20a33e39746f7_463024df-0c14-4f3b-a15d-12e62278ef62.webp?v=1714706706"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dfdf8b385e4c6ad0a04e237151ab32c2a7a5a2e_2864d4be-45e6-48a4-9b74-42665ce9902d.webp?v=1714706684","options":["color"],"media":[{"alt":null,"id":23875721658467,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dfdf8b385e4c6ad0a04e237151ab32c2a7a5a2e_2864d4be-45e6-48a4-9b74-42665ce9902d.webp?v=1714706684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dfdf8b385e4c6ad0a04e237151ab32c2a7a5a2e_2864d4be-45e6-48a4-9b74-42665ce9902d.webp?v=1714706684","width":2000},{"alt":null,"id":23875722182755,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4267c049134d41408d7ff1398cb79a05bdac87a_0ff3d58b-a372-40ed-8052-0d1983d4b252.webp?v=1714706686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4267c049134d41408d7ff1398cb79a05bdac87a_0ff3d58b-a372-40ed-8052-0d1983d4b252.webp?v=1714706686","width":2000},{"alt":null,"id":23875722575971,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aaced934719e8f43645ee326a0be86ac7fd0111_ee74b426-b75d-4522-b2ec-cb7dcd88983f.webp?v=1714706689"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aaced934719e8f43645ee326a0be86ac7fd0111_ee74b426-b75d-4522-b2ec-cb7dcd88983f.webp?v=1714706689","width":2000},{"alt":null,"id":23875723100259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01f340dedb952c2cc5097422baac1f25d551c8d0_ec17c1d1-2e83-4629-86a3-2a5429a48cc5.webp?v=1714706691"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01f340dedb952c2cc5097422baac1f25d551c8d0_ec17c1d1-2e83-4629-86a3-2a5429a48cc5.webp?v=1714706691","width":2000},{"alt":null,"id":23875723657315,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66ba62c51bcc9a28356af46af1f114b7bf2d1143_2f0caaaa-d630-4e31-8ecd-a87aade7bb11.webp?v=1714706694"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66ba62c51bcc9a28356af46af1f114b7bf2d1143_2f0caaaa-d630-4e31-8ecd-a87aade7bb11.webp?v=1714706694","width":2000},{"alt":null,"id":23875724050531,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e67a12a849f4e9f8d6562dd55f8da452a9307aa_c4acc43d-55ee-4460-b607-9dd5ddaffd44.webp?v=1714706696"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e67a12a849f4e9f8d6562dd55f8da452a9307aa_c4acc43d-55ee-4460-b607-9dd5ddaffd44.webp?v=1714706696","width":2000},{"alt":null,"id":23875724607587,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a3bfb7713e6779c3e6bddb3c9f80bf021f2a4c0_bded4fe5-8199-4e98-9e97-9b6bef185384.webp?v=1714706698"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a3bfb7713e6779c3e6bddb3c9f80bf021f2a4c0_bded4fe5-8199-4e98-9e97-9b6bef185384.webp?v=1714706698","width":2000},{"alt":null,"id":23875725164643,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af818e2187fbc62b1519c4a38d220ae52bf76aab_739b5e9d-8691-4ed3-b80c-03fe1b3bdc0f.webp?v=1714706701"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af818e2187fbc62b1519c4a38d220ae52bf76aab_739b5e9d-8691-4ed3-b80c-03fe1b3bdc0f.webp?v=1714706701","width":2000},{"alt":null,"id":23875725721699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ef91a3f62fb08831c91fe76f82d80df34a20ad_2bcce2c0-d609-4751-8287-fcb828313d2e.webp?v=1714706703"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ef91a3f62fb08831c91fe76f82d80df34a20ad_2bcce2c0-d609-4751-8287-fcb828313d2e.webp?v=1714706703","width":2000},{"alt":null,"id":23875726311523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4456e7999575500b45f810d044a20a33e39746f7_463024df-0c14-4f3b-a15d-12e62278ef62.webp?v=1714706706"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4456e7999575500b45f810d044a20a33e39746f7_463024df-0c14-4f3b-a15d-12e62278ef62.webp?v=1714706706","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41881115590755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB84","requires_shipping":true,"taxable":true,"featured_image":{"id":31470820622435,"product_id":7407964192867,"position":8,"created_at":"2024-05-03T11:25:01+08:00","updated_at":"2024-05-03T11:25:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af818e2187fbc62b1519c4a38d220ae52bf76aab_739b5e9d-8691-4ed3-b80c-03fe1b3bdc0f.webp?v=1714706701","variant_ids":[41881115590755]},"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-PB84","featured_media":{"alt":null,"id":23875725164643,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af818e2187fbc62b1519c4a38d220ae52bf76aab_739b5e9d-8691-4ed3-b80c-03fe1b3bdc0f.webp?v=1714706701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881115656291,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB84","requires_shipping":true,"taxable":true,"featured_image":{"id":31470821245027,"product_id":7407964192867,"position":9,"created_at":"2024-05-03T11:25:03+08:00","updated_at":"2024-05-03T11:25:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ef91a3f62fb08831c91fe76f82d80df34a20ad_2bcce2c0-d609-4751-8287-fcb828313d2e.webp?v=1714706703","variant_ids":[41881115656291]},"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-PB84","featured_media":{"alt":null,"id":23875725721699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ef91a3f62fb08831c91fe76f82d80df34a20ad_2bcce2c0-d609-4751-8287-fcb828313d2e.webp?v=1714706703"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881115885667,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB84","requires_shipping":true,"taxable":true,"featured_image":{"id":31470821802083,"product_id":7407964192867,"position":10,"created_at":"2024-05-03T11:25:06+08:00","updated_at":"2024-05-03T11:25:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4456e7999575500b45f810d044a20a33e39746f7_463024df-0c14-4f3b-a15d-12e62278ef62.webp?v=1714706706","variant_ids":[41881115885667]},"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-PB84","featured_media":{"alt":null,"id":23875726311523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4456e7999575500b45f810d044a20a33e39746f7_463024df-0c14-4f3b-a15d-12e62278ef62.webp?v=1714706706"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41881115590755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB84","requires_shipping":true,"taxable":true,"featured_image":{"id":31470820622435,"product_id":7407964192867,"position":8,"created_at":"2024-05-03T11:25:01+08:00","updated_at":"2024-05-03T11:25:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af818e2187fbc62b1519c4a38d220ae52bf76aab_739b5e9d-8691-4ed3-b80c-03fe1b3bdc0f.webp?v=1714706701","variant_ids":[41881115590755]},"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-PB84","featured_media":{"alt":null,"id":23875725164643,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af818e2187fbc62b1519c4a38d220ae52bf76aab_739b5e9d-8691-4ed3-b80c-03fe1b3bdc0f.webp?v=1714706701"}},"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: "停產"
}