$product = {"id":7411413680227,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 哥譚市","handle":"iphone-14-pro-mod-nx-magsafe-printable-sb19","description":null,"published_at":"2024-06-11T17:44:19+08:00","created_at":"2024-05-05T00:25:01+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 14 Pro","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":41898574250083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31480364630115,"product_id":7411413680227,"position":3,"created_at":"2024-05-05T00:25:08+08:00","updated_at":"2024-05-05T00:25:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a1d43a0a80cfe2a4bece361e35070f159eabb5_729da59c-dbdb-4605-b9c2-46872dded641.webp?v=1714839908","variant_ids":[41898574250083]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126224-SB19","featured_media":{"alt":null,"id":23885616414819,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a1d43a0a80cfe2a4bece361e35070f159eabb5_729da59c-dbdb-4605-b9c2-46872dded641.webp?v=1714839908"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898574315619,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31480364204131,"product_id":7411413680227,"position":2,"created_at":"2024-05-05T00:25:06+08:00","updated_at":"2024-05-05T00:25:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ca2734e62dba164bef486fafa105e39669164d_6360929f-31d9-466b-a417-f64c7b81b4f4.webp?v=1714839906","variant_ids":[41898574315619]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126204-SB19","featured_media":{"alt":null,"id":23885616021603,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ca2734e62dba164bef486fafa105e39669164d_6360929f-31d9-466b-a417-f64c7b81b4f4.webp?v=1714839906"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898574544995,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31480366891107,"product_id":7411413680227,"position":7,"created_at":"2024-05-05T00:25:18+08:00","updated_at":"2024-05-05T00:25:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39a4462bf146ef550fe4823378643e0750f3ad5_52590436-d33a-4f63-bddd-efda657aed24.webp?v=1714839918","variant_ids":[41898574544995]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB01262J5-SB19","featured_media":{"alt":null,"id":23885618675811,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39a4462bf146ef550fe4823378643e0750f3ad5_52590436-d33a-4f63-bddd-efda657aed24.webp?v=1714839918"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94a2d608ca34fb4d6125dbdd09b0a126a5f1d519_7554ba1b-0d6d-44d4-915e-c15df5ea9d7f.webp?v=1714839904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ca2734e62dba164bef486fafa105e39669164d_6360929f-31d9-466b-a417-f64c7b81b4f4.webp?v=1714839906","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a1d43a0a80cfe2a4bece361e35070f159eabb5_729da59c-dbdb-4605-b9c2-46872dded641.webp?v=1714839908","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51c49add7938caa70c4f3b2626c6fc4086666839_cf287646-54f2-4b82-972e-2682ca09b919.webp?v=1714839911","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b5d8175ccc744cccc31aea8f43e0bc8fa7bbe26_f24b3b80-97c4-47e8-aca6-42b23536d5a6.webp?v=1714839914","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0aa74885c313ffa7bd501bdacacdfd79631706b1_249ba2cd-671d-4899-a65b-a1bc01d66b70.webp?v=1714839916","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39a4462bf146ef550fe4823378643e0750f3ad5_52590436-d33a-4f63-bddd-efda657aed24.webp?v=1714839918","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b471fb28fa071b98cc4b4e0db5d3c78f108ab21_ce6afb2e-ec95-4d92-aaf1-56258e383da6.webp?v=1714839921","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1db8e1d841f6f28c3abc11d02c99635e331bcd48_4d82ee44-66d9-470a-af9e-287b474a5a4e.webp?v=1714839924","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eec64824b1c4b18c9714cb1db576d32ac13d4086_c471e63c-4dcc-4e64-9a9a-e4106d7cf1fc.webp?v=1714839926"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94a2d608ca34fb4d6125dbdd09b0a126a5f1d519_7554ba1b-0d6d-44d4-915e-c15df5ea9d7f.webp?v=1714839904","options":["color"],"media":[{"alt":null,"id":23885615595619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94a2d608ca34fb4d6125dbdd09b0a126a5f1d519_7554ba1b-0d6d-44d4-915e-c15df5ea9d7f.webp?v=1714839904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94a2d608ca34fb4d6125dbdd09b0a126a5f1d519_7554ba1b-0d6d-44d4-915e-c15df5ea9d7f.webp?v=1714839904","width":2000},{"alt":null,"id":23885616021603,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ca2734e62dba164bef486fafa105e39669164d_6360929f-31d9-466b-a417-f64c7b81b4f4.webp?v=1714839906"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ca2734e62dba164bef486fafa105e39669164d_6360929f-31d9-466b-a417-f64c7b81b4f4.webp?v=1714839906","width":2000},{"alt":null,"id":23885616414819,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a1d43a0a80cfe2a4bece361e35070f159eabb5_729da59c-dbdb-4605-b9c2-46872dded641.webp?v=1714839908"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a1d43a0a80cfe2a4bece361e35070f159eabb5_729da59c-dbdb-4605-b9c2-46872dded641.webp?v=1714839908","width":2000},{"alt":null,"id":23885617004643,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51c49add7938caa70c4f3b2626c6fc4086666839_cf287646-54f2-4b82-972e-2682ca09b919.webp?v=1714839911"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51c49add7938caa70c4f3b2626c6fc4086666839_cf287646-54f2-4b82-972e-2682ca09b919.webp?v=1714839911","width":2000},{"alt":null,"id":23885617594467,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b5d8175ccc744cccc31aea8f43e0bc8fa7bbe26_f24b3b80-97c4-47e8-aca6-42b23536d5a6.webp?v=1714839914"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b5d8175ccc744cccc31aea8f43e0bc8fa7bbe26_f24b3b80-97c4-47e8-aca6-42b23536d5a6.webp?v=1714839914","width":2000},{"alt":null,"id":23885617889379,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0aa74885c313ffa7bd501bdacacdfd79631706b1_249ba2cd-671d-4899-a65b-a1bc01d66b70.webp?v=1714839916"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0aa74885c313ffa7bd501bdacacdfd79631706b1_249ba2cd-671d-4899-a65b-a1bc01d66b70.webp?v=1714839916","width":2000},{"alt":null,"id":23885618675811,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39a4462bf146ef550fe4823378643e0750f3ad5_52590436-d33a-4f63-bddd-efda657aed24.webp?v=1714839918"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39a4462bf146ef550fe4823378643e0750f3ad5_52590436-d33a-4f63-bddd-efda657aed24.webp?v=1714839918","width":2000},{"alt":null,"id":23885619200099,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b471fb28fa071b98cc4b4e0db5d3c78f108ab21_ce6afb2e-ec95-4d92-aaf1-56258e383da6.webp?v=1714839921"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b471fb28fa071b98cc4b4e0db5d3c78f108ab21_ce6afb2e-ec95-4d92-aaf1-56258e383da6.webp?v=1714839921","width":2000},{"alt":null,"id":23885619757155,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1db8e1d841f6f28c3abc11d02c99635e331bcd48_4d82ee44-66d9-470a-af9e-287b474a5a4e.webp?v=1714839924"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1db8e1d841f6f28c3abc11d02c99635e331bcd48_4d82ee44-66d9-470a-af9e-287b474a5a4e.webp?v=1714839924","width":2000},{"alt":null,"id":23885620117603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eec64824b1c4b18c9714cb1db576d32ac13d4086_c471e63c-4dcc-4e64-9a9a-e4106d7cf1fc.webp?v=1714839926"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eec64824b1c4b18c9714cb1db576d32ac13d4086_c471e63c-4dcc-4e64-9a9a-e4106d7cf1fc.webp?v=1714839926","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41898574250083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31480364630115,"product_id":7411413680227,"position":3,"created_at":"2024-05-05T00:25:08+08:00","updated_at":"2024-05-05T00:25:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a1d43a0a80cfe2a4bece361e35070f159eabb5_729da59c-dbdb-4605-b9c2-46872dded641.webp?v=1714839908","variant_ids":[41898574250083]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126224-SB19","featured_media":{"alt":null,"id":23885616414819,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a1d43a0a80cfe2a4bece361e35070f159eabb5_729da59c-dbdb-4605-b9c2-46872dded641.webp?v=1714839908"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898574315619,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31480364204131,"product_id":7411413680227,"position":2,"created_at":"2024-05-05T00:25:06+08:00","updated_at":"2024-05-05T00:25:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ca2734e62dba164bef486fafa105e39669164d_6360929f-31d9-466b-a417-f64c7b81b4f4.webp?v=1714839906","variant_ids":[41898574315619]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126204-SB19","featured_media":{"alt":null,"id":23885616021603,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ca2734e62dba164bef486fafa105e39669164d_6360929f-31d9-466b-a417-f64c7b81b4f4.webp?v=1714839906"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898574544995,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31480366891107,"product_id":7411413680227,"position":7,"created_at":"2024-05-05T00:25:18+08:00","updated_at":"2024-05-05T00:25:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39a4462bf146ef550fe4823378643e0750f3ad5_52590436-d33a-4f63-bddd-efda657aed24.webp?v=1714839918","variant_ids":[41898574544995]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB01262J5-SB19","featured_media":{"alt":null,"id":23885618675811,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39a4462bf146ef550fe4823378643e0750f3ad5_52590436-d33a-4f63-bddd-efda657aed24.webp?v=1714839918"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41898574250083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31480364630115,"product_id":7411413680227,"position":3,"created_at":"2024-05-05T00:25:08+08:00","updated_at":"2024-05-05T00:25:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a1d43a0a80cfe2a4bece361e35070f159eabb5_729da59c-dbdb-4605-b9c2-46872dded641.webp?v=1714839908","variant_ids":[41898574250083]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126224-SB19","featured_media":{"alt":null,"id":23885616414819,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a1d43a0a80cfe2a4bece361e35070f159eabb5_729da59c-dbdb-4605-b9c2-46872dded641.webp?v=1714839908"}},"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: "停產"
}