$product = {"id":7942094225507,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 腳踏車悠遊","handle":"iphone-14-pro-mod-nx-magsafe-nya07","description":null,"published_at":"2025-12-23T09:59:17+08:00","created_at":"2025-12-22T12:24:06+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nyangsongi","device-iPhone 14 Pro","merge","reseller-nyangsongi"],"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":43903488000099,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-NYA07","requires_shipping":true,"taxable":true,"featured_image":{"id":36271701262435,"product_id":7942094225507,"position":12,"created_at":"2026-07-15T14:42:15+08:00","updated_at":"2026-07-15T14:42:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28a031169aeef7a4a3fb77db2873f8f1887b1ab1_7bfc25d3-4868-4d6e-91f7-efb4843b4861.webp?v=1784097737","variant_ids":[43903488000099]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 腳踏車悠遊 - 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-NYA07","featured_media":{"alt":null,"id":27775756501091,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28a031169aeef7a4a3fb77db2873f8f1887b1ab1_7bfc25d3-4868-4d6e-91f7-efb4843b4861.webp?v=1784097737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903488229475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-NYA07","requires_shipping":true,"taxable":true,"featured_image":{"id":36271702081635,"product_id":7942094225507,"position":14,"created_at":"2026-07-15T14:42:16+08:00","updated_at":"2026-07-15T14:42:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b36d93af3819551d9c66a9584f86bf4373755a96_79a92db6-e9cb-4d80-be4b-b85e9e3efe1e.webp?v=1784097738","variant_ids":[43903488229475]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 腳踏車悠遊 - 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-NYA07","featured_media":{"alt":null,"id":27775757353059,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b36d93af3819551d9c66a9584f86bf4373755a96_79a92db6-e9cb-4d80-be4b-b85e9e3efe1e.webp?v=1784097738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903489114211,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-NYA07","requires_shipping":true,"taxable":true,"featured_image":{"id":36271701721187,"product_id":7942094225507,"position":13,"created_at":"2026-07-15T14:42:15+08:00","updated_at":"2026-07-15T14:42:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2c9d9b8ec62e4b9d585d7fef6a4c1611b30f8c_1558baae-ac6e-405f-83e0-1896940f7a50.webp?v=1784097737","variant_ids":[43903489114211]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 腳踏車悠遊 - 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-NYA07","featured_media":{"alt":null,"id":27775756992611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2c9d9b8ec62e4b9d585d7fef6a4c1611b30f8c_1558baae-ac6e-405f-83e0-1896940f7a50.webp?v=1784097737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28a031169aeef7a4a3fb77db2873f8f1887b1ab1.webp?v=1766377490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2c9d9b8ec62e4b9d585d7fef6a4c1611b30f8c.webp?v=1766377491","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2931f737b3f8e39a18796f2b3ef9af2c133277d0.webp?v=1766377492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e074f76a2c0cce73b92f6921104e13c23c832aa4.webp?v=1766377492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f66e31db2880c78a5f47409e0f4a409547756fab.webp?v=1766377493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/724148b31f699aa72a8ce3475222fb7edeeba014.webp?v=1766377494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a8d9094c2735e0cf9400168a0da686352e4cf3f.webp?v=1766377494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c926ab89b67cb97bb557b9846988dc029efb81e9.webp?v=1766377495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b36d93af3819551d9c66a9584f86bf4373755a96.webp?v=1766377495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ad27dfb8546cd5bc95b09590019b729df274d0d.webp?v=1766377496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6ced59a5440d48f1759894a7ece5ec13de2284f.webp?v=1766377496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28a031169aeef7a4a3fb77db2873f8f1887b1ab1_7bfc25d3-4868-4d6e-91f7-efb4843b4861.webp?v=1784097737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2c9d9b8ec62e4b9d585d7fef6a4c1611b30f8c_1558baae-ac6e-405f-83e0-1896940f7a50.webp?v=1784097737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b36d93af3819551d9c66a9584f86bf4373755a96_79a92db6-e9cb-4d80-be4b-b85e9e3efe1e.webp?v=1784097738"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28a031169aeef7a4a3fb77db2873f8f1887b1ab1.webp?v=1766377490","options":["color"],"media":[{"alt":null,"id":26547227426915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28a031169aeef7a4a3fb77db2873f8f1887b1ab1.webp?v=1766377490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28a031169aeef7a4a3fb77db2873f8f1887b1ab1.webp?v=1766377490","width":2000},{"alt":null,"id":26547227557987,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2c9d9b8ec62e4b9d585d7fef6a4c1611b30f8c.webp?v=1766377491"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2c9d9b8ec62e4b9d585d7fef6a4c1611b30f8c.webp?v=1766377491","width":2000},{"alt":null,"id":26547227787363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2931f737b3f8e39a18796f2b3ef9af2c133277d0.webp?v=1766377492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2931f737b3f8e39a18796f2b3ef9af2c133277d0.webp?v=1766377492","width":2000},{"alt":null,"id":26547228016739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e074f76a2c0cce73b92f6921104e13c23c832aa4.webp?v=1766377492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e074f76a2c0cce73b92f6921104e13c23c832aa4.webp?v=1766377492","width":2000},{"alt":null,"id":26547228213347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f66e31db2880c78a5f47409e0f4a409547756fab.webp?v=1766377493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f66e31db2880c78a5f47409e0f4a409547756fab.webp?v=1766377493","width":2000},{"alt":null,"id":26547228377187,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/724148b31f699aa72a8ce3475222fb7edeeba014.webp?v=1766377494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/724148b31f699aa72a8ce3475222fb7edeeba014.webp?v=1766377494","width":2000},{"alt":null,"id":26547228475491,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a8d9094c2735e0cf9400168a0da686352e4cf3f.webp?v=1766377494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a8d9094c2735e0cf9400168a0da686352e4cf3f.webp?v=1766377494","width":2000},{"alt":null,"id":26547228573795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c926ab89b67cb97bb557b9846988dc029efb81e9.webp?v=1766377495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c926ab89b67cb97bb557b9846988dc029efb81e9.webp?v=1766377495","width":2000},{"alt":null,"id":26547228672099,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b36d93af3819551d9c66a9584f86bf4373755a96.webp?v=1766377495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b36d93af3819551d9c66a9584f86bf4373755a96.webp?v=1766377495","width":2000},{"alt":null,"id":26547228803171,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ad27dfb8546cd5bc95b09590019b729df274d0d.webp?v=1766377496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ad27dfb8546cd5bc95b09590019b729df274d0d.webp?v=1766377496","width":2000},{"alt":null,"id":26547228901475,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6ced59a5440d48f1759894a7ece5ec13de2284f.webp?v=1766377496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6ced59a5440d48f1759894a7ece5ec13de2284f.webp?v=1766377496","width":2000},{"alt":null,"id":27775756501091,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28a031169aeef7a4a3fb77db2873f8f1887b1ab1_7bfc25d3-4868-4d6e-91f7-efb4843b4861.webp?v=1784097737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28a031169aeef7a4a3fb77db2873f8f1887b1ab1_7bfc25d3-4868-4d6e-91f7-efb4843b4861.webp?v=1784097737","width":2000},{"alt":null,"id":27775756992611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2c9d9b8ec62e4b9d585d7fef6a4c1611b30f8c_1558baae-ac6e-405f-83e0-1896940f7a50.webp?v=1784097737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2c9d9b8ec62e4b9d585d7fef6a4c1611b30f8c_1558baae-ac6e-405f-83e0-1896940f7a50.webp?v=1784097737","width":2000},{"alt":null,"id":27775757353059,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b36d93af3819551d9c66a9584f86bf4373755a96_79a92db6-e9cb-4d80-be4b-b85e9e3efe1e.webp?v=1784097738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b36d93af3819551d9c66a9584f86bf4373755a96_79a92db6-e9cb-4d80-be4b-b85e9e3efe1e.webp?v=1784097738","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43903488000099,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-NYA07","requires_shipping":true,"taxable":true,"featured_image":{"id":36271701262435,"product_id":7942094225507,"position":12,"created_at":"2026-07-15T14:42:15+08:00","updated_at":"2026-07-15T14:42:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28a031169aeef7a4a3fb77db2873f8f1887b1ab1_7bfc25d3-4868-4d6e-91f7-efb4843b4861.webp?v=1784097737","variant_ids":[43903488000099]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 腳踏車悠遊 - 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-NYA07","featured_media":{"alt":null,"id":27775756501091,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28a031169aeef7a4a3fb77db2873f8f1887b1ab1_7bfc25d3-4868-4d6e-91f7-efb4843b4861.webp?v=1784097737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903488229475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-NYA07","requires_shipping":true,"taxable":true,"featured_image":{"id":36271702081635,"product_id":7942094225507,"position":14,"created_at":"2026-07-15T14:42:16+08:00","updated_at":"2026-07-15T14:42:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b36d93af3819551d9c66a9584f86bf4373755a96_79a92db6-e9cb-4d80-be4b-b85e9e3efe1e.webp?v=1784097738","variant_ids":[43903488229475]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 腳踏車悠遊 - 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-NYA07","featured_media":{"alt":null,"id":27775757353059,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b36d93af3819551d9c66a9584f86bf4373755a96_79a92db6-e9cb-4d80-be4b-b85e9e3efe1e.webp?v=1784097738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903489114211,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-NYA07","requires_shipping":true,"taxable":true,"featured_image":{"id":36271701721187,"product_id":7942094225507,"position":13,"created_at":"2026-07-15T14:42:15+08:00","updated_at":"2026-07-15T14:42:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2c9d9b8ec62e4b9d585d7fef6a4c1611b30f8c_1558baae-ac6e-405f-83e0-1896940f7a50.webp?v=1784097737","variant_ids":[43903489114211]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 腳踏車悠遊 - 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-NYA07","featured_media":{"alt":null,"id":27775756992611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2c9d9b8ec62e4b9d585d7fef6a4c1611b30f8c_1558baae-ac6e-405f-83e0-1896940f7a50.webp?v=1784097737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43903488000099,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-NYA07","requires_shipping":true,"taxable":true,"featured_image":{"id":36271701262435,"product_id":7942094225507,"position":12,"created_at":"2026-07-15T14:42:15+08:00","updated_at":"2026-07-15T14:42:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28a031169aeef7a4a3fb77db2873f8f1887b1ab1_7bfc25d3-4868-4d6e-91f7-efb4843b4861.webp?v=1784097737","variant_ids":[43903488000099]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 腳踏車悠遊 - 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-NYA07","featured_media":{"alt":null,"id":27775756501091,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28a031169aeef7a4a3fb77db2873f8f1887b1ab1_7bfc25d3-4868-4d6e-91f7-efb4843b4861.webp?v=1784097737"}},"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: "停產"
}