$product = {"id":7414029713507,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 復古版","handle":"iphone-13-mini-mod-nx-magsafe-printable-sb01","description":null,"published_at":"2024-06-11T17:48:11+08:00","created_at":"2024-05-05T14:04:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-batman","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":41903516745827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484502409315,"product_id":7414029713507,"position":5,"created_at":"2024-05-05T14:04:34+08:00","updated_at":"2024-05-05T14:04:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10d7c21aebacab5b55b63332eadce3196f603d93_cd90ee0d-567d-496f-a71b-772d03f6191b.webp?v=1714889074","variant_ids":[41903516745827]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 復古版 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-SB01","featured_media":{"alt":null,"id":23889796563043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10d7c21aebacab5b55b63332eadce3196f603d93_cd90ee0d-567d-496f-a71b-772d03f6191b.webp?v=1714889074"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903516909667,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484503851107,"product_id":7414029713507,"position":8,"created_at":"2024-05-05T14:04:41+08:00","updated_at":"2024-05-05T14:04:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa5f3ef82cf897f6f5ff6d2aec28d3ffeb6bda28_172a2888-afc3-4ed9-8223-6646526c4592.webp?v=1714889081","variant_ids":[41903516909667]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 復古版 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-SB01","featured_media":{"alt":null,"id":23889797972067,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa5f3ef82cf897f6f5ff6d2aec28d3ffeb6bda28_172a2888-afc3-4ed9-8223-6646526c4592.webp?v=1714889081"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903517171811,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484504670307,"product_id":7414029713507,"position":10,"created_at":"2024-05-05T14:04:45+08:00","updated_at":"2024-05-05T14:04:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91d4dd2d1bac249ac28b1c451b509b7f5fa82d2a_bd130940-7526-49ba-99ae-6ea36a150554.webp?v=1714889085","variant_ids":[41903517171811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 復古版 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-SB01","featured_media":{"alt":null,"id":23889798791267,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91d4dd2d1bac249ac28b1c451b509b7f5fa82d2a_bd130940-7526-49ba-99ae-6ea36a150554.webp?v=1714889085"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9cc6d84e877584bd02c337092e9f23a362c694_6dddd323-6c65-4b71-8b74-dbfe784c0ec5.webp?v=1714889065","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa6c09be649c5bba6e45342931e9af8a67dc7ee_854d16f8-d0bb-4971-b098-eb65412424d8.webp?v=1714889067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05565c8b013f8729922dac7adf400b3057bd779a_a0e4c04f-0d68-4da6-92b8-08d833b7c54f.webp?v=1714889069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f449f3ab43d73e3d79192ccd0d07ef22191cc11_3ba11c50-f455-4d55-99e1-36dd5d1ceb06.webp?v=1714889072","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10d7c21aebacab5b55b63332eadce3196f603d93_cd90ee0d-567d-496f-a71b-772d03f6191b.webp?v=1714889074","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ef50ad0b9b0ec815d07f4e04319d1441292f929_cc354b8a-4310-48e6-a5f9-d247b9b19f66.webp?v=1714889077","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91bfce03433bad93deea7656d428b1a7808db0a5_ef99f1e0-9209-4b66-bb19-a2440fb17f15.webp?v=1714889079","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa5f3ef82cf897f6f5ff6d2aec28d3ffeb6bda28_172a2888-afc3-4ed9-8223-6646526c4592.webp?v=1714889081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f95beafdfc7d56f8e50d51b1fdf6670841f74c38_7a39f9d4-446c-4ca6-b8d6-cd40c4bee02c.webp?v=1714889083","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91d4dd2d1bac249ac28b1c451b509b7f5fa82d2a_bd130940-7526-49ba-99ae-6ea36a150554.webp?v=1714889085"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9cc6d84e877584bd02c337092e9f23a362c694_6dddd323-6c65-4b71-8b74-dbfe784c0ec5.webp?v=1714889065","options":["color"],"media":[{"alt":null,"id":23889794498659,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9cc6d84e877584bd02c337092e9f23a362c694_6dddd323-6c65-4b71-8b74-dbfe784c0ec5.webp?v=1714889065"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9cc6d84e877584bd02c337092e9f23a362c694_6dddd323-6c65-4b71-8b74-dbfe784c0ec5.webp?v=1714889065","width":2000},{"alt":null,"id":23889794990179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa6c09be649c5bba6e45342931e9af8a67dc7ee_854d16f8-d0bb-4971-b098-eb65412424d8.webp?v=1714889067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa6c09be649c5bba6e45342931e9af8a67dc7ee_854d16f8-d0bb-4971-b098-eb65412424d8.webp?v=1714889067","width":2000},{"alt":null,"id":23889795547235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05565c8b013f8729922dac7adf400b3057bd779a_a0e4c04f-0d68-4da6-92b8-08d833b7c54f.webp?v=1714889069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05565c8b013f8729922dac7adf400b3057bd779a_a0e4c04f-0d68-4da6-92b8-08d833b7c54f.webp?v=1714889069","width":2000},{"alt":null,"id":23889796005987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f449f3ab43d73e3d79192ccd0d07ef22191cc11_3ba11c50-f455-4d55-99e1-36dd5d1ceb06.webp?v=1714889072"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f449f3ab43d73e3d79192ccd0d07ef22191cc11_3ba11c50-f455-4d55-99e1-36dd5d1ceb06.webp?v=1714889072","width":2000},{"alt":null,"id":23889796563043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10d7c21aebacab5b55b63332eadce3196f603d93_cd90ee0d-567d-496f-a71b-772d03f6191b.webp?v=1714889074"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10d7c21aebacab5b55b63332eadce3196f603d93_cd90ee0d-567d-496f-a71b-772d03f6191b.webp?v=1714889074","width":2000},{"alt":null,"id":23889797120099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ef50ad0b9b0ec815d07f4e04319d1441292f929_cc354b8a-4310-48e6-a5f9-d247b9b19f66.webp?v=1714889077"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ef50ad0b9b0ec815d07f4e04319d1441292f929_cc354b8a-4310-48e6-a5f9-d247b9b19f66.webp?v=1714889077","width":2000},{"alt":null,"id":23889797546083,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91bfce03433bad93deea7656d428b1a7808db0a5_ef99f1e0-9209-4b66-bb19-a2440fb17f15.webp?v=1714889079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91bfce03433bad93deea7656d428b1a7808db0a5_ef99f1e0-9209-4b66-bb19-a2440fb17f15.webp?v=1714889079","width":2000},{"alt":null,"id":23889797972067,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa5f3ef82cf897f6f5ff6d2aec28d3ffeb6bda28_172a2888-afc3-4ed9-8223-6646526c4592.webp?v=1714889081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa5f3ef82cf897f6f5ff6d2aec28d3ffeb6bda28_172a2888-afc3-4ed9-8223-6646526c4592.webp?v=1714889081","width":2000},{"alt":null,"id":23889798398051,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f95beafdfc7d56f8e50d51b1fdf6670841f74c38_7a39f9d4-446c-4ca6-b8d6-cd40c4bee02c.webp?v=1714889083"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f95beafdfc7d56f8e50d51b1fdf6670841f74c38_7a39f9d4-446c-4ca6-b8d6-cd40c4bee02c.webp?v=1714889083","width":2000},{"alt":null,"id":23889798791267,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91d4dd2d1bac249ac28b1c451b509b7f5fa82d2a_bd130940-7526-49ba-99ae-6ea36a150554.webp?v=1714889085"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91d4dd2d1bac249ac28b1c451b509b7f5fa82d2a_bd130940-7526-49ba-99ae-6ea36a150554.webp?v=1714889085","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41903516745827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484502409315,"product_id":7414029713507,"position":5,"created_at":"2024-05-05T14:04:34+08:00","updated_at":"2024-05-05T14:04:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10d7c21aebacab5b55b63332eadce3196f603d93_cd90ee0d-567d-496f-a71b-772d03f6191b.webp?v=1714889074","variant_ids":[41903516745827]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 復古版 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-SB01","featured_media":{"alt":null,"id":23889796563043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10d7c21aebacab5b55b63332eadce3196f603d93_cd90ee0d-567d-496f-a71b-772d03f6191b.webp?v=1714889074"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903516909667,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484503851107,"product_id":7414029713507,"position":8,"created_at":"2024-05-05T14:04:41+08:00","updated_at":"2024-05-05T14:04:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa5f3ef82cf897f6f5ff6d2aec28d3ffeb6bda28_172a2888-afc3-4ed9-8223-6646526c4592.webp?v=1714889081","variant_ids":[41903516909667]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 復古版 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-SB01","featured_media":{"alt":null,"id":23889797972067,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa5f3ef82cf897f6f5ff6d2aec28d3ffeb6bda28_172a2888-afc3-4ed9-8223-6646526c4592.webp?v=1714889081"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903517171811,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484504670307,"product_id":7414029713507,"position":10,"created_at":"2024-05-05T14:04:45+08:00","updated_at":"2024-05-05T14:04:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91d4dd2d1bac249ac28b1c451b509b7f5fa82d2a_bd130940-7526-49ba-99ae-6ea36a150554.webp?v=1714889085","variant_ids":[41903517171811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 復古版 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-SB01","featured_media":{"alt":null,"id":23889798791267,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91d4dd2d1bac249ac28b1c451b509b7f5fa82d2a_bd130940-7526-49ba-99ae-6ea36a150554.webp?v=1714889085"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41903516745827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484502409315,"product_id":7414029713507,"position":5,"created_at":"2024-05-05T14:04:34+08:00","updated_at":"2024-05-05T14:04:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10d7c21aebacab5b55b63332eadce3196f603d93_cd90ee0d-567d-496f-a71b-772d03f6191b.webp?v=1714889074","variant_ids":[41903516745827]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 復古版 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-SB01","featured_media":{"alt":null,"id":23889796563043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10d7c21aebacab5b55b63332eadce3196f603d93_cd90ee0d-567d-496f-a71b-772d03f6191b.webp?v=1714889074"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}