$product = {"id":7369195454563,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - Chill moment","handle":"iphone-13-mini-mod-nx-magsafe-printable-pl58","description":null,"published_at":"2024-06-11T17:31:13+08:00","created_at":"2024-04-23T15:42:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Snoopy 史努比","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-snoopy","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-snoopy","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":41793487044707,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387036024931,"product_id":7369195454563,"position":2,"created_at":"2024-04-23T15:42:48+08:00","updated_at":"2024-04-23T15:42:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b196fa8f795f29e848e7176b68276ac4dcc1835_ca722959-a392-44f2-b4c1-3bb8b6693ca8.webp?v=1713858168","variant_ids":[41793487044707]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - Chill moment - 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-PL58","featured_media":{"alt":null,"id":23789274595427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b196fa8f795f29e848e7176b68276ac4dcc1835_ca722959-a392-44f2-b4c1-3bb8b6693ca8.webp?v=1713858168"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793487110243,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387039563875,"product_id":7369195454563,"position":8,"created_at":"2024-04-23T15:43:02+08:00","updated_at":"2024-04-23T15:43:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1baa2ed57d99502abe7de45a8b5e4b18fa3a0b43_f556c6e7-0dc5-4fed-a0d3-9e1027ba894c.webp?v=1713858182","variant_ids":[41793487110243]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - Chill moment - 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-PL58","featured_media":{"alt":null,"id":23789278068835,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1baa2ed57d99502abe7de45a8b5e4b18fa3a0b43_f556c6e7-0dc5-4fed-a0d3-9e1027ba894c.webp?v=1713858182"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793487339619,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387036614755,"product_id":7369195454563,"position":3,"created_at":"2024-04-23T15:42:50+08:00","updated_at":"2024-04-23T15:42:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7284a228db3e700aa2dcdaaeb024d883a6221916_117ed73e-cda5-4287-aad3-5e2fc59edb46.webp?v=1713858170","variant_ids":[41793487339619]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - Chill moment - 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-PL58","featured_media":{"alt":null,"id":23789275119715,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7284a228db3e700aa2dcdaaeb024d883a6221916_117ed73e-cda5-4287-aad3-5e2fc59edb46.webp?v=1713858170"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd7e7bf7f92beebe6ff10fa61b3ebaacad270c5_680f71f1-95fd-4f60-904d-e0f967f50b1e.webp?v=1713858166","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b196fa8f795f29e848e7176b68276ac4dcc1835_ca722959-a392-44f2-b4c1-3bb8b6693ca8.webp?v=1713858168","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7284a228db3e700aa2dcdaaeb024d883a6221916_117ed73e-cda5-4287-aad3-5e2fc59edb46.webp?v=1713858170","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176f962b2da7af2fd26b0a3263cb31efb32b7e8a_af66eec6-64a2-46e6-b82f-3ed6e16cad69.webp?v=1713858173","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04185665785efc2df0607ac4cd4e6357d15c5da_74b15563-4110-459b-a402-fff7c8885b50.webp?v=1713858175","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b87340137bb808092184d3a6c2593a351208b83_f86850ff-4f36-49e1-aeca-bce872794ea7.webp?v=1713858177","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dea9151faba771923a93bac569b36a1092709b30_07c33ed7-40f8-455c-84f7-35a34034df3e.webp?v=1713858180","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1baa2ed57d99502abe7de45a8b5e4b18fa3a0b43_f556c6e7-0dc5-4fed-a0d3-9e1027ba894c.webp?v=1713858182","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a388fcae16910d5f3d3397b1847d34b6861e80b_0f131ca6-c88c-4c89-a768-d2b102f0b95a.webp?v=1713858184","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0aaeb9dfe7e4192348f0b02e35eba5b666a1a240_6db5881e-7e95-4829-ba8f-580d904d636b.webp?v=1713858187"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd7e7bf7f92beebe6ff10fa61b3ebaacad270c5_680f71f1-95fd-4f60-904d-e0f967f50b1e.webp?v=1713858166","options":["color"],"media":[{"alt":null,"id":23789274005603,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd7e7bf7f92beebe6ff10fa61b3ebaacad270c5_680f71f1-95fd-4f60-904d-e0f967f50b1e.webp?v=1713858166"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd7e7bf7f92beebe6ff10fa61b3ebaacad270c5_680f71f1-95fd-4f60-904d-e0f967f50b1e.webp?v=1713858166","width":2000},{"alt":null,"id":23789274595427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b196fa8f795f29e848e7176b68276ac4dcc1835_ca722959-a392-44f2-b4c1-3bb8b6693ca8.webp?v=1713858168"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b196fa8f795f29e848e7176b68276ac4dcc1835_ca722959-a392-44f2-b4c1-3bb8b6693ca8.webp?v=1713858168","width":2000},{"alt":null,"id":23789275119715,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7284a228db3e700aa2dcdaaeb024d883a6221916_117ed73e-cda5-4287-aad3-5e2fc59edb46.webp?v=1713858170"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7284a228db3e700aa2dcdaaeb024d883a6221916_117ed73e-cda5-4287-aad3-5e2fc59edb46.webp?v=1713858170","width":2000},{"alt":null,"id":23789275644003,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176f962b2da7af2fd26b0a3263cb31efb32b7e8a_af66eec6-64a2-46e6-b82f-3ed6e16cad69.webp?v=1713858173"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176f962b2da7af2fd26b0a3263cb31efb32b7e8a_af66eec6-64a2-46e6-b82f-3ed6e16cad69.webp?v=1713858173","width":2000},{"alt":null,"id":23789276266595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04185665785efc2df0607ac4cd4e6357d15c5da_74b15563-4110-459b-a402-fff7c8885b50.webp?v=1713858175"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04185665785efc2df0607ac4cd4e6357d15c5da_74b15563-4110-459b-a402-fff7c8885b50.webp?v=1713858175","width":2000},{"alt":null,"id":23789276889187,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b87340137bb808092184d3a6c2593a351208b83_f86850ff-4f36-49e1-aeca-bce872794ea7.webp?v=1713858177"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b87340137bb808092184d3a6c2593a351208b83_f86850ff-4f36-49e1-aeca-bce872794ea7.webp?v=1713858177","width":2000},{"alt":null,"id":23789277708387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dea9151faba771923a93bac569b36a1092709b30_07c33ed7-40f8-455c-84f7-35a34034df3e.webp?v=1713858180"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dea9151faba771923a93bac569b36a1092709b30_07c33ed7-40f8-455c-84f7-35a34034df3e.webp?v=1713858180","width":2000},{"alt":null,"id":23789278068835,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1baa2ed57d99502abe7de45a8b5e4b18fa3a0b43_f556c6e7-0dc5-4fed-a0d3-9e1027ba894c.webp?v=1713858182"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1baa2ed57d99502abe7de45a8b5e4b18fa3a0b43_f556c6e7-0dc5-4fed-a0d3-9e1027ba894c.webp?v=1713858182","width":2000},{"alt":null,"id":23789278724195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a388fcae16910d5f3d3397b1847d34b6861e80b_0f131ca6-c88c-4c89-a768-d2b102f0b95a.webp?v=1713858184"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a388fcae16910d5f3d3397b1847d34b6861e80b_0f131ca6-c88c-4c89-a768-d2b102f0b95a.webp?v=1713858184","width":2000},{"alt":null,"id":23789279281251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0aaeb9dfe7e4192348f0b02e35eba5b666a1a240_6db5881e-7e95-4829-ba8f-580d904d636b.webp?v=1713858187"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0aaeb9dfe7e4192348f0b02e35eba5b666a1a240_6db5881e-7e95-4829-ba8f-580d904d636b.webp?v=1713858187","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41793487044707,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387036024931,"product_id":7369195454563,"position":2,"created_at":"2024-04-23T15:42:48+08:00","updated_at":"2024-04-23T15:42:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b196fa8f795f29e848e7176b68276ac4dcc1835_ca722959-a392-44f2-b4c1-3bb8b6693ca8.webp?v=1713858168","variant_ids":[41793487044707]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - Chill moment - 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-PL58","featured_media":{"alt":null,"id":23789274595427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b196fa8f795f29e848e7176b68276ac4dcc1835_ca722959-a392-44f2-b4c1-3bb8b6693ca8.webp?v=1713858168"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793487110243,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387039563875,"product_id":7369195454563,"position":8,"created_at":"2024-04-23T15:43:02+08:00","updated_at":"2024-04-23T15:43:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1baa2ed57d99502abe7de45a8b5e4b18fa3a0b43_f556c6e7-0dc5-4fed-a0d3-9e1027ba894c.webp?v=1713858182","variant_ids":[41793487110243]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - Chill moment - 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-PL58","featured_media":{"alt":null,"id":23789278068835,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1baa2ed57d99502abe7de45a8b5e4b18fa3a0b43_f556c6e7-0dc5-4fed-a0d3-9e1027ba894c.webp?v=1713858182"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793487339619,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387036614755,"product_id":7369195454563,"position":3,"created_at":"2024-04-23T15:42:50+08:00","updated_at":"2024-04-23T15:42:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7284a228db3e700aa2dcdaaeb024d883a6221916_117ed73e-cda5-4287-aad3-5e2fc59edb46.webp?v=1713858170","variant_ids":[41793487339619]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - Chill moment - 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-PL58","featured_media":{"alt":null,"id":23789275119715,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7284a228db3e700aa2dcdaaeb024d883a6221916_117ed73e-cda5-4287-aad3-5e2fc59edb46.webp?v=1713858170"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41793487044707,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387036024931,"product_id":7369195454563,"position":2,"created_at":"2024-04-23T15:42:48+08:00","updated_at":"2024-04-23T15:42:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b196fa8f795f29e848e7176b68276ac4dcc1835_ca722959-a392-44f2-b4c1-3bb8b6693ca8.webp?v=1713858168","variant_ids":[41793487044707]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - Chill moment - 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-PL58","featured_media":{"alt":null,"id":23789274595427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b196fa8f795f29e848e7176b68276ac4dcc1835_ca722959-a392-44f2-b4c1-3bb8b6693ca8.webp?v=1713858168"}},"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: "停產"
}