$product = {"id":7942289129571,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 綠衣小狗","handle":"iphone-14-pro-mod-nx-magsafe-seu09","description":null,"published_at":"2025-12-23T09:29:36+08:00","created_at":"2025-12-22T17:53:15+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-seungyounkim","device-iPhone 14 Pro","merge","reseller-seungyounkim"],"price":110000,"price_min":110000,"price_max":110000,"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":43904552960099,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-SEU09","requires_shipping":true,"taxable":true,"featured_image":{"id":36335465168995,"product_id":7942289129571,"position":14,"created_at":"2026-07-21T20:17:18+08:00","updated_at":"2026-07-21T20:17:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddc5ef9ed274941c2ffadbc5d8afdbbc1e54f561_0fbc9e35-e9ce-4618-b485-a7fff2ca1599.webp?v=1784636240","variant_ids":[43904552960099]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 綠衣小狗 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-SEU09","featured_media":{"alt":null,"id":27839344050275,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddc5ef9ed274941c2ffadbc5d8afdbbc1e54f561_0fbc9e35-e9ce-4618-b485-a7fff2ca1599.webp?v=1784636240"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904553615459,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-SEU09","requires_shipping":true,"taxable":true,"featured_image":{"id":36335447965795,"product_id":7942289129571,"position":12,"created_at":"2026-07-21T20:16:51+08:00","updated_at":"2026-07-21T20:16:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfef9ae1ca13ee642e374c262f771b99e2258e66_d4b49ae0-7b5e-4a21-b04d-51f2ba88952d.webp?v=1784636213","variant_ids":[43904553615459]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 綠衣小狗 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SEU09","featured_media":{"alt":null,"id":27839326847075,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfef9ae1ca13ee642e374c262f771b99e2258e66_d4b49ae0-7b5e-4a21-b04d-51f2ba88952d.webp?v=1784636213"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904556531811,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-SEU09","requires_shipping":true,"taxable":true,"featured_image":{"id":36335449505891,"product_id":7942289129571,"position":13,"created_at":"2026-07-21T20:16:58+08:00","updated_at":"2026-07-21T20:17:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff824d8c284667aace7adf475fb80a2afd27a28b_f27c777b-b8b7-4507-aab2-7a900d266ea3.webp?v=1784636220","variant_ids":[43904556531811]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 綠衣小狗 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-SEU09","featured_media":{"alt":null,"id":27839328387171,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff824d8c284667aace7adf475fb80a2afd27a28b_f27c777b-b8b7-4507-aab2-7a900d266ea3.webp?v=1784636220"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c722d596d61c1d93566dec93dbb2e75d03fec4.webp?v=1766397232","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddc5ef9ed274941c2ffadbc5d8afdbbc1e54f561.webp?v=1766397232","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bacce03e4fde7067d3ffda149b6ee69fc368d3db.webp?v=1766397233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbcdf72071b0db62e46c4bce42dfd28b2f255910.webp?v=1766397233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff824d8c284667aace7adf475fb80a2afd27a28b.webp?v=1766397233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37af0398c8e5821cea13eaec2643287880f3470a.webp?v=1766397234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3098c2a4e6407c89fe0fe1fe0fbf41546c97b096.webp?v=1766397235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfef9ae1ca13ee642e374c262f771b99e2258e66.webp?v=1766397235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc1752f336882023e62a672f41346be006aa7136.webp?v=1766397236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d5920997aa9ada8343a6619cffe36d240c4237.webp?v=1766397236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ed47a481cbfcedb560304f3317a7627bb9edcdb.webp?v=1766397236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfef9ae1ca13ee642e374c262f771b99e2258e66_d4b49ae0-7b5e-4a21-b04d-51f2ba88952d.webp?v=1784636213","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff824d8c284667aace7adf475fb80a2afd27a28b_f27c777b-b8b7-4507-aab2-7a900d266ea3.webp?v=1784636220","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddc5ef9ed274941c2ffadbc5d8afdbbc1e54f561_0fbc9e35-e9ce-4618-b485-a7fff2ca1599.webp?v=1784636240"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c722d596d61c1d93566dec93dbb2e75d03fec4.webp?v=1766397232","options":["color"],"media":[{"alt":null,"id":26548866547811,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c722d596d61c1d93566dec93dbb2e75d03fec4.webp?v=1766397232"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c722d596d61c1d93566dec93dbb2e75d03fec4.webp?v=1766397232","width":2000},{"alt":null,"id":26548866908259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddc5ef9ed274941c2ffadbc5d8afdbbc1e54f561.webp?v=1766397232"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddc5ef9ed274941c2ffadbc5d8afdbbc1e54f561.webp?v=1766397232","width":2000},{"alt":null,"id":26548867170403,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bacce03e4fde7067d3ffda149b6ee69fc368d3db.webp?v=1766397233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bacce03e4fde7067d3ffda149b6ee69fc368d3db.webp?v=1766397233","width":2000},{"alt":null,"id":26548867498083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbcdf72071b0db62e46c4bce42dfd28b2f255910.webp?v=1766397233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbcdf72071b0db62e46c4bce42dfd28b2f255910.webp?v=1766397233","width":2000},{"alt":null,"id":26548867956835,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff824d8c284667aace7adf475fb80a2afd27a28b.webp?v=1766397233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff824d8c284667aace7adf475fb80a2afd27a28b.webp?v=1766397233","width":2000},{"alt":null,"id":26548868415587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37af0398c8e5821cea13eaec2643287880f3470a.webp?v=1766397234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37af0398c8e5821cea13eaec2643287880f3470a.webp?v=1766397234","width":2000},{"alt":null,"id":26548868874339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3098c2a4e6407c89fe0fe1fe0fbf41546c97b096.webp?v=1766397235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3098c2a4e6407c89fe0fe1fe0fbf41546c97b096.webp?v=1766397235","width":2000},{"alt":null,"id":26548869365859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfef9ae1ca13ee642e374c262f771b99e2258e66.webp?v=1766397235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfef9ae1ca13ee642e374c262f771b99e2258e66.webp?v=1766397235","width":2000},{"alt":null,"id":26548869791843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc1752f336882023e62a672f41346be006aa7136.webp?v=1766397236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc1752f336882023e62a672f41346be006aa7136.webp?v=1766397236","width":2000},{"alt":null,"id":26548870316131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d5920997aa9ada8343a6619cffe36d240c4237.webp?v=1766397236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d5920997aa9ada8343a6619cffe36d240c4237.webp?v=1766397236","width":2000},{"alt":null,"id":26548870742115,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ed47a481cbfcedb560304f3317a7627bb9edcdb.webp?v=1766397236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ed47a481cbfcedb560304f3317a7627bb9edcdb.webp?v=1766397236","width":2000},{"alt":null,"id":27839326847075,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfef9ae1ca13ee642e374c262f771b99e2258e66_d4b49ae0-7b5e-4a21-b04d-51f2ba88952d.webp?v=1784636213"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfef9ae1ca13ee642e374c262f771b99e2258e66_d4b49ae0-7b5e-4a21-b04d-51f2ba88952d.webp?v=1784636213","width":2000},{"alt":null,"id":27839328387171,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff824d8c284667aace7adf475fb80a2afd27a28b_f27c777b-b8b7-4507-aab2-7a900d266ea3.webp?v=1784636220"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff824d8c284667aace7adf475fb80a2afd27a28b_f27c777b-b8b7-4507-aab2-7a900d266ea3.webp?v=1784636220","width":2000},{"alt":null,"id":27839344050275,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddc5ef9ed274941c2ffadbc5d8afdbbc1e54f561_0fbc9e35-e9ce-4618-b485-a7fff2ca1599.webp?v=1784636240"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddc5ef9ed274941c2ffadbc5d8afdbbc1e54f561_0fbc9e35-e9ce-4618-b485-a7fff2ca1599.webp?v=1784636240","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43904552960099,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-SEU09","requires_shipping":true,"taxable":true,"featured_image":{"id":36335465168995,"product_id":7942289129571,"position":14,"created_at":"2026-07-21T20:17:18+08:00","updated_at":"2026-07-21T20:17:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddc5ef9ed274941c2ffadbc5d8afdbbc1e54f561_0fbc9e35-e9ce-4618-b485-a7fff2ca1599.webp?v=1784636240","variant_ids":[43904552960099]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 綠衣小狗 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-SEU09","featured_media":{"alt":null,"id":27839344050275,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddc5ef9ed274941c2ffadbc5d8afdbbc1e54f561_0fbc9e35-e9ce-4618-b485-a7fff2ca1599.webp?v=1784636240"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904553615459,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-SEU09","requires_shipping":true,"taxable":true,"featured_image":{"id":36335447965795,"product_id":7942289129571,"position":12,"created_at":"2026-07-21T20:16:51+08:00","updated_at":"2026-07-21T20:16:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfef9ae1ca13ee642e374c262f771b99e2258e66_d4b49ae0-7b5e-4a21-b04d-51f2ba88952d.webp?v=1784636213","variant_ids":[43904553615459]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 綠衣小狗 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SEU09","featured_media":{"alt":null,"id":27839326847075,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfef9ae1ca13ee642e374c262f771b99e2258e66_d4b49ae0-7b5e-4a21-b04d-51f2ba88952d.webp?v=1784636213"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904556531811,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-SEU09","requires_shipping":true,"taxable":true,"featured_image":{"id":36335449505891,"product_id":7942289129571,"position":13,"created_at":"2026-07-21T20:16:58+08:00","updated_at":"2026-07-21T20:17:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff824d8c284667aace7adf475fb80a2afd27a28b_f27c777b-b8b7-4507-aab2-7a900d266ea3.webp?v=1784636220","variant_ids":[43904556531811]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 綠衣小狗 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-SEU09","featured_media":{"alt":null,"id":27839328387171,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff824d8c284667aace7adf475fb80a2afd27a28b_f27c777b-b8b7-4507-aab2-7a900d266ea3.webp?v=1784636220"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43904552960099,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-SEU09","requires_shipping":true,"taxable":true,"featured_image":{"id":36335465168995,"product_id":7942289129571,"position":14,"created_at":"2026-07-21T20:17:18+08:00","updated_at":"2026-07-21T20:17:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddc5ef9ed274941c2ffadbc5d8afdbbc1e54f561_0fbc9e35-e9ce-4618-b485-a7fff2ca1599.webp?v=1784636240","variant_ids":[43904552960099]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 綠衣小狗 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-SEU09","featured_media":{"alt":null,"id":27839344050275,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddc5ef9ed274941c2ffadbc5d8afdbbc1e54f561_0fbc9e35-e9ce-4618-b485-a7fff2ca1599.webp?v=1784636240"}},"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: "停產"
}