$product = {"id":7769662685283,"title":"iPhone 15 Pro Clear ilovedoodle I'm Feeling A Little Blue 鯨魚","handle":"iphone-15-pro-jellytint-xf10","description":null,"published_at":"2026-04-02T16:55:25+08:00","created_at":"2025-04-15T19:07:16+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 15 Pro","merge","reseller-ilovedoodle"],"price":108000,"price_min":108000,"price_max":108000,"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":43303404306531,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-XF10","requires_shipping":true,"taxable":true,"featured_image":{"id":35581345628259,"product_id":7769662685283,"position":7,"created_at":"2026-04-02T14:35:17+08:00","updated_at":"2026-04-02T14:35:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04277edb4dc24f4d265693f585e24dec3efdaa6_e7026743-35f2-4089-9af8-16d5313fd65f.webp?v=1775111719","variant_ids":[43303404306531]},"available":true,"name":"iPhone 15 Pro Clear ilovedoodle I'm Feeling A Little Blue 鯨魚 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970G-XF10","featured_media":{"alt":null,"id":27113965748323,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04277edb4dc24f4d265693f585e24dec3efdaa6_e7026743-35f2-4089-9af8-16d5313fd65f.webp?v=1775111719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303406796899,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-XF10","requires_shipping":true,"taxable":true,"featured_image":{"id":35581345431651,"product_id":7769662685283,"position":6,"created_at":"2026-04-02T14:35:16+08:00","updated_at":"2026-04-02T14:35:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a666ca7cb72413cd36ba85a3735f6ef8f33bff0a_9601b7ce-b676-42b5-b11e-6aa72f239b2b.webp?v=1775111718","variant_ids":[43303406796899]},"available":true,"name":"iPhone 15 Pro Clear ilovedoodle I'm Feeling A Little Blue 鯨魚 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970H-XF10","featured_media":{"alt":null,"id":27113965551715,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a666ca7cb72413cd36ba85a3735f6ef8f33bff0a_9601b7ce-b676-42b5-b11e-6aa72f239b2b.webp?v=1775111718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303406829667,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012970J-XF10","requires_shipping":true,"taxable":true,"featured_image":{"id":35581346087011,"product_id":7769662685283,"position":9,"created_at":"2026-04-02T14:35:18+08:00","updated_at":"2026-04-02T14:35:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7131f87b916a39945032ee3c4b4748758dff7230_831afb99-94f4-419f-956e-beac9fb84f58.webp?v=1775111720","variant_ids":[43303406829667]},"available":true,"name":"iPhone 15 Pro Clear ilovedoodle I'm Feeling A Little Blue 鯨魚 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970J-XF10","featured_media":{"alt":null,"id":27113966207075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7131f87b916a39945032ee3c4b4748758dff7230_831afb99-94f4-419f-956e-beac9fb84f58.webp?v=1775111720"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303406862435,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-XF10","requires_shipping":true,"taxable":true,"featured_image":{"id":35581345792099,"product_id":7769662685283,"position":8,"created_at":"2026-04-02T14:35:17+08:00","updated_at":"2026-04-02T14:35:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc2bd1a7f1358b6e6632c00176f1f06389a64c4_189692bf-de86-4d79-9fad-e682d3287058.webp?v=1775111719","variant_ids":[43303406862435]},"available":true,"name":"iPhone 15 Pro Clear ilovedoodle I'm Feeling A Little Blue 鯨魚 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970I-XF10","featured_media":{"alt":null,"id":27113965912163,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc2bd1a7f1358b6e6632c00176f1f06389a64c4_189692bf-de86-4d79-9fad-e682d3287058.webp?v=1775111719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2caf90f76bc0ac043bb7cc1082f6e35a0c1d4d.webp?v=1744715243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04277edb4dc24f4d265693f585e24dec3efdaa6.webp?v=1774937856","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a666ca7cb72413cd36ba85a3735f6ef8f33bff0a.webp?v=1774937856","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7131f87b916a39945032ee3c4b4748758dff7230.webp?v=1774937857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc2bd1a7f1358b6e6632c00176f1f06389a64c4.webp?v=1774937858","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a666ca7cb72413cd36ba85a3735f6ef8f33bff0a_9601b7ce-b676-42b5-b11e-6aa72f239b2b.webp?v=1775111718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04277edb4dc24f4d265693f585e24dec3efdaa6_e7026743-35f2-4089-9af8-16d5313fd65f.webp?v=1775111719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc2bd1a7f1358b6e6632c00176f1f06389a64c4_189692bf-de86-4d79-9fad-e682d3287058.webp?v=1775111719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7131f87b916a39945032ee3c4b4748758dff7230_831afb99-94f4-419f-956e-beac9fb84f58.webp?v=1775111720"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2caf90f76bc0ac043bb7cc1082f6e35a0c1d4d.webp?v=1744715243","options":["color"],"media":[{"alt":null,"id":25496076124259,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2caf90f76bc0ac043bb7cc1082f6e35a0c1d4d.webp?v=1744715243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2caf90f76bc0ac043bb7cc1082f6e35a0c1d4d.webp?v=1744715243","width":2000},{"alt":null,"id":27101789552739,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04277edb4dc24f4d265693f585e24dec3efdaa6.webp?v=1774937856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04277edb4dc24f4d265693f585e24dec3efdaa6.webp?v=1774937856","width":2000},{"alt":null,"id":27101789782115,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a666ca7cb72413cd36ba85a3735f6ef8f33bff0a.webp?v=1774937856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a666ca7cb72413cd36ba85a3735f6ef8f33bff0a.webp?v=1774937856","width":2000},{"alt":null,"id":27101790142563,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7131f87b916a39945032ee3c4b4748758dff7230.webp?v=1774937857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7131f87b916a39945032ee3c4b4748758dff7230.webp?v=1774937857","width":2000},{"alt":null,"id":27101790437475,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc2bd1a7f1358b6e6632c00176f1f06389a64c4.webp?v=1774937858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc2bd1a7f1358b6e6632c00176f1f06389a64c4.webp?v=1774937858","width":2000},{"alt":null,"id":27113965551715,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a666ca7cb72413cd36ba85a3735f6ef8f33bff0a_9601b7ce-b676-42b5-b11e-6aa72f239b2b.webp?v=1775111718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a666ca7cb72413cd36ba85a3735f6ef8f33bff0a_9601b7ce-b676-42b5-b11e-6aa72f239b2b.webp?v=1775111718","width":2000},{"alt":null,"id":27113965748323,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04277edb4dc24f4d265693f585e24dec3efdaa6_e7026743-35f2-4089-9af8-16d5313fd65f.webp?v=1775111719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04277edb4dc24f4d265693f585e24dec3efdaa6_e7026743-35f2-4089-9af8-16d5313fd65f.webp?v=1775111719","width":2000},{"alt":null,"id":27113965912163,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc2bd1a7f1358b6e6632c00176f1f06389a64c4_189692bf-de86-4d79-9fad-e682d3287058.webp?v=1775111719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc2bd1a7f1358b6e6632c00176f1f06389a64c4_189692bf-de86-4d79-9fad-e682d3287058.webp?v=1775111719","width":2000},{"alt":null,"id":27113966207075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7131f87b916a39945032ee3c4b4748758dff7230_831afb99-94f4-419f-956e-beac9fb84f58.webp?v=1775111720"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7131f87b916a39945032ee3c4b4748758dff7230_831afb99-94f4-419f-956e-beac9fb84f58.webp?v=1775111720","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43303404306531,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-XF10","requires_shipping":true,"taxable":true,"featured_image":{"id":35581345628259,"product_id":7769662685283,"position":7,"created_at":"2026-04-02T14:35:17+08:00","updated_at":"2026-04-02T14:35:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04277edb4dc24f4d265693f585e24dec3efdaa6_e7026743-35f2-4089-9af8-16d5313fd65f.webp?v=1775111719","variant_ids":[43303404306531]},"available":true,"name":"iPhone 15 Pro Clear ilovedoodle I'm Feeling A Little Blue 鯨魚 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970G-XF10","featured_media":{"alt":null,"id":27113965748323,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04277edb4dc24f4d265693f585e24dec3efdaa6_e7026743-35f2-4089-9af8-16d5313fd65f.webp?v=1775111719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303406796899,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-XF10","requires_shipping":true,"taxable":true,"featured_image":{"id":35581345431651,"product_id":7769662685283,"position":6,"created_at":"2026-04-02T14:35:16+08:00","updated_at":"2026-04-02T14:35:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a666ca7cb72413cd36ba85a3735f6ef8f33bff0a_9601b7ce-b676-42b5-b11e-6aa72f239b2b.webp?v=1775111718","variant_ids":[43303406796899]},"available":true,"name":"iPhone 15 Pro Clear ilovedoodle I'm Feeling A Little Blue 鯨魚 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970H-XF10","featured_media":{"alt":null,"id":27113965551715,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a666ca7cb72413cd36ba85a3735f6ef8f33bff0a_9601b7ce-b676-42b5-b11e-6aa72f239b2b.webp?v=1775111718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303406829667,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012970J-XF10","requires_shipping":true,"taxable":true,"featured_image":{"id":35581346087011,"product_id":7769662685283,"position":9,"created_at":"2026-04-02T14:35:18+08:00","updated_at":"2026-04-02T14:35:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7131f87b916a39945032ee3c4b4748758dff7230_831afb99-94f4-419f-956e-beac9fb84f58.webp?v=1775111720","variant_ids":[43303406829667]},"available":true,"name":"iPhone 15 Pro Clear ilovedoodle I'm Feeling A Little Blue 鯨魚 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970J-XF10","featured_media":{"alt":null,"id":27113966207075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7131f87b916a39945032ee3c4b4748758dff7230_831afb99-94f4-419f-956e-beac9fb84f58.webp?v=1775111720"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303406862435,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-XF10","requires_shipping":true,"taxable":true,"featured_image":{"id":35581345792099,"product_id":7769662685283,"position":8,"created_at":"2026-04-02T14:35:17+08:00","updated_at":"2026-04-02T14:35:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc2bd1a7f1358b6e6632c00176f1f06389a64c4_189692bf-de86-4d79-9fad-e682d3287058.webp?v=1775111719","variant_ids":[43303406862435]},"available":true,"name":"iPhone 15 Pro Clear ilovedoodle I'm Feeling A Little Blue 鯨魚 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970I-XF10","featured_media":{"alt":null,"id":27113965912163,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc2bd1a7f1358b6e6632c00176f1f06389a64c4_189692bf-de86-4d79-9fad-e682d3287058.webp?v=1775111719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43303404306531,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-XF10","requires_shipping":true,"taxable":true,"featured_image":{"id":35581345628259,"product_id":7769662685283,"position":7,"created_at":"2026-04-02T14:35:17+08:00","updated_at":"2026-04-02T14:35:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04277edb4dc24f4d265693f585e24dec3efdaa6_e7026743-35f2-4089-9af8-16d5313fd65f.webp?v=1775111719","variant_ids":[43303404306531]},"available":true,"name":"iPhone 15 Pro Clear ilovedoodle I'm Feeling A Little Blue 鯨魚 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970G-XF10","featured_media":{"alt":null,"id":27113965748323,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04277edb4dc24f4d265693f585e24dec3efdaa6_e7026743-35f2-4089-9af8-16d5313fd65f.webp?v=1775111719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}