$product = {"id":7823734046819,"title":"iPhone 15 Pro Max SolidX Care Bears 夜空星語","handle":"iphone-15-pro-max-solidx-yb12","description":null,"published_at":"2025-07-01T19:24:27+08:00","created_at":"2025-06-20T10:19:34+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-carebears","device-iPhone 15 Pro Max","merge","reseller-carebears"],"price":125000,"price_min":125000,"price_max":125000,"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":43472496525411,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36040352006243,"product_id":7823734046819,"position":8,"created_at":"2026-06-22T16:01:14+08:00","updated_at":"2026-06-22T16:01:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/480c2ee753defad1ab545d2fa1f088679711797b.webp?v=1782115276","variant_ids":[43472496525411]},"available":true,"name":"iPhone 15 Pro Max SolidX Care Bears 夜空星語 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-YB12","featured_media":{"alt":null,"id":27556889002083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/480c2ee753defad1ab545d2fa1f088679711797b.webp?v=1782115276"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472500424803,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36040349810787,"product_id":7823734046819,"position":4,"created_at":"2026-06-22T16:01:11+08:00","updated_at":"2026-06-22T16:01:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d5ed227bbf68f2a2c17b85c358859682d75938.webp?v=1782115273","variant_ids":[43472500424803]},"available":true,"name":"iPhone 15 Pro Max SolidX Care Bears 夜空星語 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-YB12","featured_media":{"alt":null,"id":27556886806627,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d5ed227bbf68f2a2c17b85c358859682d75938.webp?v=1782115273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472500523107,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36040350662755,"product_id":7823734046819,"position":5,"created_at":"2026-06-22T16:01:12+08:00","updated_at":"2026-06-22T16:01:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f027924ef7ccc5acfe822798ffc95934b80cc4ad.webp?v=1782115274","variant_ids":[43472500523107]},"available":true,"name":"iPhone 15 Pro Max SolidX Care Bears 夜空星語 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298O8-YB12","featured_media":{"alt":null,"id":27556887658595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f027924ef7ccc5acfe822798ffc95934b80cc4ad.webp?v=1782115274"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472500555875,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36040351711331,"product_id":7823734046819,"position":7,"created_at":"2026-06-22T16:01:14+08:00","updated_at":"2026-06-22T16:01:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb5888029911dda4b64134c3c5988a5d1aa2d5ce.webp?v=1782115276","variant_ids":[43472500555875]},"available":true,"name":"iPhone 15 Pro Max SolidX Care Bears 夜空星語 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298Z7-YB12","featured_media":{"alt":null,"id":27556888707171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb5888029911dda4b64134c3c5988a5d1aa2d5ce.webp?v=1782115276"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43494092734563,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"NST0129857-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36040352628835,"product_id":7823734046819,"position":9,"created_at":"2026-06-22T16:01:15+08:00","updated_at":"2026-06-22T16:01:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec34aa892fe66e945f52446f95eb5ad8fd59ccf.webp?v=1782115277","variant_ids":[43494092734563]},"available":true,"name":"iPhone 15 Pro Max SolidX Care Bears 夜空星語 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129857-YB12","featured_media":{"alt":null,"id":27556889591907,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec34aa892fe66e945f52446f95eb5ad8fd59ccf.webp?v=1782115277"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-YB12.png?v=1750385977","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-YB12_d8824aa2-6990-41a9-b2d2-09dd8a6db61b.png?v=1750831561","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b37270883f4d42b241f68d1db8bb451feee9682f.webp?v=1782115273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d5ed227bbf68f2a2c17b85c358859682d75938.webp?v=1782115273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f027924ef7ccc5acfe822798ffc95934b80cc4ad.webp?v=1782115274","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/676fcfbbfd425dc84575f55cf68f355ef9f8fa71.webp?v=1782115275","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb5888029911dda4b64134c3c5988a5d1aa2d5ce.webp?v=1782115276","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/480c2ee753defad1ab545d2fa1f088679711797b.webp?v=1782115276","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec34aa892fe66e945f52446f95eb5ad8fd59ccf.webp?v=1782115277"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-YB12.png?v=1750385977","options":["color"],"media":[{"alt":null,"id":25720284872803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-YB12.png?v=1750385977"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-YB12.png?v=1750385977","width":2000},{"alt":null,"id":25736212480099,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-YB12_d8824aa2-6990-41a9-b2d2-09dd8a6db61b.png?v=1750831561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-YB12_d8824aa2-6990-41a9-b2d2-09dd8a6db61b.png?v=1750831561","width":2000},{"alt":null,"id":27556885758051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b37270883f4d42b241f68d1db8bb451feee9682f.webp?v=1782115273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b37270883f4d42b241f68d1db8bb451feee9682f.webp?v=1782115273","width":2000},{"alt":null,"id":27556886806627,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d5ed227bbf68f2a2c17b85c358859682d75938.webp?v=1782115273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d5ed227bbf68f2a2c17b85c358859682d75938.webp?v=1782115273","width":2000},{"alt":null,"id":27556887658595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f027924ef7ccc5acfe822798ffc95934b80cc4ad.webp?v=1782115274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f027924ef7ccc5acfe822798ffc95934b80cc4ad.webp?v=1782115274","width":2000},{"alt":null,"id":27556888182883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/676fcfbbfd425dc84575f55cf68f355ef9f8fa71.webp?v=1782115275"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/676fcfbbfd425dc84575f55cf68f355ef9f8fa71.webp?v=1782115275","width":2000},{"alt":null,"id":27556888707171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb5888029911dda4b64134c3c5988a5d1aa2d5ce.webp?v=1782115276"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb5888029911dda4b64134c3c5988a5d1aa2d5ce.webp?v=1782115276","width":2000},{"alt":null,"id":27556889002083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/480c2ee753defad1ab545d2fa1f088679711797b.webp?v=1782115276"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/480c2ee753defad1ab545d2fa1f088679711797b.webp?v=1782115276","width":2000},{"alt":null,"id":27556889591907,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec34aa892fe66e945f52446f95eb5ad8fd59ccf.webp?v=1782115277"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec34aa892fe66e945f52446f95eb5ad8fd59ccf.webp?v=1782115277","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43472496525411,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36040352006243,"product_id":7823734046819,"position":8,"created_at":"2026-06-22T16:01:14+08:00","updated_at":"2026-06-22T16:01:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/480c2ee753defad1ab545d2fa1f088679711797b.webp?v=1782115276","variant_ids":[43472496525411]},"available":true,"name":"iPhone 15 Pro Max SolidX Care Bears 夜空星語 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-YB12","featured_media":{"alt":null,"id":27556889002083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/480c2ee753defad1ab545d2fa1f088679711797b.webp?v=1782115276"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472500424803,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36040349810787,"product_id":7823734046819,"position":4,"created_at":"2026-06-22T16:01:11+08:00","updated_at":"2026-06-22T16:01:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d5ed227bbf68f2a2c17b85c358859682d75938.webp?v=1782115273","variant_ids":[43472500424803]},"available":true,"name":"iPhone 15 Pro Max SolidX Care Bears 夜空星語 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-YB12","featured_media":{"alt":null,"id":27556886806627,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d5ed227bbf68f2a2c17b85c358859682d75938.webp?v=1782115273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472500523107,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36040350662755,"product_id":7823734046819,"position":5,"created_at":"2026-06-22T16:01:12+08:00","updated_at":"2026-06-22T16:01:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f027924ef7ccc5acfe822798ffc95934b80cc4ad.webp?v=1782115274","variant_ids":[43472500523107]},"available":true,"name":"iPhone 15 Pro Max SolidX Care Bears 夜空星語 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298O8-YB12","featured_media":{"alt":null,"id":27556887658595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f027924ef7ccc5acfe822798ffc95934b80cc4ad.webp?v=1782115274"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472500555875,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36040351711331,"product_id":7823734046819,"position":7,"created_at":"2026-06-22T16:01:14+08:00","updated_at":"2026-06-22T16:01:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb5888029911dda4b64134c3c5988a5d1aa2d5ce.webp?v=1782115276","variant_ids":[43472500555875]},"available":true,"name":"iPhone 15 Pro Max SolidX Care Bears 夜空星語 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298Z7-YB12","featured_media":{"alt":null,"id":27556888707171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb5888029911dda4b64134c3c5988a5d1aa2d5ce.webp?v=1782115276"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43494092734563,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"NST0129857-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36040352628835,"product_id":7823734046819,"position":9,"created_at":"2026-06-22T16:01:15+08:00","updated_at":"2026-06-22T16:01:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec34aa892fe66e945f52446f95eb5ad8fd59ccf.webp?v=1782115277","variant_ids":[43494092734563]},"available":true,"name":"iPhone 15 Pro Max SolidX Care Bears 夜空星語 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129857-YB12","featured_media":{"alt":null,"id":27556889591907,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec34aa892fe66e945f52446f95eb5ad8fd59ccf.webp?v=1782115277"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43472496525411,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36040352006243,"product_id":7823734046819,"position":8,"created_at":"2026-06-22T16:01:14+08:00","updated_at":"2026-06-22T16:01:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/480c2ee753defad1ab545d2fa1f088679711797b.webp?v=1782115276","variant_ids":[43472496525411]},"available":true,"name":"iPhone 15 Pro Max SolidX Care Bears 夜空星語 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-YB12","featured_media":{"alt":null,"id":27556889002083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/480c2ee753defad1ab545d2fa1f088679711797b.webp?v=1782115276"}},"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: "停產"
}