$product = {"id":7951257501795,"title":"iPhone 15 Pro Max SolidX 田中 Shen In Love","handle":"iphone-15-pro-max-solidx-tan02","description":null,"published_at":"2026-01-13T10:25:25+08:00","created_at":"2026-01-12T17:04:02+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-tanakashen","device-iPhone 15 Pro Max","merge","reseller-tanakashen"],"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":43946134831203,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"NST0129857-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093851668579,"product_id":7951257501795,"position":9,"created_at":"2026-01-12T17:04:10+08:00","updated_at":"2026-01-12T17:04:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489f48ed486948105fc1471e8317cf43cebb9d23.webp?v=1768208652","variant_ids":[43946134831203]},"available":true,"name":"iPhone 15 Pro Max SolidX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650507477091,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489f48ed486948105fc1471e8317cf43cebb9d23.webp?v=1768208652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946134896739,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093851570275,"product_id":7951257501795,"position":8,"created_at":"2026-01-12T17:04:10+08:00","updated_at":"2026-01-12T17:04:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f31b606897c96884af0ad0f1ced3df9efd5ec8a0.webp?v=1768208652","variant_ids":[43946134896739]},"available":true,"name":"iPhone 15 Pro Max SolidX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650507378787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f31b606897c96884af0ad0f1ced3df9efd5ec8a0.webp?v=1768208652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946134929507,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093850882147,"product_id":7951257501795,"position":1,"created_at":"2026-01-12T17:04:07+08:00","updated_at":"2026-01-12T17:04:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861cb5860b9d530ae38682601445fa6ce40affc7.webp?v=1768208649","variant_ids":[43946134929507]},"available":true,"name":"iPhone 15 Pro Max SolidX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650506461283,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861cb5860b9d530ae38682601445fa6ce40affc7.webp?v=1768208649"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946134995043,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093851275363,"product_id":7951257501795,"position":6,"created_at":"2026-01-12T17:04:09+08:00","updated_at":"2026-01-12T17:04:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3ec90559c1e9e444a074903e5f867a23dccfc11.webp?v=1768208651","variant_ids":[43946134995043]},"available":true,"name":"iPhone 15 Pro Max SolidX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650507083875,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3ec90559c1e9e444a074903e5f867a23dccfc11.webp?v=1768208651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946135027811,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093851111523,"product_id":7951257501795,"position":3,"created_at":"2026-01-12T17:04:08+08:00","updated_at":"2026-01-12T17:04:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ee0840de1c81482e6c0e371b4b1ef7be7d2e12.webp?v=1768208650","variant_ids":[43946135027811]},"available":true,"name":"iPhone 15 Pro Max SolidX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650506657891,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ee0840de1c81482e6c0e371b4b1ef7be7d2e12.webp?v=1768208650"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861cb5860b9d530ae38682601445fa6ce40affc7.webp?v=1768208649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8199cf63151a370febf03f65ddb8a8a4d6fdffb6.webp?v=1768208649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ee0840de1c81482e6c0e371b4b1ef7be7d2e12.webp?v=1768208650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a05a22e10277c487de3c230a67e840aa3a1f457f.webp?v=1768208650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27186b352f9307971961b8b89d5bd45e58bcc108.webp?v=1768208650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3ec90559c1e9e444a074903e5f867a23dccfc11.webp?v=1768208651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560e146a9d8538b574a5ff53415ddcba224db8ab.webp?v=1768208652","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f31b606897c96884af0ad0f1ced3df9efd5ec8a0.webp?v=1768208652","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489f48ed486948105fc1471e8317cf43cebb9d23.webp?v=1768208652"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861cb5860b9d530ae38682601445fa6ce40affc7.webp?v=1768208649","options":["color"],"media":[{"alt":null,"id":26650506461283,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861cb5860b9d530ae38682601445fa6ce40affc7.webp?v=1768208649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861cb5860b9d530ae38682601445fa6ce40affc7.webp?v=1768208649","width":2000},{"alt":null,"id":26650506592355,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8199cf63151a370febf03f65ddb8a8a4d6fdffb6.webp?v=1768208649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8199cf63151a370febf03f65ddb8a8a4d6fdffb6.webp?v=1768208649","width":2000},{"alt":null,"id":26650506657891,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ee0840de1c81482e6c0e371b4b1ef7be7d2e12.webp?v=1768208650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ee0840de1c81482e6c0e371b4b1ef7be7d2e12.webp?v=1768208650","width":2000},{"alt":null,"id":26650506723427,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a05a22e10277c487de3c230a67e840aa3a1f457f.webp?v=1768208650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a05a22e10277c487de3c230a67e840aa3a1f457f.webp?v=1768208650","width":2000},{"alt":null,"id":26650506788963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27186b352f9307971961b8b89d5bd45e58bcc108.webp?v=1768208650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27186b352f9307971961b8b89d5bd45e58bcc108.webp?v=1768208650","width":2000},{"alt":null,"id":26650507083875,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3ec90559c1e9e444a074903e5f867a23dccfc11.webp?v=1768208651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3ec90559c1e9e444a074903e5f867a23dccfc11.webp?v=1768208651","width":2000},{"alt":null,"id":26650507247715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560e146a9d8538b574a5ff53415ddcba224db8ab.webp?v=1768208652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560e146a9d8538b574a5ff53415ddcba224db8ab.webp?v=1768208652","width":2000},{"alt":null,"id":26650507378787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f31b606897c96884af0ad0f1ced3df9efd5ec8a0.webp?v=1768208652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f31b606897c96884af0ad0f1ced3df9efd5ec8a0.webp?v=1768208652","width":2000},{"alt":null,"id":26650507477091,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489f48ed486948105fc1471e8317cf43cebb9d23.webp?v=1768208652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489f48ed486948105fc1471e8317cf43cebb9d23.webp?v=1768208652","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43946134831203,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"NST0129857-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093851668579,"product_id":7951257501795,"position":9,"created_at":"2026-01-12T17:04:10+08:00","updated_at":"2026-01-12T17:04:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489f48ed486948105fc1471e8317cf43cebb9d23.webp?v=1768208652","variant_ids":[43946134831203]},"available":true,"name":"iPhone 15 Pro Max SolidX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650507477091,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489f48ed486948105fc1471e8317cf43cebb9d23.webp?v=1768208652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946134896739,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093851570275,"product_id":7951257501795,"position":8,"created_at":"2026-01-12T17:04:10+08:00","updated_at":"2026-01-12T17:04:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f31b606897c96884af0ad0f1ced3df9efd5ec8a0.webp?v=1768208652","variant_ids":[43946134896739]},"available":true,"name":"iPhone 15 Pro Max SolidX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650507378787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f31b606897c96884af0ad0f1ced3df9efd5ec8a0.webp?v=1768208652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946134929507,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093850882147,"product_id":7951257501795,"position":1,"created_at":"2026-01-12T17:04:07+08:00","updated_at":"2026-01-12T17:04:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861cb5860b9d530ae38682601445fa6ce40affc7.webp?v=1768208649","variant_ids":[43946134929507]},"available":true,"name":"iPhone 15 Pro Max SolidX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650506461283,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861cb5860b9d530ae38682601445fa6ce40affc7.webp?v=1768208649"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946134995043,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093851275363,"product_id":7951257501795,"position":6,"created_at":"2026-01-12T17:04:09+08:00","updated_at":"2026-01-12T17:04:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3ec90559c1e9e444a074903e5f867a23dccfc11.webp?v=1768208651","variant_ids":[43946134995043]},"available":true,"name":"iPhone 15 Pro Max SolidX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650507083875,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3ec90559c1e9e444a074903e5f867a23dccfc11.webp?v=1768208651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946135027811,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093851111523,"product_id":7951257501795,"position":3,"created_at":"2026-01-12T17:04:08+08:00","updated_at":"2026-01-12T17:04:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ee0840de1c81482e6c0e371b4b1ef7be7d2e12.webp?v=1768208650","variant_ids":[43946135027811]},"available":true,"name":"iPhone 15 Pro Max SolidX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650506657891,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ee0840de1c81482e6c0e371b4b1ef7be7d2e12.webp?v=1768208650"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43946134831203,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"NST0129857-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093851668579,"product_id":7951257501795,"position":9,"created_at":"2026-01-12T17:04:10+08:00","updated_at":"2026-01-12T17:04:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489f48ed486948105fc1471e8317cf43cebb9d23.webp?v=1768208652","variant_ids":[43946134831203]},"available":true,"name":"iPhone 15 Pro Max SolidX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650507477091,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489f48ed486948105fc1471e8317cf43cebb9d23.webp?v=1768208652"}},"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: "停產"
}