$product = {"id":7408039657571,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-線稿風格","handle":"iphone-13-mini-mod-nx-printable-pb51","description":null,"published_at":"2024-06-11T16:29:46+08:00","created_at":"2024-05-03T11:46:57+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":41882008485987,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31471039316067,"product_id":7408039657571,"position":5,"created_at":"2024-05-03T11:47:10+08:00","updated_at":"2024-05-03T11:47:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f81b310a8ece0b576956a36dd19946361514c48_ddd17ae2-030b-47c2-a405-f35bef2b79a7.webp?v=1714708030","variant_ids":[41882008485987]},"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-PB51","featured_media":{"alt":null,"id":23875944317027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f81b310a8ece0b576956a36dd19946361514c48_ddd17ae2-030b-47c2-a405-f35bef2b79a7.webp?v=1714708030"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882008551523,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31471040495715,"product_id":7408039657571,"position":8,"created_at":"2024-05-03T11:47:17+08:00","updated_at":"2024-05-03T11:47:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04b505ab68383231c3e8d253a9e944c67e1d2e0_3659fe94-7d94-458e-bfa4-753102c45802.webp?v=1714708037","variant_ids":[41882008551523]},"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-PB51","featured_media":{"alt":null,"id":23875945562211,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04b505ab68383231c3e8d253a9e944c67e1d2e0_3659fe94-7d94-458e-bfa4-753102c45802.webp?v=1714708037"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882008780899,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31471037218915,"product_id":7408039657571,"position":1,"created_at":"2024-05-03T11:47:00+08:00","updated_at":"2024-05-03T11:47:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c11ddcb36948d1dc8c6de721099c83853729ca_66ce83f2-47d1-4468-a701-3156c6f5494d.webp?v=1714708020","variant_ids":[41882008780899]},"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-PB51","featured_media":{"alt":null,"id":23875942252643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c11ddcb36948d1dc8c6de721099c83853729ca_66ce83f2-47d1-4468-a701-3156c6f5494d.webp?v=1714708020"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c11ddcb36948d1dc8c6de721099c83853729ca_66ce83f2-47d1-4468-a701-3156c6f5494d.webp?v=1714708020","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af4181e7d6601f090931e488e3fcd8bc96634fed_24116204-9773-443a-9243-065393a49f94.webp?v=1714708023","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336f12b4735091d3df7f9dd4f99a802d98ddae76_aa331665-8e51-4142-8e00-3ae6293758ec.webp?v=1714708025","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dcbf784693fe52f86eae23864f646c25a1e763a_eedceb94-1d49-45b4-a2ed-dd8d999119fc.webp?v=1714708027","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f81b310a8ece0b576956a36dd19946361514c48_ddd17ae2-030b-47c2-a405-f35bef2b79a7.webp?v=1714708030","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed3d6ad28103e9f3176fe0e1a41e90d9e3786373_e59948de-1daf-4f3c-ab9f-2d3f503a521e.webp?v=1714708032","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa68b8d08a6580d71029d18f6c8cab515380783b_36707733-6bed-4e13-b7ec-3d44c613ba54.webp?v=1714708035","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04b505ab68383231c3e8d253a9e944c67e1d2e0_3659fe94-7d94-458e-bfa4-753102c45802.webp?v=1714708037","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/beec4252e39fd73944e79aa44f0846a1b434a3a3_88886e5d-68c3-4d58-8843-ee7d771f77e2.webp?v=1714708039","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/313f6edec33c6db95ec93b5807986e1f54f5407b_8db4d823-d302-49d2-b76f-43a83ffa0193.webp?v=1714708042"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c11ddcb36948d1dc8c6de721099c83853729ca_66ce83f2-47d1-4468-a701-3156c6f5494d.webp?v=1714708020","options":["color"],"media":[{"alt":null,"id":23875942252643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c11ddcb36948d1dc8c6de721099c83853729ca_66ce83f2-47d1-4468-a701-3156c6f5494d.webp?v=1714708020"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c11ddcb36948d1dc8c6de721099c83853729ca_66ce83f2-47d1-4468-a701-3156c6f5494d.webp?v=1714708020","width":2000},{"alt":null,"id":23875942842467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af4181e7d6601f090931e488e3fcd8bc96634fed_24116204-9773-443a-9243-065393a49f94.webp?v=1714708023"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af4181e7d6601f090931e488e3fcd8bc96634fed_24116204-9773-443a-9243-065393a49f94.webp?v=1714708023","width":2000},{"alt":null,"id":23875943170147,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336f12b4735091d3df7f9dd4f99a802d98ddae76_aa331665-8e51-4142-8e00-3ae6293758ec.webp?v=1714708025"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336f12b4735091d3df7f9dd4f99a802d98ddae76_aa331665-8e51-4142-8e00-3ae6293758ec.webp?v=1714708025","width":2000},{"alt":null,"id":23875943727203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dcbf784693fe52f86eae23864f646c25a1e763a_eedceb94-1d49-45b4-a2ed-dd8d999119fc.webp?v=1714708027"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dcbf784693fe52f86eae23864f646c25a1e763a_eedceb94-1d49-45b4-a2ed-dd8d999119fc.webp?v=1714708027","width":2000},{"alt":null,"id":23875944317027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f81b310a8ece0b576956a36dd19946361514c48_ddd17ae2-030b-47c2-a405-f35bef2b79a7.webp?v=1714708030"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f81b310a8ece0b576956a36dd19946361514c48_ddd17ae2-030b-47c2-a405-f35bef2b79a7.webp?v=1714708030","width":2000},{"alt":null,"id":23875944743011,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed3d6ad28103e9f3176fe0e1a41e90d9e3786373_e59948de-1daf-4f3c-ab9f-2d3f503a521e.webp?v=1714708032"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed3d6ad28103e9f3176fe0e1a41e90d9e3786373_e59948de-1daf-4f3c-ab9f-2d3f503a521e.webp?v=1714708032","width":2000},{"alt":null,"id":23875945267299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa68b8d08a6580d71029d18f6c8cab515380783b_36707733-6bed-4e13-b7ec-3d44c613ba54.webp?v=1714708035"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa68b8d08a6580d71029d18f6c8cab515380783b_36707733-6bed-4e13-b7ec-3d44c613ba54.webp?v=1714708035","width":2000},{"alt":null,"id":23875945562211,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04b505ab68383231c3e8d253a9e944c67e1d2e0_3659fe94-7d94-458e-bfa4-753102c45802.webp?v=1714708037"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04b505ab68383231c3e8d253a9e944c67e1d2e0_3659fe94-7d94-458e-bfa4-753102c45802.webp?v=1714708037","width":2000},{"alt":null,"id":23875945988195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/beec4252e39fd73944e79aa44f0846a1b434a3a3_88886e5d-68c3-4d58-8843-ee7d771f77e2.webp?v=1714708039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/beec4252e39fd73944e79aa44f0846a1b434a3a3_88886e5d-68c3-4d58-8843-ee7d771f77e2.webp?v=1714708039","width":2000},{"alt":null,"id":23875946315875,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/313f6edec33c6db95ec93b5807986e1f54f5407b_8db4d823-d302-49d2-b76f-43a83ffa0193.webp?v=1714708042"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/313f6edec33c6db95ec93b5807986e1f54f5407b_8db4d823-d302-49d2-b76f-43a83ffa0193.webp?v=1714708042","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41882008485987,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31471039316067,"product_id":7408039657571,"position":5,"created_at":"2024-05-03T11:47:10+08:00","updated_at":"2024-05-03T11:47:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f81b310a8ece0b576956a36dd19946361514c48_ddd17ae2-030b-47c2-a405-f35bef2b79a7.webp?v=1714708030","variant_ids":[41882008485987]},"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-PB51","featured_media":{"alt":null,"id":23875944317027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f81b310a8ece0b576956a36dd19946361514c48_ddd17ae2-030b-47c2-a405-f35bef2b79a7.webp?v=1714708030"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882008551523,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31471040495715,"product_id":7408039657571,"position":8,"created_at":"2024-05-03T11:47:17+08:00","updated_at":"2024-05-03T11:47:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04b505ab68383231c3e8d253a9e944c67e1d2e0_3659fe94-7d94-458e-bfa4-753102c45802.webp?v=1714708037","variant_ids":[41882008551523]},"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-PB51","featured_media":{"alt":null,"id":23875945562211,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04b505ab68383231c3e8d253a9e944c67e1d2e0_3659fe94-7d94-458e-bfa4-753102c45802.webp?v=1714708037"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882008780899,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31471037218915,"product_id":7408039657571,"position":1,"created_at":"2024-05-03T11:47:00+08:00","updated_at":"2024-05-03T11:47:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c11ddcb36948d1dc8c6de721099c83853729ca_66ce83f2-47d1-4468-a701-3156c6f5494d.webp?v=1714708020","variant_ids":[41882008780899]},"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-PB51","featured_media":{"alt":null,"id":23875942252643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c11ddcb36948d1dc8c6de721099c83853729ca_66ce83f2-47d1-4468-a701-3156c6f5494d.webp?v=1714708020"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41882008485987,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB51","requires_shipping":true,"taxable":true,"featured_image":{"id":31471039316067,"product_id":7408039657571,"position":5,"created_at":"2024-05-03T11:47:10+08:00","updated_at":"2024-05-03T11:47:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f81b310a8ece0b576956a36dd19946361514c48_ddd17ae2-030b-47c2-a405-f35bef2b79a7.webp?v=1714708030","variant_ids":[41882008485987]},"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-PB51","featured_media":{"alt":null,"id":23875944317027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f81b310a8ece0b576956a36dd19946361514c48_ddd17ae2-030b-47c2-a405-f35bef2b79a7.webp?v=1714708030"}},"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: "停產"
}