$product = {"id":7411229556835,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Funshine Bear","handle":"iphone-14-pro-mod-nx-magsafe-printable-yb06","description":null,"published_at":"2024-06-11T17:39:21+08:00","created_at":"2024-05-04T23:49:36+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-carebears","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":41896267677795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479905976419,"product_id":7411229556835,"position":4,"created_at":"2024-05-04T23:49:45+08:00","updated_at":"2024-05-04T23:49:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/034eb07a7b2681a3bd9abf27b27555286ef41ea1_4fcdde2e-ce6e-43c4-b2b3-048cb3cb3c24.webp?v=1714837785","variant_ids":[41896267677795]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Funshine Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-YB06","featured_media":{"alt":null,"id":23885156450403,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/034eb07a7b2681a3bd9abf27b27555286ef41ea1_4fcdde2e-ce6e-43c4-b2b3-048cb3cb3c24.webp?v=1714837785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896267743331,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479906631779,"product_id":7411229556835,"position":5,"created_at":"2024-05-04T23:49:47+08:00","updated_at":"2024-05-04T23:49:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a39184ffd9e84e5fb16b4b2dcbed2b94cb74caef_ef1ed1d2-31f9-4708-9421-6aa337c11b48.webp?v=1714837787","variant_ids":[41896267743331]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Funshine Bear - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-YB06","featured_media":{"alt":null,"id":23885157007459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a39184ffd9e84e5fb16b4b2dcbed2b94cb74caef_ef1ed1d2-31f9-4708-9421-6aa337c11b48.webp?v=1714837787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896267972707,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479904960611,"product_id":7411229556835,"position":2,"created_at":"2024-05-04T23:49:40+08:00","updated_at":"2024-05-04T23:49:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a010801f9a3cd1c2710c0ffdc008e33f55bba89_23c3cdee-b215-46c0-9c4c-c9dff64edcaf.webp?v=1714837780","variant_ids":[41896267972707]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Funshine Bear - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-YB06","featured_media":{"alt":null,"id":23885155434595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a010801f9a3cd1c2710c0ffdc008e33f55bba89_23c3cdee-b215-46c0-9c4c-c9dff64edcaf.webp?v=1714837780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/495ecb39c3f0e6550aaf09a87dc76145cd68a17c_e455f64e-23a5-4468-95d5-62badb67b1a6.webp?v=1714837778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a010801f9a3cd1c2710c0ffdc008e33f55bba89_23c3cdee-b215-46c0-9c4c-c9dff64edcaf.webp?v=1714837780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cd2403d96d425ac51bc60afb38de153b1bc107f_5dbdd375-dc28-44a9-9d73-58d98e76637e.webp?v=1714837783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/034eb07a7b2681a3bd9abf27b27555286ef41ea1_4fcdde2e-ce6e-43c4-b2b3-048cb3cb3c24.webp?v=1714837785","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a39184ffd9e84e5fb16b4b2dcbed2b94cb74caef_ef1ed1d2-31f9-4708-9421-6aa337c11b48.webp?v=1714837787","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24e972f6fb22568fe3d4abde13e4e9686be8fac9_4b63a424-022d-4a2e-9065-357bee577587.webp?v=1714837790","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a292929bd40424e01aa8bb6ae27ad5695eedda76_5b1034a3-6315-404b-a93c-b3fbe06c2d90.webp?v=1714837792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fe5f6388905c43aca93af75071e8a8fda45d03_6ec12b4f-6417-4942-b479-37a9033008c3.webp?v=1714837794","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d9e37098aef11b76845a5af8dd9c87b3c533eda_515baec9-88d2-404b-83fb-2a1becb0042d.webp?v=1714837796","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b41f8a57f1c575a2f5e2b2a068625c492fd45c77_b1d4966f-3d8a-440d-81e3-d8e84215bc8c.webp?v=1714837799"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/495ecb39c3f0e6550aaf09a87dc76145cd68a17c_e455f64e-23a5-4468-95d5-62badb67b1a6.webp?v=1714837778","options":["color"],"media":[{"alt":null,"id":23885154648163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/495ecb39c3f0e6550aaf09a87dc76145cd68a17c_e455f64e-23a5-4468-95d5-62badb67b1a6.webp?v=1714837778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/495ecb39c3f0e6550aaf09a87dc76145cd68a17c_e455f64e-23a5-4468-95d5-62badb67b1a6.webp?v=1714837778","width":2000},{"alt":null,"id":23885155434595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a010801f9a3cd1c2710c0ffdc008e33f55bba89_23c3cdee-b215-46c0-9c4c-c9dff64edcaf.webp?v=1714837780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a010801f9a3cd1c2710c0ffdc008e33f55bba89_23c3cdee-b215-46c0-9c4c-c9dff64edcaf.webp?v=1714837780","width":2000},{"alt":null,"id":23885155762275,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cd2403d96d425ac51bc60afb38de153b1bc107f_5dbdd375-dc28-44a9-9d73-58d98e76637e.webp?v=1714837783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cd2403d96d425ac51bc60afb38de153b1bc107f_5dbdd375-dc28-44a9-9d73-58d98e76637e.webp?v=1714837783","width":2000},{"alt":null,"id":23885156450403,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/034eb07a7b2681a3bd9abf27b27555286ef41ea1_4fcdde2e-ce6e-43c4-b2b3-048cb3cb3c24.webp?v=1714837785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/034eb07a7b2681a3bd9abf27b27555286ef41ea1_4fcdde2e-ce6e-43c4-b2b3-048cb3cb3c24.webp?v=1714837785","width":2000},{"alt":null,"id":23885157007459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a39184ffd9e84e5fb16b4b2dcbed2b94cb74caef_ef1ed1d2-31f9-4708-9421-6aa337c11b48.webp?v=1714837787"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a39184ffd9e84e5fb16b4b2dcbed2b94cb74caef_ef1ed1d2-31f9-4708-9421-6aa337c11b48.webp?v=1714837787","width":2000},{"alt":null,"id":23885157498979,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24e972f6fb22568fe3d4abde13e4e9686be8fac9_4b63a424-022d-4a2e-9065-357bee577587.webp?v=1714837790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24e972f6fb22568fe3d4abde13e4e9686be8fac9_4b63a424-022d-4a2e-9065-357bee577587.webp?v=1714837790","width":2000},{"alt":null,"id":23885158023267,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a292929bd40424e01aa8bb6ae27ad5695eedda76_5b1034a3-6315-404b-a93c-b3fbe06c2d90.webp?v=1714837792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a292929bd40424e01aa8bb6ae27ad5695eedda76_5b1034a3-6315-404b-a93c-b3fbe06c2d90.webp?v=1714837792","width":2000},{"alt":null,"id":23885158776931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fe5f6388905c43aca93af75071e8a8fda45d03_6ec12b4f-6417-4942-b479-37a9033008c3.webp?v=1714837794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fe5f6388905c43aca93af75071e8a8fda45d03_6ec12b4f-6417-4942-b479-37a9033008c3.webp?v=1714837794","width":2000},{"alt":null,"id":23885159399523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d9e37098aef11b76845a5af8dd9c87b3c533eda_515baec9-88d2-404b-83fb-2a1becb0042d.webp?v=1714837796"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d9e37098aef11b76845a5af8dd9c87b3c533eda_515baec9-88d2-404b-83fb-2a1becb0042d.webp?v=1714837796","width":2000},{"alt":null,"id":23885159891043,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b41f8a57f1c575a2f5e2b2a068625c492fd45c77_b1d4966f-3d8a-440d-81e3-d8e84215bc8c.webp?v=1714837799"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b41f8a57f1c575a2f5e2b2a068625c492fd45c77_b1d4966f-3d8a-440d-81e3-d8e84215bc8c.webp?v=1714837799","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41896267677795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479905976419,"product_id":7411229556835,"position":4,"created_at":"2024-05-04T23:49:45+08:00","updated_at":"2024-05-04T23:49:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/034eb07a7b2681a3bd9abf27b27555286ef41ea1_4fcdde2e-ce6e-43c4-b2b3-048cb3cb3c24.webp?v=1714837785","variant_ids":[41896267677795]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Funshine Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-YB06","featured_media":{"alt":null,"id":23885156450403,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/034eb07a7b2681a3bd9abf27b27555286ef41ea1_4fcdde2e-ce6e-43c4-b2b3-048cb3cb3c24.webp?v=1714837785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896267743331,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479906631779,"product_id":7411229556835,"position":5,"created_at":"2024-05-04T23:49:47+08:00","updated_at":"2024-05-04T23:49:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a39184ffd9e84e5fb16b4b2dcbed2b94cb74caef_ef1ed1d2-31f9-4708-9421-6aa337c11b48.webp?v=1714837787","variant_ids":[41896267743331]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Funshine Bear - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-YB06","featured_media":{"alt":null,"id":23885157007459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a39184ffd9e84e5fb16b4b2dcbed2b94cb74caef_ef1ed1d2-31f9-4708-9421-6aa337c11b48.webp?v=1714837787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896267972707,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479904960611,"product_id":7411229556835,"position":2,"created_at":"2024-05-04T23:49:40+08:00","updated_at":"2024-05-04T23:49:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a010801f9a3cd1c2710c0ffdc008e33f55bba89_23c3cdee-b215-46c0-9c4c-c9dff64edcaf.webp?v=1714837780","variant_ids":[41896267972707]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Funshine Bear - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-YB06","featured_media":{"alt":null,"id":23885155434595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a010801f9a3cd1c2710c0ffdc008e33f55bba89_23c3cdee-b215-46c0-9c4c-c9dff64edcaf.webp?v=1714837780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41896267677795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479905976419,"product_id":7411229556835,"position":4,"created_at":"2024-05-04T23:49:45+08:00","updated_at":"2024-05-04T23:49:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/034eb07a7b2681a3bd9abf27b27555286ef41ea1_4fcdde2e-ce6e-43c4-b2b3-048cb3cb3c24.webp?v=1714837785","variant_ids":[41896267677795]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Funshine Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-YB06","featured_media":{"alt":null,"id":23885156450403,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/034eb07a7b2681a3bd9abf27b27555286ef41ea1_4fcdde2e-ce6e-43c4-b2b3-048cb3cb3c24.webp?v=1714837785"}},"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: "停產"
}