$product = {"id":7407875391587,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 粉紫樂園","handle":"iphone-14-pro-mod-nx-printable-yb13","description":null,"published_at":"2024-06-11T16:25:17+08:00","created_at":"2024-05-03T11:07:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-carebears","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":41879946854499,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31470591869027,"product_id":7407875391587,"position":4,"created_at":"2024-05-03T11:07:32+08:00","updated_at":"2024-05-03T11:07:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/218be6991e0144b4391a5b65d24bcb5c2fcf9b73_c28a2c26-a916-43b8-8458-b839da1ad2bd.webp?v=1714705652","variant_ids":[41879946854499]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 粉紫樂園 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-YB13","featured_media":{"alt":null,"id":23875495723107,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/218be6991e0144b4391a5b65d24bcb5c2fcf9b73_c28a2c26-a916-43b8-8458-b839da1ad2bd.webp?v=1714705652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879946920035,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31470594228323,"product_id":7407875391587,"position":9,"created_at":"2024-05-03T11:07:45+08:00","updated_at":"2024-05-03T11:07:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a13b565bf949101758084f1b8f1d999de68668_85aa7e70-5353-4b07-816a-bec401de0adc.webp?v=1714705665","variant_ids":[41879946920035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 粉紫樂園 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-YB13","featured_media":{"alt":null,"id":23875498147939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a13b565bf949101758084f1b8f1d999de68668_85aa7e70-5353-4b07-816a-bec401de0adc.webp?v=1714705665"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879947149411,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31470593704035,"product_id":7407875391587,"position":8,"created_at":"2024-05-03T11:07:42+08:00","updated_at":"2024-05-03T11:07:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bb7c5b8d0b5b40bdd86edfbf6d1e00658070f37_fa7f73ae-9f9b-42c8-af56-d1edf953f0c1.webp?v=1714705662","variant_ids":[41879947149411]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 粉紫樂園 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-YB13","featured_media":{"alt":null,"id":23875497623651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bb7c5b8d0b5b40bdd86edfbf6d1e00658070f37_fa7f73ae-9f9b-42c8-af56-d1edf953f0c1.webp?v=1714705662"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d02ae1ba047c47687385dfb3b719514f17f954_9f5475d2-3fc6-437a-9d3b-63e1c763cfdb.webp?v=1714705645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4ffe250634880c2cf9589eb2ee88375e76d339_291b1721-3f46-480f-9114-25c48f9868d6.webp?v=1714705647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24c5088ead723a5f1b29129ecbbfbc185e9d1b11_bfb13f12-7253-4440-b6ca-6df4d6b510a0.webp?v=1714705650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/218be6991e0144b4391a5b65d24bcb5c2fcf9b73_c28a2c26-a916-43b8-8458-b839da1ad2bd.webp?v=1714705652","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7ef26da72bf6bcc854bd25e31cc6d1f845b6b7a_b7657d72-3242-4897-849f-6af7b6fea4b2.webp?v=1714705655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb19077c456c8d3adb9b4daddccc081bd8451cb_f53f6857-9211-4922-b8b5-13742b882dad.webp?v=1714705657","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aea49723bd7ffc786a1854c112bfa28055363c8a_b6941b2c-5813-4cc8-99a3-4c1c062d8e8b.webp?v=1714705660","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bb7c5b8d0b5b40bdd86edfbf6d1e00658070f37_fa7f73ae-9f9b-42c8-af56-d1edf953f0c1.webp?v=1714705662","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a13b565bf949101758084f1b8f1d999de68668_85aa7e70-5353-4b07-816a-bec401de0adc.webp?v=1714705665","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/908c8432648babdbb3ffe6c07b23fd1d04314461_6d2f73a0-62d0-4b4e-9f00-a2ece815d52d.webp?v=1714705667"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d02ae1ba047c47687385dfb3b719514f17f954_9f5475d2-3fc6-437a-9d3b-63e1c763cfdb.webp?v=1714705645","options":["color"],"media":[{"alt":null,"id":23875494346851,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d02ae1ba047c47687385dfb3b719514f17f954_9f5475d2-3fc6-437a-9d3b-63e1c763cfdb.webp?v=1714705645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d02ae1ba047c47687385dfb3b719514f17f954_9f5475d2-3fc6-437a-9d3b-63e1c763cfdb.webp?v=1714705645","width":2000},{"alt":null,"id":23875494772835,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4ffe250634880c2cf9589eb2ee88375e76d339_291b1721-3f46-480f-9114-25c48f9868d6.webp?v=1714705647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4ffe250634880c2cf9589eb2ee88375e76d339_291b1721-3f46-480f-9114-25c48f9868d6.webp?v=1714705647","width":2000},{"alt":null,"id":23875495231587,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24c5088ead723a5f1b29129ecbbfbc185e9d1b11_bfb13f12-7253-4440-b6ca-6df4d6b510a0.webp?v=1714705650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24c5088ead723a5f1b29129ecbbfbc185e9d1b11_bfb13f12-7253-4440-b6ca-6df4d6b510a0.webp?v=1714705650","width":2000},{"alt":null,"id":23875495723107,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/218be6991e0144b4391a5b65d24bcb5c2fcf9b73_c28a2c26-a916-43b8-8458-b839da1ad2bd.webp?v=1714705652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/218be6991e0144b4391a5b65d24bcb5c2fcf9b73_c28a2c26-a916-43b8-8458-b839da1ad2bd.webp?v=1714705652","width":2000},{"alt":null,"id":23875496312931,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7ef26da72bf6bcc854bd25e31cc6d1f845b6b7a_b7657d72-3242-4897-849f-6af7b6fea4b2.webp?v=1714705655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7ef26da72bf6bcc854bd25e31cc6d1f845b6b7a_b7657d72-3242-4897-849f-6af7b6fea4b2.webp?v=1714705655","width":2000},{"alt":null,"id":23875496771683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb19077c456c8d3adb9b4daddccc081bd8451cb_f53f6857-9211-4922-b8b5-13742b882dad.webp?v=1714705657"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb19077c456c8d3adb9b4daddccc081bd8451cb_f53f6857-9211-4922-b8b5-13742b882dad.webp?v=1714705657","width":2000},{"alt":null,"id":23875497230435,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aea49723bd7ffc786a1854c112bfa28055363c8a_b6941b2c-5813-4cc8-99a3-4c1c062d8e8b.webp?v=1714705660"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aea49723bd7ffc786a1854c112bfa28055363c8a_b6941b2c-5813-4cc8-99a3-4c1c062d8e8b.webp?v=1714705660","width":2000},{"alt":null,"id":23875497623651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bb7c5b8d0b5b40bdd86edfbf6d1e00658070f37_fa7f73ae-9f9b-42c8-af56-d1edf953f0c1.webp?v=1714705662"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bb7c5b8d0b5b40bdd86edfbf6d1e00658070f37_fa7f73ae-9f9b-42c8-af56-d1edf953f0c1.webp?v=1714705662","width":2000},{"alt":null,"id":23875498147939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a13b565bf949101758084f1b8f1d999de68668_85aa7e70-5353-4b07-816a-bec401de0adc.webp?v=1714705665"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a13b565bf949101758084f1b8f1d999de68668_85aa7e70-5353-4b07-816a-bec401de0adc.webp?v=1714705665","width":2000},{"alt":null,"id":23875498475619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/908c8432648babdbb3ffe6c07b23fd1d04314461_6d2f73a0-62d0-4b4e-9f00-a2ece815d52d.webp?v=1714705667"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/908c8432648babdbb3ffe6c07b23fd1d04314461_6d2f73a0-62d0-4b4e-9f00-a2ece815d52d.webp?v=1714705667","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41879946854499,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31470591869027,"product_id":7407875391587,"position":4,"created_at":"2024-05-03T11:07:32+08:00","updated_at":"2024-05-03T11:07:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/218be6991e0144b4391a5b65d24bcb5c2fcf9b73_c28a2c26-a916-43b8-8458-b839da1ad2bd.webp?v=1714705652","variant_ids":[41879946854499]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 粉紫樂園 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-YB13","featured_media":{"alt":null,"id":23875495723107,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/218be6991e0144b4391a5b65d24bcb5c2fcf9b73_c28a2c26-a916-43b8-8458-b839da1ad2bd.webp?v=1714705652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879946920035,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31470594228323,"product_id":7407875391587,"position":9,"created_at":"2024-05-03T11:07:45+08:00","updated_at":"2024-05-03T11:07:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a13b565bf949101758084f1b8f1d999de68668_85aa7e70-5353-4b07-816a-bec401de0adc.webp?v=1714705665","variant_ids":[41879946920035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 粉紫樂園 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-YB13","featured_media":{"alt":null,"id":23875498147939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a13b565bf949101758084f1b8f1d999de68668_85aa7e70-5353-4b07-816a-bec401de0adc.webp?v=1714705665"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879947149411,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31470593704035,"product_id":7407875391587,"position":8,"created_at":"2024-05-03T11:07:42+08:00","updated_at":"2024-05-03T11:07:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bb7c5b8d0b5b40bdd86edfbf6d1e00658070f37_fa7f73ae-9f9b-42c8-af56-d1edf953f0c1.webp?v=1714705662","variant_ids":[41879947149411]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 粉紫樂園 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-YB13","featured_media":{"alt":null,"id":23875497623651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bb7c5b8d0b5b40bdd86edfbf6d1e00658070f37_fa7f73ae-9f9b-42c8-af56-d1edf953f0c1.webp?v=1714705662"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41879946854499,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31470591869027,"product_id":7407875391587,"position":4,"created_at":"2024-05-03T11:07:32+08:00","updated_at":"2024-05-03T11:07:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/218be6991e0144b4391a5b65d24bcb5c2fcf9b73_c28a2c26-a916-43b8-8458-b839da1ad2bd.webp?v=1714705652","variant_ids":[41879946854499]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 粉紫樂園 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-YB13","featured_media":{"alt":null,"id":23875495723107,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/218be6991e0144b4391a5b65d24bcb5c2fcf9b73_c28a2c26-a916-43b8-8458-b839da1ad2bd.webp?v=1714705652"}},"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: "停產"
}