$product = {"id":7408179478627,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白","handle":"iphone-13-mini-mod-nx-printable-pb04","description":null,"published_at":"2024-06-11T16:33:32+08:00","created_at":"2024-05-03T12:15:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","Top50","type-Mod NX Printable"],"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":41883561459811,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471398584419,"product_id":7408179478627,"position":8,"created_at":"2024-05-03T12:15:41+08:00","updated_at":"2024-05-03T12:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96b75be17d578edba1d2ff28e5b0f52017bf6181_1204ac87-bc18-4e0b-9267-00a50adc9a12.webp?v=1714709741","variant_ids":[41883561459811]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB04","featured_media":{"alt":null,"id":23876304863331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96b75be17d578edba1d2ff28e5b0f52017bf6181_1204ac87-bc18-4e0b-9267-00a50adc9a12.webp?v=1714709741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883561525347,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471396061283,"product_id":7408179478627,"position":3,"created_at":"2024-05-03T12:15:29+08:00","updated_at":"2024-05-03T12:15:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/921879cb91308c315284a3229a6dd3041abd40c5_689fdb04-a397-4f5d-95a7-709e981643f2.webp?v=1714709729","variant_ids":[41883561525347]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB04","featured_media":{"alt":null,"id":23876302438499,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/921879cb91308c315284a3229a6dd3041abd40c5_689fdb04-a397-4f5d-95a7-709e981643f2.webp?v=1714709729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883561754723,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471395111011,"product_id":7408179478627,"position":1,"created_at":"2024-05-03T12:15:24+08:00","updated_at":"2024-05-03T12:15:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ad69442da23df9ed2ad68e1d140216222f14d97_aed6d53a-8c84-451f-81d3-b7665c2eedaa.webp?v=1714709724","variant_ids":[41883561754723]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB04","featured_media":{"alt":null,"id":23876301357155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ad69442da23df9ed2ad68e1d140216222f14d97_aed6d53a-8c84-451f-81d3-b7665c2eedaa.webp?v=1714709724"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ad69442da23df9ed2ad68e1d140216222f14d97_aed6d53a-8c84-451f-81d3-b7665c2eedaa.webp?v=1714709724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a2d6a2252a46fbd0abb2d92e3a022c6b5124c83_0cc9baab-7439-45ab-9c70-cf02a68a21ea.webp?v=1714709727","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/921879cb91308c315284a3229a6dd3041abd40c5_689fdb04-a397-4f5d-95a7-709e981643f2.webp?v=1714709729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863bf71db5964eaf403b6c0478937f957d30a164_84dc9fa8-f0bb-44fc-a85b-97cd73b9a600.webp?v=1714709732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4228c6973d8e7368de91b7b222ec9ba19d6d5c3d_880d1ec4-9a6f-4fae-9fde-206a49217ee2.webp?v=1714709734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/424f52b6cc3d4fbe6661ed939da006d642a5ccc5_aec4cc72-fdc4-4e90-bd45-035a192d0ff3.webp?v=1714709736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d9763019c2906e508baecefdd6dbbc09eec44c_795300af-8b6b-4ab6-98d7-c70477e71796.webp?v=1714709738","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96b75be17d578edba1d2ff28e5b0f52017bf6181_1204ac87-bc18-4e0b-9267-00a50adc9a12.webp?v=1714709741","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b34c14efe1ee59ff465852a6b4bc1de5a2b45b4f_0198dc8e-01c2-4680-82e6-1f98ad3c1a2b.webp?v=1714709743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05255d95750294165d84728f16bb837947d590fa_763073f1-5636-4d3f-844f-5620fb158464.webp?v=1714709745"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ad69442da23df9ed2ad68e1d140216222f14d97_aed6d53a-8c84-451f-81d3-b7665c2eedaa.webp?v=1714709724","options":["color"],"media":[{"alt":null,"id":23876301357155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ad69442da23df9ed2ad68e1d140216222f14d97_aed6d53a-8c84-451f-81d3-b7665c2eedaa.webp?v=1714709724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ad69442da23df9ed2ad68e1d140216222f14d97_aed6d53a-8c84-451f-81d3-b7665c2eedaa.webp?v=1714709724","width":2000},{"alt":null,"id":23876301783139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a2d6a2252a46fbd0abb2d92e3a022c6b5124c83_0cc9baab-7439-45ab-9c70-cf02a68a21ea.webp?v=1714709727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a2d6a2252a46fbd0abb2d92e3a022c6b5124c83_0cc9baab-7439-45ab-9c70-cf02a68a21ea.webp?v=1714709727","width":2000},{"alt":null,"id":23876302438499,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/921879cb91308c315284a3229a6dd3041abd40c5_689fdb04-a397-4f5d-95a7-709e981643f2.webp?v=1714709729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/921879cb91308c315284a3229a6dd3041abd40c5_689fdb04-a397-4f5d-95a7-709e981643f2.webp?v=1714709729","width":2000},{"alt":null,"id":23876302864483,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863bf71db5964eaf403b6c0478937f957d30a164_84dc9fa8-f0bb-44fc-a85b-97cd73b9a600.webp?v=1714709732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863bf71db5964eaf403b6c0478937f957d30a164_84dc9fa8-f0bb-44fc-a85b-97cd73b9a600.webp?v=1714709732","width":2000},{"alt":null,"id":23876303487075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4228c6973d8e7368de91b7b222ec9ba19d6d5c3d_880d1ec4-9a6f-4fae-9fde-206a49217ee2.webp?v=1714709734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4228c6973d8e7368de91b7b222ec9ba19d6d5c3d_880d1ec4-9a6f-4fae-9fde-206a49217ee2.webp?v=1714709734","width":2000},{"alt":null,"id":23876303814755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/424f52b6cc3d4fbe6661ed939da006d642a5ccc5_aec4cc72-fdc4-4e90-bd45-035a192d0ff3.webp?v=1714709736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/424f52b6cc3d4fbe6661ed939da006d642a5ccc5_aec4cc72-fdc4-4e90-bd45-035a192d0ff3.webp?v=1714709736","width":2000},{"alt":null,"id":23876304404579,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d9763019c2906e508baecefdd6dbbc09eec44c_795300af-8b6b-4ab6-98d7-c70477e71796.webp?v=1714709738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d9763019c2906e508baecefdd6dbbc09eec44c_795300af-8b6b-4ab6-98d7-c70477e71796.webp?v=1714709738","width":2000},{"alt":null,"id":23876304863331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96b75be17d578edba1d2ff28e5b0f52017bf6181_1204ac87-bc18-4e0b-9267-00a50adc9a12.webp?v=1714709741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96b75be17d578edba1d2ff28e5b0f52017bf6181_1204ac87-bc18-4e0b-9267-00a50adc9a12.webp?v=1714709741","width":2000},{"alt":null,"id":23876305322083,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b34c14efe1ee59ff465852a6b4bc1de5a2b45b4f_0198dc8e-01c2-4680-82e6-1f98ad3c1a2b.webp?v=1714709743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b34c14efe1ee59ff465852a6b4bc1de5a2b45b4f_0198dc8e-01c2-4680-82e6-1f98ad3c1a2b.webp?v=1714709743","width":2000},{"alt":null,"id":23876305748067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05255d95750294165d84728f16bb837947d590fa_763073f1-5636-4d3f-844f-5620fb158464.webp?v=1714709745"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05255d95750294165d84728f16bb837947d590fa_763073f1-5636-4d3f-844f-5620fb158464.webp?v=1714709745","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41883561459811,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471398584419,"product_id":7408179478627,"position":8,"created_at":"2024-05-03T12:15:41+08:00","updated_at":"2024-05-03T12:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96b75be17d578edba1d2ff28e5b0f52017bf6181_1204ac87-bc18-4e0b-9267-00a50adc9a12.webp?v=1714709741","variant_ids":[41883561459811]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB04","featured_media":{"alt":null,"id":23876304863331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96b75be17d578edba1d2ff28e5b0f52017bf6181_1204ac87-bc18-4e0b-9267-00a50adc9a12.webp?v=1714709741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883561525347,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471396061283,"product_id":7408179478627,"position":3,"created_at":"2024-05-03T12:15:29+08:00","updated_at":"2024-05-03T12:15:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/921879cb91308c315284a3229a6dd3041abd40c5_689fdb04-a397-4f5d-95a7-709e981643f2.webp?v=1714709729","variant_ids":[41883561525347]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB04","featured_media":{"alt":null,"id":23876302438499,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/921879cb91308c315284a3229a6dd3041abd40c5_689fdb04-a397-4f5d-95a7-709e981643f2.webp?v=1714709729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883561754723,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471395111011,"product_id":7408179478627,"position":1,"created_at":"2024-05-03T12:15:24+08:00","updated_at":"2024-05-03T12:15:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ad69442da23df9ed2ad68e1d140216222f14d97_aed6d53a-8c84-451f-81d3-b7665c2eedaa.webp?v=1714709724","variant_ids":[41883561754723]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB04","featured_media":{"alt":null,"id":23876301357155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ad69442da23df9ed2ad68e1d140216222f14d97_aed6d53a-8c84-451f-81d3-b7665c2eedaa.webp?v=1714709724"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41883561459811,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471398584419,"product_id":7408179478627,"position":8,"created_at":"2024-05-03T12:15:41+08:00","updated_at":"2024-05-03T12:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96b75be17d578edba1d2ff28e5b0f52017bf6181_1204ac87-bc18-4e0b-9267-00a50adc9a12.webp?v=1714709741","variant_ids":[41883561459811]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB04","featured_media":{"alt":null,"id":23876304863331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96b75be17d578edba1d2ff28e5b0f52017bf6181_1204ac87-bc18-4e0b-9267-00a50adc9a12.webp?v=1714709741"}},"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: "停產"
}