$product = {"id":7413961162851,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列","handle":"iphone-13-mini-mod-nx-magsafe-printable-pb98","description":null,"published_at":"2024-06-11T17:46:13+08:00","created_at":"2024-05-05T13:50:51+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","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":41902724481123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31484331884643,"product_id":7413961162851,"position":6,"created_at":"2024-05-05T13:51:06+08:00","updated_at":"2024-05-05T13:51:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77a3d9606f1f8803644753815c202cc6b79ede49_5c782cec-d73f-4764-b6e3-21b646a2fe85.webp?v=1714888267","variant_ids":[41902724481123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23889625579619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77a3d9606f1f8803644753815c202cc6b79ede49_5c782cec-d73f-4764-b6e3-21b646a2fe85.webp?v=1714888267"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902724644963,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31484333391971,"product_id":7413961162851,"position":9,"created_at":"2024-05-05T13:51:14+08:00","updated_at":"2024-05-05T13:51:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/699877d638b3e606c8dcc87ba247263ed72c2ded_a5560241-9880-421b-bcf9-e1add1cdeac7.webp?v=1714888274","variant_ids":[41902724644963]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23889627086947,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/699877d638b3e606c8dcc87ba247263ed72c2ded_a5560241-9880-421b-bcf9-e1add1cdeac7.webp?v=1714888274"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902724874339,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31484332310627,"product_id":7413961162851,"position":7,"created_at":"2024-05-05T13:51:09+08:00","updated_at":"2024-05-05T13:51:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c79080124928f15a099898903befff2290d27ed5_db3be321-15f0-424a-a9d5-48641c0fed69.webp?v=1714888269","variant_ids":[41902724874339]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23889625972835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c79080124928f15a099898903befff2290d27ed5_db3be321-15f0-424a-a9d5-48641c0fed69.webp?v=1714888269"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c8de052e946e8e93b43d4537a4e7bbc286af5ae_111d15f7-0bec-4dca-a548-7f6ea802c08a.webp?v=1714888253","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0846a26966059b0feee0c1c241cf6e78fdd59940_07d55bac-4e16-4ed6-8010-0d0566a570bc.webp?v=1714888257","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e24b8c310eca180679926655b4443843f6585a15_8b964660-2114-482c-837d-057260653763.webp?v=1714888259","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5324359fd8f9b8d77e4e45107c06c42e33578cf5_b0ec8a07-6a03-4420-ab41-baaad973a794.webp?v=1714888262","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cb53f9185c0ed634890384166fb7f20971aafbe_26fce426-54c6-4c6e-a8bc-6efeacd002cc.webp?v=1714888264","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77a3d9606f1f8803644753815c202cc6b79ede49_5c782cec-d73f-4764-b6e3-21b646a2fe85.webp?v=1714888267","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c79080124928f15a099898903befff2290d27ed5_db3be321-15f0-424a-a9d5-48641c0fed69.webp?v=1714888269","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c820b3e51782e16f0877f79076d37693065543_73adedb6-eda4-4cf6-b81f-63d5a1ee5dbe.webp?v=1714888272","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/699877d638b3e606c8dcc87ba247263ed72c2ded_a5560241-9880-421b-bcf9-e1add1cdeac7.webp?v=1714888274","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cc8b72b23aa31d9957ea71a932fd961e5370566_ea5ed3e6-9aba-437d-8154-a1d440e45e45.webp?v=1714888277"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c8de052e946e8e93b43d4537a4e7bbc286af5ae_111d15f7-0bec-4dca-a548-7f6ea802c08a.webp?v=1714888253","options":["color"],"media":[{"alt":null,"id":23889622794339,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c8de052e946e8e93b43d4537a4e7bbc286af5ae_111d15f7-0bec-4dca-a548-7f6ea802c08a.webp?v=1714888253"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c8de052e946e8e93b43d4537a4e7bbc286af5ae_111d15f7-0bec-4dca-a548-7f6ea802c08a.webp?v=1714888253","width":2000},{"alt":null,"id":23889623482467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0846a26966059b0feee0c1c241cf6e78fdd59940_07d55bac-4e16-4ed6-8010-0d0566a570bc.webp?v=1714888257"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0846a26966059b0feee0c1c241cf6e78fdd59940_07d55bac-4e16-4ed6-8010-0d0566a570bc.webp?v=1714888257","width":2000},{"alt":null,"id":23889624039523,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e24b8c310eca180679926655b4443843f6585a15_8b964660-2114-482c-837d-057260653763.webp?v=1714888259"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e24b8c310eca180679926655b4443843f6585a15_8b964660-2114-482c-837d-057260653763.webp?v=1714888259","width":2000},{"alt":null,"id":23889624498275,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5324359fd8f9b8d77e4e45107c06c42e33578cf5_b0ec8a07-6a03-4420-ab41-baaad973a794.webp?v=1714888262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5324359fd8f9b8d77e4e45107c06c42e33578cf5_b0ec8a07-6a03-4420-ab41-baaad973a794.webp?v=1714888262","width":2000},{"alt":null,"id":23889625088099,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cb53f9185c0ed634890384166fb7f20971aafbe_26fce426-54c6-4c6e-a8bc-6efeacd002cc.webp?v=1714888264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cb53f9185c0ed634890384166fb7f20971aafbe_26fce426-54c6-4c6e-a8bc-6efeacd002cc.webp?v=1714888264","width":2000},{"alt":null,"id":23889625579619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77a3d9606f1f8803644753815c202cc6b79ede49_5c782cec-d73f-4764-b6e3-21b646a2fe85.webp?v=1714888267"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77a3d9606f1f8803644753815c202cc6b79ede49_5c782cec-d73f-4764-b6e3-21b646a2fe85.webp?v=1714888267","width":2000},{"alt":null,"id":23889625972835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c79080124928f15a099898903befff2290d27ed5_db3be321-15f0-424a-a9d5-48641c0fed69.webp?v=1714888269"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c79080124928f15a099898903befff2290d27ed5_db3be321-15f0-424a-a9d5-48641c0fed69.webp?v=1714888269","width":2000},{"alt":null,"id":23889626497123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c820b3e51782e16f0877f79076d37693065543_73adedb6-eda4-4cf6-b81f-63d5a1ee5dbe.webp?v=1714888272"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c820b3e51782e16f0877f79076d37693065543_73adedb6-eda4-4cf6-b81f-63d5a1ee5dbe.webp?v=1714888272","width":2000},{"alt":null,"id":23889627086947,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/699877d638b3e606c8dcc87ba247263ed72c2ded_a5560241-9880-421b-bcf9-e1add1cdeac7.webp?v=1714888274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/699877d638b3e606c8dcc87ba247263ed72c2ded_a5560241-9880-421b-bcf9-e1add1cdeac7.webp?v=1714888274","width":2000},{"alt":null,"id":23889627512931,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cc8b72b23aa31d9957ea71a932fd961e5370566_ea5ed3e6-9aba-437d-8154-a1d440e45e45.webp?v=1714888277"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cc8b72b23aa31d9957ea71a932fd961e5370566_ea5ed3e6-9aba-437d-8154-a1d440e45e45.webp?v=1714888277","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41902724481123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31484331884643,"product_id":7413961162851,"position":6,"created_at":"2024-05-05T13:51:06+08:00","updated_at":"2024-05-05T13:51:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77a3d9606f1f8803644753815c202cc6b79ede49_5c782cec-d73f-4764-b6e3-21b646a2fe85.webp?v=1714888267","variant_ids":[41902724481123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23889625579619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77a3d9606f1f8803644753815c202cc6b79ede49_5c782cec-d73f-4764-b6e3-21b646a2fe85.webp?v=1714888267"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902724644963,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31484333391971,"product_id":7413961162851,"position":9,"created_at":"2024-05-05T13:51:14+08:00","updated_at":"2024-05-05T13:51:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/699877d638b3e606c8dcc87ba247263ed72c2ded_a5560241-9880-421b-bcf9-e1add1cdeac7.webp?v=1714888274","variant_ids":[41902724644963]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23889627086947,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/699877d638b3e606c8dcc87ba247263ed72c2ded_a5560241-9880-421b-bcf9-e1add1cdeac7.webp?v=1714888274"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902724874339,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31484332310627,"product_id":7413961162851,"position":7,"created_at":"2024-05-05T13:51:09+08:00","updated_at":"2024-05-05T13:51:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c79080124928f15a099898903befff2290d27ed5_db3be321-15f0-424a-a9d5-48641c0fed69.webp?v=1714888269","variant_ids":[41902724874339]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23889625972835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c79080124928f15a099898903befff2290d27ed5_db3be321-15f0-424a-a9d5-48641c0fed69.webp?v=1714888269"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41902724481123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31484331884643,"product_id":7413961162851,"position":6,"created_at":"2024-05-05T13:51:06+08:00","updated_at":"2024-05-05T13:51:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77a3d9606f1f8803644753815c202cc6b79ede49_5c782cec-d73f-4764-b6e3-21b646a2fe85.webp?v=1714888267","variant_ids":[41902724481123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23889625579619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77a3d9606f1f8803644753815c202cc6b79ede49_5c782cec-d73f-4764-b6e3-21b646a2fe85.webp?v=1714888267"}},"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: "停產"
}