$product = {"id":7937751482467,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 米卡莎","handle":"iphone-14-pro-mod-nx-magsafe-xu06","description":null,"published_at":"2025-12-12T11:08:34+08:00","created_at":"2025-12-11T15:18:12+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-attack-on-titan","device-iPhone 14 Pro","merge","reseller-attack-on-titan"],"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":43883755339875,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":36225961033827,"product_id":7937751482467,"position":14,"created_at":"2026-07-09T09:44:15+08:00","updated_at":"2026-07-09T09:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024fd7774b8c36228996557e52ab40ca4756c534_b0e9baff-a1cf-40dc-b0e2-dcc1204fd611.webp?v=1783561457","variant_ids":[43883755339875]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 米卡莎 - 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-XU06","featured_media":{"alt":null,"id":27730746638435,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024fd7774b8c36228996557e52ab40ca4756c534_b0e9baff-a1cf-40dc-b0e2-dcc1204fd611.webp?v=1783561457"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883755372643,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":36225960640611,"product_id":7937751482467,"position":12,"created_at":"2026-07-09T09:44:14+08:00","updated_at":"2026-07-09T09:44:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c86f068b6af81eb70d8a13f40d2223a291228cd_d14cec85-00e9-4024-b221-0fd616b6c81f.webp?v=1783561456","variant_ids":[43883755372643]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 米卡莎 - 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-XU06","featured_media":{"alt":null,"id":27730746245219,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c86f068b6af81eb70d8a13f40d2223a291228cd_d14cec85-00e9-4024-b221-0fd616b6c81f.webp?v=1783561456"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883755470947,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":36225960837219,"product_id":7937751482467,"position":13,"created_at":"2026-07-09T09:44:15+08:00","updated_at":"2026-07-09T09:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb3ee5112d2ac53d3483188a79071e0210b8247_721b7551-6a8c-43bd-a2d4-0dc84416dc68.webp?v=1783561457","variant_ids":[43883755470947]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 米卡莎 - 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-XU06","featured_media":{"alt":null,"id":27730746441827,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb3ee5112d2ac53d3483188a79071e0210b8247_721b7551-6a8c-43bd-a2d4-0dc84416dc68.webp?v=1783561457"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02c9a1a54fdd54423b31e69d0cad91ffa5aa18f.webp?v=1765437498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e3dd35877c55a2c1dc4603a43593f49bb1321dd.webp?v=1765437498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb3ee5112d2ac53d3483188a79071e0210b8247.webp?v=1765437499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb90251713639ac70b57c8b3c689fd217178a29f.webp?v=1765437499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76c3abd13e3355634ee3379a2034a25d6ac731e6.webp?v=1765437500","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c86f068b6af81eb70d8a13f40d2223a291228cd.webp?v=1765437501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d18d469e1f5ed2b8d65b6316a9341780f999fc46.webp?v=1765437501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024fd7774b8c36228996557e52ab40ca4756c534.webp?v=1765437501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f2f56531b43c6970567d6092385b325c7176a2.webp?v=1765437502","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6235c0f45d59bcabd689041c9479684df6894d49.webp?v=1765437502","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff8691be7141812d6ab1ab62fcb63ed46598d7dc.webp?v=1765437503","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c86f068b6af81eb70d8a13f40d2223a291228cd_d14cec85-00e9-4024-b221-0fd616b6c81f.webp?v=1783561456","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb3ee5112d2ac53d3483188a79071e0210b8247_721b7551-6a8c-43bd-a2d4-0dc84416dc68.webp?v=1783561457","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024fd7774b8c36228996557e52ab40ca4756c534_b0e9baff-a1cf-40dc-b0e2-dcc1204fd611.webp?v=1783561457"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02c9a1a54fdd54423b31e69d0cad91ffa5aa18f.webp?v=1765437498","options":["color"],"media":[{"alt":null,"id":26494748754019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02c9a1a54fdd54423b31e69d0cad91ffa5aa18f.webp?v=1765437498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02c9a1a54fdd54423b31e69d0cad91ffa5aa18f.webp?v=1765437498","width":2000},{"alt":null,"id":26494748852323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e3dd35877c55a2c1dc4603a43593f49bb1321dd.webp?v=1765437498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e3dd35877c55a2c1dc4603a43593f49bb1321dd.webp?v=1765437498","width":2000},{"alt":null,"id":26494749016163,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb3ee5112d2ac53d3483188a79071e0210b8247.webp?v=1765437499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb3ee5112d2ac53d3483188a79071e0210b8247.webp?v=1765437499","width":2000},{"alt":null,"id":26494749114467,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb90251713639ac70b57c8b3c689fd217178a29f.webp?v=1765437499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb90251713639ac70b57c8b3c689fd217178a29f.webp?v=1765437499","width":2000},{"alt":null,"id":26494749212771,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76c3abd13e3355634ee3379a2034a25d6ac731e6.webp?v=1765437500"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76c3abd13e3355634ee3379a2034a25d6ac731e6.webp?v=1765437500","width":2000},{"alt":null,"id":26494749343843,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c86f068b6af81eb70d8a13f40d2223a291228cd.webp?v=1765437501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c86f068b6af81eb70d8a13f40d2223a291228cd.webp?v=1765437501","width":2000},{"alt":null,"id":26494749442147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d18d469e1f5ed2b8d65b6316a9341780f999fc46.webp?v=1765437501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d18d469e1f5ed2b8d65b6316a9341780f999fc46.webp?v=1765437501","width":2000},{"alt":null,"id":26494749540451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024fd7774b8c36228996557e52ab40ca4756c534.webp?v=1765437501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024fd7774b8c36228996557e52ab40ca4756c534.webp?v=1765437501","width":2000},{"alt":null,"id":26494749605987,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f2f56531b43c6970567d6092385b325c7176a2.webp?v=1765437502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f2f56531b43c6970567d6092385b325c7176a2.webp?v=1765437502","width":2000},{"alt":null,"id":26494749704291,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6235c0f45d59bcabd689041c9479684df6894d49.webp?v=1765437502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6235c0f45d59bcabd689041c9479684df6894d49.webp?v=1765437502","width":2000},{"alt":null,"id":26494749835363,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff8691be7141812d6ab1ab62fcb63ed46598d7dc.webp?v=1765437503"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff8691be7141812d6ab1ab62fcb63ed46598d7dc.webp?v=1765437503","width":2000},{"alt":null,"id":27730746245219,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c86f068b6af81eb70d8a13f40d2223a291228cd_d14cec85-00e9-4024-b221-0fd616b6c81f.webp?v=1783561456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c86f068b6af81eb70d8a13f40d2223a291228cd_d14cec85-00e9-4024-b221-0fd616b6c81f.webp?v=1783561456","width":2000},{"alt":null,"id":27730746441827,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb3ee5112d2ac53d3483188a79071e0210b8247_721b7551-6a8c-43bd-a2d4-0dc84416dc68.webp?v=1783561457"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb3ee5112d2ac53d3483188a79071e0210b8247_721b7551-6a8c-43bd-a2d4-0dc84416dc68.webp?v=1783561457","width":2000},{"alt":null,"id":27730746638435,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024fd7774b8c36228996557e52ab40ca4756c534_b0e9baff-a1cf-40dc-b0e2-dcc1204fd611.webp?v=1783561457"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024fd7774b8c36228996557e52ab40ca4756c534_b0e9baff-a1cf-40dc-b0e2-dcc1204fd611.webp?v=1783561457","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43883755339875,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":36225961033827,"product_id":7937751482467,"position":14,"created_at":"2026-07-09T09:44:15+08:00","updated_at":"2026-07-09T09:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024fd7774b8c36228996557e52ab40ca4756c534_b0e9baff-a1cf-40dc-b0e2-dcc1204fd611.webp?v=1783561457","variant_ids":[43883755339875]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 米卡莎 - 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-XU06","featured_media":{"alt":null,"id":27730746638435,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024fd7774b8c36228996557e52ab40ca4756c534_b0e9baff-a1cf-40dc-b0e2-dcc1204fd611.webp?v=1783561457"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883755372643,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":36225960640611,"product_id":7937751482467,"position":12,"created_at":"2026-07-09T09:44:14+08:00","updated_at":"2026-07-09T09:44:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c86f068b6af81eb70d8a13f40d2223a291228cd_d14cec85-00e9-4024-b221-0fd616b6c81f.webp?v=1783561456","variant_ids":[43883755372643]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 米卡莎 - 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-XU06","featured_media":{"alt":null,"id":27730746245219,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c86f068b6af81eb70d8a13f40d2223a291228cd_d14cec85-00e9-4024-b221-0fd616b6c81f.webp?v=1783561456"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883755470947,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":36225960837219,"product_id":7937751482467,"position":13,"created_at":"2026-07-09T09:44:15+08:00","updated_at":"2026-07-09T09:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb3ee5112d2ac53d3483188a79071e0210b8247_721b7551-6a8c-43bd-a2d4-0dc84416dc68.webp?v=1783561457","variant_ids":[43883755470947]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 米卡莎 - 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-XU06","featured_media":{"alt":null,"id":27730746441827,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb3ee5112d2ac53d3483188a79071e0210b8247_721b7551-6a8c-43bd-a2d4-0dc84416dc68.webp?v=1783561457"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43883755339875,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":36225961033827,"product_id":7937751482467,"position":14,"created_at":"2026-07-09T09:44:15+08:00","updated_at":"2026-07-09T09:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024fd7774b8c36228996557e52ab40ca4756c534_b0e9baff-a1cf-40dc-b0e2-dcc1204fd611.webp?v=1783561457","variant_ids":[43883755339875]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 米卡莎 - 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-XU06","featured_media":{"alt":null,"id":27730746638435,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024fd7774b8c36228996557e52ab40ca4756c534_b0e9baff-a1cf-40dc-b0e2-dcc1204fd611.webp?v=1783561457"}},"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: "停產"
}