$product = {"id":7411305480291,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Best Friend Bear","handle":"iphone-14-pro-mod-nx-magsafe-printable-yb02","description":null,"published_at":"2024-06-11T17:41:21+08:00","created_at":"2024-05-05T00:04:07+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-carebears","Top50","type-Mod NX Printable MagSafe Printable"],"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":41897209200739,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480096784483,"product_id":7411305480291,"position":3,"created_at":"2024-05-05T00:04:14+08:00","updated_at":"2024-05-05T00:04:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf843f7bf9aa2ebeb7e3dca754bbb9ae300a709e_a4a6ad0c-991c-46c0-bc75-f9a260bf0aaa.webp?v=1714838654","variant_ids":[41897209200739]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Best Friend Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-YB02","featured_media":{"alt":null,"id":23885347618915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf843f7bf9aa2ebeb7e3dca754bbb9ae300a709e_a4a6ad0c-991c-46c0-bc75-f9a260bf0aaa.webp?v=1714838654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897209266275,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480096260195,"product_id":7411305480291,"position":2,"created_at":"2024-05-05T00:04:11+08:00","updated_at":"2024-05-05T00:04:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/853892f6d3cb8ea3cea83dc6d6b65596a28760d5_51433165-0cbc-43f8-806e-05bf45c41564.webp?v=1714838651","variant_ids":[41897209266275]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Best Friend Bear - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-YB02","featured_media":{"alt":null,"id":23885347061859,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/853892f6d3cb8ea3cea83dc6d6b65596a28760d5_51433165-0cbc-43f8-806e-05bf45c41564.webp?v=1714838651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897209495651,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480097505379,"product_id":7411305480291,"position":4,"created_at":"2024-05-05T00:04:16+08:00","updated_at":"2024-05-05T00:04:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67281562e17a05a40f7c3635f469b15f02eb0fa_8ae80ff1-90d1-4592-a772-b993971d211f.webp?v=1714838656","variant_ids":[41897209495651]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Best Friend Bear - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-YB02","featured_media":{"alt":null,"id":23885348307043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67281562e17a05a40f7c3635f469b15f02eb0fa_8ae80ff1-90d1-4592-a772-b993971d211f.webp?v=1714838656"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e509a369d1ab7ecde0d176b71390cd1b619f75ac_eb86687f-ff2a-4fc3-9a85-c5a05030b6bd.webp?v=1714838649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/853892f6d3cb8ea3cea83dc6d6b65596a28760d5_51433165-0cbc-43f8-806e-05bf45c41564.webp?v=1714838651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf843f7bf9aa2ebeb7e3dca754bbb9ae300a709e_a4a6ad0c-991c-46c0-bc75-f9a260bf0aaa.webp?v=1714838654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67281562e17a05a40f7c3635f469b15f02eb0fa_8ae80ff1-90d1-4592-a772-b993971d211f.webp?v=1714838656","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27cbb626a239cea78911a57758f160b0b623dd4d_03709b6d-f8e4-4a49-89ff-f833fcb8d363.webp?v=1714838658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/404547f7f051b41fc1ac95e64d9c52c63757f146_da93c7c9-8c46-4cf8-b1f7-03874583fda0.webp?v=1714838661","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d363316af0b9d057b2c3c170cdd32a077a4844e4_9ebfc5d7-9f1a-4e5b-abf6-af3187291b60.webp?v=1714838663","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22101ed1184835c06d3ec5df0cf9beabc3719008_24867bb0-b990-4515-a09a-bfb7e50c0f5f.webp?v=1714838665","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e71231260c4d417fcf3cf7c647efda03293c81_bcf84b6c-282d-4e72-b6f4-906d0696f47d.webp?v=1714838668","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb9bf41dba1bd65c0c41e8a3894dec0d77f5984d_ddbd00c3-573d-4c5d-b39b-6337e8b9a037.webp?v=1714838670"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e509a369d1ab7ecde0d176b71390cd1b619f75ac_eb86687f-ff2a-4fc3-9a85-c5a05030b6bd.webp?v=1714838649","options":["color"],"media":[{"alt":null,"id":23885346603107,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e509a369d1ab7ecde0d176b71390cd1b619f75ac_eb86687f-ff2a-4fc3-9a85-c5a05030b6bd.webp?v=1714838649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e509a369d1ab7ecde0d176b71390cd1b619f75ac_eb86687f-ff2a-4fc3-9a85-c5a05030b6bd.webp?v=1714838649","width":2000},{"alt":null,"id":23885347061859,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/853892f6d3cb8ea3cea83dc6d6b65596a28760d5_51433165-0cbc-43f8-806e-05bf45c41564.webp?v=1714838651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/853892f6d3cb8ea3cea83dc6d6b65596a28760d5_51433165-0cbc-43f8-806e-05bf45c41564.webp?v=1714838651","width":2000},{"alt":null,"id":23885347618915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf843f7bf9aa2ebeb7e3dca754bbb9ae300a709e_a4a6ad0c-991c-46c0-bc75-f9a260bf0aaa.webp?v=1714838654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf843f7bf9aa2ebeb7e3dca754bbb9ae300a709e_a4a6ad0c-991c-46c0-bc75-f9a260bf0aaa.webp?v=1714838654","width":2000},{"alt":null,"id":23885348307043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67281562e17a05a40f7c3635f469b15f02eb0fa_8ae80ff1-90d1-4592-a772-b993971d211f.webp?v=1714838656"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67281562e17a05a40f7c3635f469b15f02eb0fa_8ae80ff1-90d1-4592-a772-b993971d211f.webp?v=1714838656","width":2000},{"alt":null,"id":23885348896867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27cbb626a239cea78911a57758f160b0b623dd4d_03709b6d-f8e4-4a49-89ff-f833fcb8d363.webp?v=1714838658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27cbb626a239cea78911a57758f160b0b623dd4d_03709b6d-f8e4-4a49-89ff-f833fcb8d363.webp?v=1714838658","width":2000},{"alt":null,"id":23885349453923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/404547f7f051b41fc1ac95e64d9c52c63757f146_da93c7c9-8c46-4cf8-b1f7-03874583fda0.webp?v=1714838661"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/404547f7f051b41fc1ac95e64d9c52c63757f146_da93c7c9-8c46-4cf8-b1f7-03874583fda0.webp?v=1714838661","width":2000},{"alt":null,"id":23885349978211,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d363316af0b9d057b2c3c170cdd32a077a4844e4_9ebfc5d7-9f1a-4e5b-abf6-af3187291b60.webp?v=1714838663"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d363316af0b9d057b2c3c170cdd32a077a4844e4_9ebfc5d7-9f1a-4e5b-abf6-af3187291b60.webp?v=1714838663","width":2000},{"alt":null,"id":23885350568035,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22101ed1184835c06d3ec5df0cf9beabc3719008_24867bb0-b990-4515-a09a-bfb7e50c0f5f.webp?v=1714838665"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22101ed1184835c06d3ec5df0cf9beabc3719008_24867bb0-b990-4515-a09a-bfb7e50c0f5f.webp?v=1714838665","width":2000},{"alt":null,"id":23885351059555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e71231260c4d417fcf3cf7c647efda03293c81_bcf84b6c-282d-4e72-b6f4-906d0696f47d.webp?v=1714838668"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e71231260c4d417fcf3cf7c647efda03293c81_bcf84b6c-282d-4e72-b6f4-906d0696f47d.webp?v=1714838668","width":2000},{"alt":null,"id":23885351649379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb9bf41dba1bd65c0c41e8a3894dec0d77f5984d_ddbd00c3-573d-4c5d-b39b-6337e8b9a037.webp?v=1714838670"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb9bf41dba1bd65c0c41e8a3894dec0d77f5984d_ddbd00c3-573d-4c5d-b39b-6337e8b9a037.webp?v=1714838670","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41897209200739,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480096784483,"product_id":7411305480291,"position":3,"created_at":"2024-05-05T00:04:14+08:00","updated_at":"2024-05-05T00:04:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf843f7bf9aa2ebeb7e3dca754bbb9ae300a709e_a4a6ad0c-991c-46c0-bc75-f9a260bf0aaa.webp?v=1714838654","variant_ids":[41897209200739]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Best Friend Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-YB02","featured_media":{"alt":null,"id":23885347618915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf843f7bf9aa2ebeb7e3dca754bbb9ae300a709e_a4a6ad0c-991c-46c0-bc75-f9a260bf0aaa.webp?v=1714838654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897209266275,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480096260195,"product_id":7411305480291,"position":2,"created_at":"2024-05-05T00:04:11+08:00","updated_at":"2024-05-05T00:04:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/853892f6d3cb8ea3cea83dc6d6b65596a28760d5_51433165-0cbc-43f8-806e-05bf45c41564.webp?v=1714838651","variant_ids":[41897209266275]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Best Friend Bear - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-YB02","featured_media":{"alt":null,"id":23885347061859,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/853892f6d3cb8ea3cea83dc6d6b65596a28760d5_51433165-0cbc-43f8-806e-05bf45c41564.webp?v=1714838651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897209495651,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480097505379,"product_id":7411305480291,"position":4,"created_at":"2024-05-05T00:04:16+08:00","updated_at":"2024-05-05T00:04:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67281562e17a05a40f7c3635f469b15f02eb0fa_8ae80ff1-90d1-4592-a772-b993971d211f.webp?v=1714838656","variant_ids":[41897209495651]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Best Friend Bear - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-YB02","featured_media":{"alt":null,"id":23885348307043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67281562e17a05a40f7c3635f469b15f02eb0fa_8ae80ff1-90d1-4592-a772-b993971d211f.webp?v=1714838656"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41897209200739,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480096784483,"product_id":7411305480291,"position":3,"created_at":"2024-05-05T00:04:14+08:00","updated_at":"2024-05-05T00:04:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf843f7bf9aa2ebeb7e3dca754bbb9ae300a709e_a4a6ad0c-991c-46c0-bc75-f9a260bf0aaa.webp?v=1714838654","variant_ids":[41897209200739]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Best Friend Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-YB02","featured_media":{"alt":null,"id":23885347618915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf843f7bf9aa2ebeb7e3dca754bbb9ae300a709e_a4a6ad0c-991c-46c0-bc75-f9a260bf0aaa.webp?v=1714838654"}},"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: "停產"
}