$product = {"id":7369204498531,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Snoopy 史努比 - Chill moment","handle":"iphone-14-pro-mod-nx-magsafe-printable-pl58","description":null,"published_at":"2024-06-11T17:31:24+08:00","created_at":"2024-04-23T15:44:14+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 14 Pro","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":41793578664035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387064107107,"product_id":7369204498531,"position":10,"created_at":"2024-04-23T15:44:38+08:00","updated_at":"2024-04-23T15:44:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c064bc9154483b654c3a6dc283360559e725a057_1f883e9a-caaf-4e0a-9984-0c259f4fc276.webp?v=1713858278","variant_ids":[41793578664035]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126224-PL58","featured_media":{"alt":null,"id":23789302743139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c064bc9154483b654c3a6dc283360559e725a057_1f883e9a-caaf-4e0a-9984-0c259f4fc276.webp?v=1713858278"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793578795107,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387058634851,"product_id":7369204498531,"position":1,"created_at":"2024-04-23T15:44:17+08:00","updated_at":"2024-04-23T15:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff053d5da7ab73b8dbddd24fcc3c3d426cfd9d4f_15eb1ae2-b629-4007-b1fb-295329269ca2.webp?v=1713858257","variant_ids":[41793578795107]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126204-PL58","featured_media":{"alt":null,"id":23789297270883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff053d5da7ab73b8dbddd24fcc3c3d426cfd9d4f_15eb1ae2-b629-4007-b1fb-295329269ca2.webp?v=1713858257"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793579286627,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387060502627,"product_id":7369204498531,"position":4,"created_at":"2024-04-23T15:44:24+08:00","updated_at":"2024-04-23T15:44:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01bc0c35ab067cb75d83fcc6e3bb12b1594a2bea_9bd30602-c52a-46dc-84c3-f332ca22d5b4.webp?v=1713858264","variant_ids":[41793579286627]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB01262J5-PL58","featured_media":{"alt":null,"id":23789299138659,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01bc0c35ab067cb75d83fcc6e3bb12b1594a2bea_9bd30602-c52a-46dc-84c3-f332ca22d5b4.webp?v=1713858264"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff053d5da7ab73b8dbddd24fcc3c3d426cfd9d4f_15eb1ae2-b629-4007-b1fb-295329269ca2.webp?v=1713858257","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f034406db1fb352fa611d082e39196a12a30fa92_6499a0d9-d138-49b5-86f2-3e3b835e77e6.webp?v=1713858259","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4eb8bcbcf1542db89521c222421aec2ba49c485_5cf83d29-ec1a-4e1e-941a-dde124a0a3f3.webp?v=1713858261","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01bc0c35ab067cb75d83fcc6e3bb12b1594a2bea_9bd30602-c52a-46dc-84c3-f332ca22d5b4.webp?v=1713858264","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a738b10e94caf4f9f427e4da338ee329d4906203_3b068e34-6bb0-4449-be71-0be1dda194b8.webp?v=1713858266","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5f53602f9c4b13e08312706c7a81801c9a5832d_135a9902-a533-45de-8fa3-8389a17c6d08.webp?v=1713858268","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95f96eec88d7dfff9cd409d4b565ac7379d1b27f_7092e446-706e-4791-9cdf-28c7e778870f.webp?v=1713858271","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5fb2fb4bf7bc206c1cfe23a1143ba4ff072cacc_a033e4de-0785-4737-ac1b-d2bb40704761.webp?v=1713858273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e98b9997e0bfda53a3919dcd1d39f400d3121b01_17ca15ab-099a-4320-b3b6-dc4f65d8e5dd.webp?v=1713858275","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c064bc9154483b654c3a6dc283360559e725a057_1f883e9a-caaf-4e0a-9984-0c259f4fc276.webp?v=1713858278"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff053d5da7ab73b8dbddd24fcc3c3d426cfd9d4f_15eb1ae2-b629-4007-b1fb-295329269ca2.webp?v=1713858257","options":["color"],"media":[{"alt":null,"id":23789297270883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff053d5da7ab73b8dbddd24fcc3c3d426cfd9d4f_15eb1ae2-b629-4007-b1fb-295329269ca2.webp?v=1713858257"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff053d5da7ab73b8dbddd24fcc3c3d426cfd9d4f_15eb1ae2-b629-4007-b1fb-295329269ca2.webp?v=1713858257","width":2000},{"alt":null,"id":23789297926243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f034406db1fb352fa611d082e39196a12a30fa92_6499a0d9-d138-49b5-86f2-3e3b835e77e6.webp?v=1713858259"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f034406db1fb352fa611d082e39196a12a30fa92_6499a0d9-d138-49b5-86f2-3e3b835e77e6.webp?v=1713858259","width":2000},{"alt":null,"id":23789298614371,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4eb8bcbcf1542db89521c222421aec2ba49c485_5cf83d29-ec1a-4e1e-941a-dde124a0a3f3.webp?v=1713858261"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4eb8bcbcf1542db89521c222421aec2ba49c485_5cf83d29-ec1a-4e1e-941a-dde124a0a3f3.webp?v=1713858261","width":2000},{"alt":null,"id":23789299138659,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01bc0c35ab067cb75d83fcc6e3bb12b1594a2bea_9bd30602-c52a-46dc-84c3-f332ca22d5b4.webp?v=1713858264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01bc0c35ab067cb75d83fcc6e3bb12b1594a2bea_9bd30602-c52a-46dc-84c3-f332ca22d5b4.webp?v=1713858264","width":2000},{"alt":null,"id":23789299826787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a738b10e94caf4f9f427e4da338ee329d4906203_3b068e34-6bb0-4449-be71-0be1dda194b8.webp?v=1713858266"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a738b10e94caf4f9f427e4da338ee329d4906203_3b068e34-6bb0-4449-be71-0be1dda194b8.webp?v=1713858266","width":2000},{"alt":null,"id":23789300351075,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5f53602f9c4b13e08312706c7a81801c9a5832d_135a9902-a533-45de-8fa3-8389a17c6d08.webp?v=1713858268"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5f53602f9c4b13e08312706c7a81801c9a5832d_135a9902-a533-45de-8fa3-8389a17c6d08.webp?v=1713858268","width":2000},{"alt":null,"id":23789301203043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95f96eec88d7dfff9cd409d4b565ac7379d1b27f_7092e446-706e-4791-9cdf-28c7e778870f.webp?v=1713858271"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95f96eec88d7dfff9cd409d4b565ac7379d1b27f_7092e446-706e-4791-9cdf-28c7e778870f.webp?v=1713858271","width":2000},{"alt":null,"id":23789301661795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5fb2fb4bf7bc206c1cfe23a1143ba4ff072cacc_a033e4de-0785-4737-ac1b-d2bb40704761.webp?v=1713858273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5fb2fb4bf7bc206c1cfe23a1143ba4ff072cacc_a033e4de-0785-4737-ac1b-d2bb40704761.webp?v=1713858273","width":2000},{"alt":null,"id":23789302251619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e98b9997e0bfda53a3919dcd1d39f400d3121b01_17ca15ab-099a-4320-b3b6-dc4f65d8e5dd.webp?v=1713858275"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e98b9997e0bfda53a3919dcd1d39f400d3121b01_17ca15ab-099a-4320-b3b6-dc4f65d8e5dd.webp?v=1713858275","width":2000},{"alt":null,"id":23789302743139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c064bc9154483b654c3a6dc283360559e725a057_1f883e9a-caaf-4e0a-9984-0c259f4fc276.webp?v=1713858278"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c064bc9154483b654c3a6dc283360559e725a057_1f883e9a-caaf-4e0a-9984-0c259f4fc276.webp?v=1713858278","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41793578664035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387064107107,"product_id":7369204498531,"position":10,"created_at":"2024-04-23T15:44:38+08:00","updated_at":"2024-04-23T15:44:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c064bc9154483b654c3a6dc283360559e725a057_1f883e9a-caaf-4e0a-9984-0c259f4fc276.webp?v=1713858278","variant_ids":[41793578664035]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126224-PL58","featured_media":{"alt":null,"id":23789302743139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c064bc9154483b654c3a6dc283360559e725a057_1f883e9a-caaf-4e0a-9984-0c259f4fc276.webp?v=1713858278"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793578795107,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387058634851,"product_id":7369204498531,"position":1,"created_at":"2024-04-23T15:44:17+08:00","updated_at":"2024-04-23T15:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff053d5da7ab73b8dbddd24fcc3c3d426cfd9d4f_15eb1ae2-b629-4007-b1fb-295329269ca2.webp?v=1713858257","variant_ids":[41793578795107]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126204-PL58","featured_media":{"alt":null,"id":23789297270883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff053d5da7ab73b8dbddd24fcc3c3d426cfd9d4f_15eb1ae2-b629-4007-b1fb-295329269ca2.webp?v=1713858257"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793579286627,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387060502627,"product_id":7369204498531,"position":4,"created_at":"2024-04-23T15:44:24+08:00","updated_at":"2024-04-23T15:44:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01bc0c35ab067cb75d83fcc6e3bb12b1594a2bea_9bd30602-c52a-46dc-84c3-f332ca22d5b4.webp?v=1713858264","variant_ids":[41793579286627]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB01262J5-PL58","featured_media":{"alt":null,"id":23789299138659,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01bc0c35ab067cb75d83fcc6e3bb12b1594a2bea_9bd30602-c52a-46dc-84c3-f332ca22d5b4.webp?v=1713858264"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41793578664035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":31387064107107,"product_id":7369204498531,"position":10,"created_at":"2024-04-23T15:44:38+08:00","updated_at":"2024-04-23T15:44:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c064bc9154483b654c3a6dc283360559e725a057_1f883e9a-caaf-4e0a-9984-0c259f4fc276.webp?v=1713858278","variant_ids":[41793578664035]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126224-PL58","featured_media":{"alt":null,"id":23789302743139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c064bc9154483b654c3a6dc283360559e725a057_1f883e9a-caaf-4e0a-9984-0c259f4fc276.webp?v=1713858278"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}