$product = {"id":7413969223779,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 大自然的傑作(大堡礁)","handle":"iphone-13-mini-mod-nx-magsafe-printable-af11","description":null,"published_at":"2024-06-11T17:46:27+08:00","created_at":"2024-05-05T13:52:33+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Look","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-look","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-look","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":41902820327523,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":31484354134115,"product_id":7413969223779,"position":7,"created_at":"2024-05-05T13:52:51+08:00","updated_at":"2024-05-05T13:52:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a789cc5d6421eb076fe514d4122d14b4adeeb62_a59d1ed3-2108-45c3-be4b-6ea6d9a6a0bb.webp?v=1714888371","variant_ids":[41902820327523]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 大自然的傑作(大堡礁) - 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":"MPB0122824-AF11","featured_media":{"alt":null,"id":23889647861859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a789cc5d6421eb076fe514d4122d14b4adeeb62_a59d1ed3-2108-45c3-be4b-6ea6d9a6a0bb.webp?v=1714888371"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902820491363,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":31484354691171,"product_id":7413969223779,"position":8,"created_at":"2024-05-05T13:52:53+08:00","updated_at":"2024-05-05T13:52:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d86cbeb85c65c5436441883a893840dfef09d9_ee124fff-f2f4-4396-b263-008d9929e415.webp?v=1714888373","variant_ids":[41902820491363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 大自然的傑作(大堡礁) - 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":"MPB0122804-AF11","featured_media":{"alt":null,"id":23889648386147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d86cbeb85c65c5436441883a893840dfef09d9_ee124fff-f2f4-4396-b263-008d9929e415.webp?v=1714888373"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902820917347,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":31484355018851,"product_id":7413969223779,"position":9,"created_at":"2024-05-05T13:52:55+08:00","updated_at":"2024-05-05T13:52:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0029f8c974edbdb1399dfa64b1e513ea46fac035_834cc556-e2b4-42f1-92ab-84eec581b2fe.webp?v=1714888376","variant_ids":[41902820917347]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 大自然的傑作(大堡礁) - 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":"MPB01228J5-AF11","featured_media":{"alt":null,"id":23889648779363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0029f8c974edbdb1399dfa64b1e513ea46fac035_834cc556-e2b4-42f1-92ab-84eec581b2fe.webp?v=1714888376"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649b91178f9ea4596e8f11709205c74a236a5f8b_1eacea79-8070-4f98-a046-067ccaf7ccc2.webp?v=1714888356","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3273ad6a1166dcf88a96040557191f0f37f956c_7fb9c4e8-e774-4e3c-8ba5-5d8b8638f56b.webp?v=1714888359","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2545528c7fc5fb459edb0541abaad615c92b229_d15c6170-3bd1-4ed1-aa1a-5d51a12ce4d5.webp?v=1714888361","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa67290444fb17ed57f2c8c6a6fedf0f2633f5ab_f4e3ce39-63d9-48ce-b295-63a457fb71c5.webp?v=1714888363","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1f94fe644c3c8094f12b3c4f42d6dec9c57af4_627cae93-20d6-4e87-a27c-cbe7b6f2d247.webp?v=1714888366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21541b4dffbb955390faaf608f13876ee9bcab46_9c97510a-0fdf-4edc-abc5-f0d57612ace9.webp?v=1714888368","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a789cc5d6421eb076fe514d4122d14b4adeeb62_a59d1ed3-2108-45c3-be4b-6ea6d9a6a0bb.webp?v=1714888371","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d86cbeb85c65c5436441883a893840dfef09d9_ee124fff-f2f4-4396-b263-008d9929e415.webp?v=1714888373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0029f8c974edbdb1399dfa64b1e513ea46fac035_834cc556-e2b4-42f1-92ab-84eec581b2fe.webp?v=1714888376","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58c1af4a8a4d0efc3ecd70dc6556b3d91b48924_4ae3c5fd-a500-4837-8d66-9cafd9ced335.webp?v=1714888378"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649b91178f9ea4596e8f11709205c74a236a5f8b_1eacea79-8070-4f98-a046-067ccaf7ccc2.webp?v=1714888356","options":["color"],"media":[{"alt":null,"id":23889644879971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649b91178f9ea4596e8f11709205c74a236a5f8b_1eacea79-8070-4f98-a046-067ccaf7ccc2.webp?v=1714888356"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649b91178f9ea4596e8f11709205c74a236a5f8b_1eacea79-8070-4f98-a046-067ccaf7ccc2.webp?v=1714888356","width":2000},{"alt":null,"id":23889645437027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3273ad6a1166dcf88a96040557191f0f37f956c_7fb9c4e8-e774-4e3c-8ba5-5d8b8638f56b.webp?v=1714888359"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3273ad6a1166dcf88a96040557191f0f37f956c_7fb9c4e8-e774-4e3c-8ba5-5d8b8638f56b.webp?v=1714888359","width":2000},{"alt":null,"id":23889645797475,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2545528c7fc5fb459edb0541abaad615c92b229_d15c6170-3bd1-4ed1-aa1a-5d51a12ce4d5.webp?v=1714888361"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2545528c7fc5fb459edb0541abaad615c92b229_d15c6170-3bd1-4ed1-aa1a-5d51a12ce4d5.webp?v=1714888361","width":2000},{"alt":null,"id":23889646387299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa67290444fb17ed57f2c8c6a6fedf0f2633f5ab_f4e3ce39-63d9-48ce-b295-63a457fb71c5.webp?v=1714888363"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa67290444fb17ed57f2c8c6a6fedf0f2633f5ab_f4e3ce39-63d9-48ce-b295-63a457fb71c5.webp?v=1714888363","width":2000},{"alt":null,"id":23889646780515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1f94fe644c3c8094f12b3c4f42d6dec9c57af4_627cae93-20d6-4e87-a27c-cbe7b6f2d247.webp?v=1714888366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1f94fe644c3c8094f12b3c4f42d6dec9c57af4_627cae93-20d6-4e87-a27c-cbe7b6f2d247.webp?v=1714888366","width":2000},{"alt":null,"id":23889647337571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21541b4dffbb955390faaf608f13876ee9bcab46_9c97510a-0fdf-4edc-abc5-f0d57612ace9.webp?v=1714888368"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21541b4dffbb955390faaf608f13876ee9bcab46_9c97510a-0fdf-4edc-abc5-f0d57612ace9.webp?v=1714888368","width":2000},{"alt":null,"id":23889647861859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a789cc5d6421eb076fe514d4122d14b4adeeb62_a59d1ed3-2108-45c3-be4b-6ea6d9a6a0bb.webp?v=1714888371"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a789cc5d6421eb076fe514d4122d14b4adeeb62_a59d1ed3-2108-45c3-be4b-6ea6d9a6a0bb.webp?v=1714888371","width":2000},{"alt":null,"id":23889648386147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d86cbeb85c65c5436441883a893840dfef09d9_ee124fff-f2f4-4396-b263-008d9929e415.webp?v=1714888373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d86cbeb85c65c5436441883a893840dfef09d9_ee124fff-f2f4-4396-b263-008d9929e415.webp?v=1714888373","width":2000},{"alt":null,"id":23889648779363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0029f8c974edbdb1399dfa64b1e513ea46fac035_834cc556-e2b4-42f1-92ab-84eec581b2fe.webp?v=1714888376"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0029f8c974edbdb1399dfa64b1e513ea46fac035_834cc556-e2b4-42f1-92ab-84eec581b2fe.webp?v=1714888376","width":2000},{"alt":null,"id":23889649401955,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58c1af4a8a4d0efc3ecd70dc6556b3d91b48924_4ae3c5fd-a500-4837-8d66-9cafd9ced335.webp?v=1714888378"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58c1af4a8a4d0efc3ecd70dc6556b3d91b48924_4ae3c5fd-a500-4837-8d66-9cafd9ced335.webp?v=1714888378","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41902820327523,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":31484354134115,"product_id":7413969223779,"position":7,"created_at":"2024-05-05T13:52:51+08:00","updated_at":"2024-05-05T13:52:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a789cc5d6421eb076fe514d4122d14b4adeeb62_a59d1ed3-2108-45c3-be4b-6ea6d9a6a0bb.webp?v=1714888371","variant_ids":[41902820327523]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 大自然的傑作(大堡礁) - 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":"MPB0122824-AF11","featured_media":{"alt":null,"id":23889647861859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a789cc5d6421eb076fe514d4122d14b4adeeb62_a59d1ed3-2108-45c3-be4b-6ea6d9a6a0bb.webp?v=1714888371"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902820491363,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":31484354691171,"product_id":7413969223779,"position":8,"created_at":"2024-05-05T13:52:53+08:00","updated_at":"2024-05-05T13:52:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d86cbeb85c65c5436441883a893840dfef09d9_ee124fff-f2f4-4396-b263-008d9929e415.webp?v=1714888373","variant_ids":[41902820491363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 大自然的傑作(大堡礁) - 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":"MPB0122804-AF11","featured_media":{"alt":null,"id":23889648386147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d86cbeb85c65c5436441883a893840dfef09d9_ee124fff-f2f4-4396-b263-008d9929e415.webp?v=1714888373"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902820917347,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":31484355018851,"product_id":7413969223779,"position":9,"created_at":"2024-05-05T13:52:55+08:00","updated_at":"2024-05-05T13:52:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0029f8c974edbdb1399dfa64b1e513ea46fac035_834cc556-e2b4-42f1-92ab-84eec581b2fe.webp?v=1714888376","variant_ids":[41902820917347]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 大自然的傑作(大堡礁) - 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":"MPB01228J5-AF11","featured_media":{"alt":null,"id":23889648779363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0029f8c974edbdb1399dfa64b1e513ea46fac035_834cc556-e2b4-42f1-92ab-84eec581b2fe.webp?v=1714888376"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41902820327523,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":31484354134115,"product_id":7413969223779,"position":7,"created_at":"2024-05-05T13:52:51+08:00","updated_at":"2024-05-05T13:52:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a789cc5d6421eb076fe514d4122d14b4adeeb62_a59d1ed3-2108-45c3-be4b-6ea6d9a6a0bb.webp?v=1714888371","variant_ids":[41902820327523]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 大自然的傑作(大堡礁) - 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":"MPB0122824-AF11","featured_media":{"alt":null,"id":23889647861859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a789cc5d6421eb076fe514d4122d14b4adeeb62_a59d1ed3-2108-45c3-be4b-6ea6d9a6a0bb.webp?v=1714888371"}},"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: "停產" }