$product = {"id":7931672592483,"title":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 雨水、海水、淚水,一些關於海的事","handle":"iphone-14-pro-mod-nx-bir04","description":null,"published_at":"2026-01-27T14:13:44+08:00","created_at":"2025-11-28T11:36:08+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-everydayishappybirthday","device-iPhone 14 Pro","merge","reseller-everydayishappybirthday"],"price":90000,"price_min":90000,"price_max":90000,"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":43861510684771,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-BIR04","requires_shipping":true,"taxable":true,"featured_image":{"id":36348351250531,"product_id":7931672592483,"position":12,"created_at":"2026-07-22T18:42:37+08:00","updated_at":"2026-07-22T18:42:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1447a5dad33322014c00e33ef1fb75e2675e0f9_175cb375-0938-48dc-ba14-1e900f30edf8.webp?v=1784716959","variant_ids":[43861510684771]},"available":true,"name":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 雨水、海水、淚水,一些關於海的事 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-BIR04","featured_media":{"alt":null,"id":27852206932067,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1447a5dad33322014c00e33ef1fb75e2675e0f9_175cb375-0938-48dc-ba14-1e900f30edf8.webp?v=1784716959"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861510750307,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-BIR04","requires_shipping":true,"taxable":true,"featured_image":{"id":36348351643747,"product_id":7931672592483,"position":14,"created_at":"2026-07-22T18:42:38+08:00","updated_at":"2026-07-22T18:42:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90879fcea4a194af282345a458094b17cfe5fd8e_3f4b38b2-4d5f-44d7-b052-74f28dbfbc70.webp?v=1784716960","variant_ids":[43861510750307]},"available":true,"name":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 雨水、海水、淚水,一些關於海的事 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-BIR04","featured_media":{"alt":null,"id":27852207325283,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90879fcea4a194af282345a458094b17cfe5fd8e_3f4b38b2-4d5f-44d7-b052-74f28dbfbc70.webp?v=1784716960"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861510979683,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-BIR04","requires_shipping":true,"taxable":true,"featured_image":{"id":36348351414371,"product_id":7931672592483,"position":13,"created_at":"2026-07-22T18:42:37+08:00","updated_at":"2026-07-22T18:42:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b43d8c0f516da0e4a22813109f315ce5507eaee_101aaae5-47e1-41aa-adc9-41c24071c08f.webp?v=1784716959","variant_ids":[43861510979683]},"available":true,"name":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 雨水、海水、淚水,一些關於海的事 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-BIR04","featured_media":{"alt":null,"id":27852207095907,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b43d8c0f516da0e4a22813109f315ce5507eaee_101aaae5-47e1-41aa-adc9-41c24071c08f.webp?v=1784716959"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d033a85223c37efabab111244f36330142b6437.webp?v=1764300974","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edebb7ad5b61cb9b239e3eaaa53a713f61c50181.webp?v=1764300974","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea844e3c11ac3d5597957fbafed563582eef1bd9.webp?v=1764300975","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1447a5dad33322014c00e33ef1fb75e2675e0f9.webp?v=1764300975","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/019a3c5c8c52065b4326f388329ea3ce9764e99f.webp?v=1764300976","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5d1b4f9c5fabd3f2d534cf49c340c26b6f4e8b4.webp?v=1764300976","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b43d8c0f516da0e4a22813109f315ce5507eaee.webp?v=1764300977","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0df307e41ae10a545c62205c1a1b71e76f88325.webp?v=1764300979","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90879fcea4a194af282345a458094b17cfe5fd8e.webp?v=1764300981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bc1ed469971b45955f5307f2aa1e6011758143d.webp?v=1764300981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c1c9d0466014f63f7f8e8485d921153cfdcdd1.webp?v=1764300982","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1447a5dad33322014c00e33ef1fb75e2675e0f9_175cb375-0938-48dc-ba14-1e900f30edf8.webp?v=1784716959","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b43d8c0f516da0e4a22813109f315ce5507eaee_101aaae5-47e1-41aa-adc9-41c24071c08f.webp?v=1784716959","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90879fcea4a194af282345a458094b17cfe5fd8e_3f4b38b2-4d5f-44d7-b052-74f28dbfbc70.webp?v=1784716960"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d033a85223c37efabab111244f36330142b6437.webp?v=1764300974","options":["color"],"media":[{"alt":null,"id":26428280766563,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d033a85223c37efabab111244f36330142b6437.webp?v=1764300974"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d033a85223c37efabab111244f36330142b6437.webp?v=1764300974","width":2000},{"alt":null,"id":26428280864867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edebb7ad5b61cb9b239e3eaaa53a713f61c50181.webp?v=1764300974"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edebb7ad5b61cb9b239e3eaaa53a713f61c50181.webp?v=1764300974","width":2000},{"alt":null,"id":26428281028707,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea844e3c11ac3d5597957fbafed563582eef1bd9.webp?v=1764300975"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea844e3c11ac3d5597957fbafed563582eef1bd9.webp?v=1764300975","width":2000},{"alt":null,"id":26428281192547,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1447a5dad33322014c00e33ef1fb75e2675e0f9.webp?v=1764300975"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1447a5dad33322014c00e33ef1fb75e2675e0f9.webp?v=1764300975","width":2000},{"alt":null,"id":26428281258083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/019a3c5c8c52065b4326f388329ea3ce9764e99f.webp?v=1764300976"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/019a3c5c8c52065b4326f388329ea3ce9764e99f.webp?v=1764300976","width":2000},{"alt":null,"id":26428281389155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5d1b4f9c5fabd3f2d534cf49c340c26b6f4e8b4.webp?v=1764300976"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5d1b4f9c5fabd3f2d534cf49c340c26b6f4e8b4.webp?v=1764300976","width":2000},{"alt":null,"id":26428281487459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b43d8c0f516da0e4a22813109f315ce5507eaee.webp?v=1764300977"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b43d8c0f516da0e4a22813109f315ce5507eaee.webp?v=1764300977","width":2000},{"alt":null,"id":26428281684067,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0df307e41ae10a545c62205c1a1b71e76f88325.webp?v=1764300979"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0df307e41ae10a545c62205c1a1b71e76f88325.webp?v=1764300979","width":2000},{"alt":null,"id":26428281880675,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90879fcea4a194af282345a458094b17cfe5fd8e.webp?v=1764300981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90879fcea4a194af282345a458094b17cfe5fd8e.webp?v=1764300981","width":2000},{"alt":null,"id":26428281946211,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bc1ed469971b45955f5307f2aa1e6011758143d.webp?v=1764300981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bc1ed469971b45955f5307f2aa1e6011758143d.webp?v=1764300981","width":2000},{"alt":null,"id":26428282011747,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c1c9d0466014f63f7f8e8485d921153cfdcdd1.webp?v=1764300982"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c1c9d0466014f63f7f8e8485d921153cfdcdd1.webp?v=1764300982","width":2000},{"alt":null,"id":27852206932067,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1447a5dad33322014c00e33ef1fb75e2675e0f9_175cb375-0938-48dc-ba14-1e900f30edf8.webp?v=1784716959"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1447a5dad33322014c00e33ef1fb75e2675e0f9_175cb375-0938-48dc-ba14-1e900f30edf8.webp?v=1784716959","width":2000},{"alt":null,"id":27852207095907,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b43d8c0f516da0e4a22813109f315ce5507eaee_101aaae5-47e1-41aa-adc9-41c24071c08f.webp?v=1784716959"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b43d8c0f516da0e4a22813109f315ce5507eaee_101aaae5-47e1-41aa-adc9-41c24071c08f.webp?v=1784716959","width":2000},{"alt":null,"id":27852207325283,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90879fcea4a194af282345a458094b17cfe5fd8e_3f4b38b2-4d5f-44d7-b052-74f28dbfbc70.webp?v=1784716960"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90879fcea4a194af282345a458094b17cfe5fd8e_3f4b38b2-4d5f-44d7-b052-74f28dbfbc70.webp?v=1784716960","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43861510684771,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-BIR04","requires_shipping":true,"taxable":true,"featured_image":{"id":36348351250531,"product_id":7931672592483,"position":12,"created_at":"2026-07-22T18:42:37+08:00","updated_at":"2026-07-22T18:42:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1447a5dad33322014c00e33ef1fb75e2675e0f9_175cb375-0938-48dc-ba14-1e900f30edf8.webp?v=1784716959","variant_ids":[43861510684771]},"available":true,"name":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 雨水、海水、淚水,一些關於海的事 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-BIR04","featured_media":{"alt":null,"id":27852206932067,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1447a5dad33322014c00e33ef1fb75e2675e0f9_175cb375-0938-48dc-ba14-1e900f30edf8.webp?v=1784716959"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861510750307,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-BIR04","requires_shipping":true,"taxable":true,"featured_image":{"id":36348351643747,"product_id":7931672592483,"position":14,"created_at":"2026-07-22T18:42:38+08:00","updated_at":"2026-07-22T18:42:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90879fcea4a194af282345a458094b17cfe5fd8e_3f4b38b2-4d5f-44d7-b052-74f28dbfbc70.webp?v=1784716960","variant_ids":[43861510750307]},"available":true,"name":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 雨水、海水、淚水,一些關於海的事 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-BIR04","featured_media":{"alt":null,"id":27852207325283,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90879fcea4a194af282345a458094b17cfe5fd8e_3f4b38b2-4d5f-44d7-b052-74f28dbfbc70.webp?v=1784716960"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861510979683,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-BIR04","requires_shipping":true,"taxable":true,"featured_image":{"id":36348351414371,"product_id":7931672592483,"position":13,"created_at":"2026-07-22T18:42:37+08:00","updated_at":"2026-07-22T18:42:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b43d8c0f516da0e4a22813109f315ce5507eaee_101aaae5-47e1-41aa-adc9-41c24071c08f.webp?v=1784716959","variant_ids":[43861510979683]},"available":true,"name":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 雨水、海水、淚水,一些關於海的事 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-BIR04","featured_media":{"alt":null,"id":27852207095907,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b43d8c0f516da0e4a22813109f315ce5507eaee_101aaae5-47e1-41aa-adc9-41c24071c08f.webp?v=1784716959"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43861510684771,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-BIR04","requires_shipping":true,"taxable":true,"featured_image":{"id":36348351250531,"product_id":7931672592483,"position":12,"created_at":"2026-07-22T18:42:37+08:00","updated_at":"2026-07-22T18:42:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1447a5dad33322014c00e33ef1fb75e2675e0f9_175cb375-0938-48dc-ba14-1e900f30edf8.webp?v=1784716959","variant_ids":[43861510684771]},"available":true,"name":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 雨水、海水、淚水,一些關於海的事 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-BIR04","featured_media":{"alt":null,"id":27852206932067,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1447a5dad33322014c00e33ef1fb75e2675e0f9_175cb375-0938-48dc-ba14-1e900f30edf8.webp?v=1784716959"}},"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: "停產"
}