$product = {"id":7414137716835,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 1G - 生日帽","handle":"iphone-13-mini-mod-nx-magsafe-printable-iv01","description":null,"published_at":"2024-06-11T17:49:21+08:00","created_at":"2024-05-05T14:12:30+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區1G","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-1chun","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":41904374841443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484756721763,"product_id":7414137716835,"position":2,"created_at":"2024-05-05T14:12:35+08:00","updated_at":"2024-05-05T14:12:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba6b9a9efde8306c63b13befd13b45705741678b_a4aa6a0c-f938-46c3-a80b-98497d2741bf.webp?v=1714889555","variant_ids":[41904374841443]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 1G - 生日帽 - 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-IV01","featured_media":{"alt":null,"id":23890052382819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba6b9a9efde8306c63b13befd13b45705741678b_a4aa6a0c-f938-46c3-a80b-98497d2741bf.webp?v=1714889555"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904374906979,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484758556771,"product_id":7414137716835,"position":3,"created_at":"2024-05-05T14:12:37+08:00","updated_at":"2024-05-05T14:12:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3b1ec21abe5972a4581bb2f685a7ccfd36c4ac_aa5848f0-57cf-435d-a52a-e90fe81b9a5e.webp?v=1714889557","variant_ids":[41904374906979]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 1G - 生日帽 - 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-IV01","featured_media":{"alt":null,"id":23890054185059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3b1ec21abe5972a4581bb2f685a7ccfd36c4ac_aa5848f0-57cf-435d-a52a-e90fe81b9a5e.webp?v=1714889557"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904375234659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484768911459,"product_id":7414137716835,"position":9,"created_at":"2024-05-05T14:12:51+08:00","updated_at":"2024-05-05T14:12:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38defea3ce4cd7dbc1ae9147cc0ada6427ca0d63_eb0e1336-d5ff-46a1-8135-aba4feaa7de9.webp?v=1714889571","variant_ids":[41904375234659]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 1G - 生日帽 - 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-IV01","featured_media":{"alt":null,"id":23890064408675,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38defea3ce4cd7dbc1ae9147cc0ada6427ca0d63_eb0e1336-d5ff-46a1-8135-aba4feaa7de9.webp?v=1714889571"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5e5049b2d38546b1872458023c400dbf86b7905_e147731b-c6b0-4269-8637-91e4212e850b.webp?v=1714889553","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba6b9a9efde8306c63b13befd13b45705741678b_a4aa6a0c-f938-46c3-a80b-98497d2741bf.webp?v=1714889555","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3b1ec21abe5972a4581bb2f685a7ccfd36c4ac_aa5848f0-57cf-435d-a52a-e90fe81b9a5e.webp?v=1714889557","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27998ec9a82be70ceaed62339036343623185441_d620801c-4742-4e65-bc9a-3e78913bce57.webp?v=1714889560","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f49c1877b94943dc0672d0a4fb60e712ddec5a5e_f1b4cbe8-e0a3-4878-aad9-83dfb51e9c28.webp?v=1714889562","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5862f18b078982fe5720ae0e920b89235a90c571_64dd62c1-0954-4816-a83f-b8381b4c557e.webp?v=1714889564","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd2773db1831455f51bdb8374ddcd5e408b287d2_cc63a683-e6c2-4ffe-94c1-c4fdbd32d03c.webp?v=1714889566","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e4137eb653209044ca8e3e4aae0e4784ac42621_fc081da8-12b2-4f0b-98aa-0bcb422d8554.webp?v=1714889569","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38defea3ce4cd7dbc1ae9147cc0ada6427ca0d63_eb0e1336-d5ff-46a1-8135-aba4feaa7de9.webp?v=1714889571","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbc047c069811194e7f7e9758d7b24f6f7190f8d_5d0f72ca-affd-4a6e-9c10-3d7f52e764de.webp?v=1714889573"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5e5049b2d38546b1872458023c400dbf86b7905_e147731b-c6b0-4269-8637-91e4212e850b.webp?v=1714889553","options":["color"],"media":[{"alt":null,"id":23890050351203,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5e5049b2d38546b1872458023c400dbf86b7905_e147731b-c6b0-4269-8637-91e4212e850b.webp?v=1714889553"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5e5049b2d38546b1872458023c400dbf86b7905_e147731b-c6b0-4269-8637-91e4212e850b.webp?v=1714889553","width":2000},{"alt":null,"id":23890052382819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba6b9a9efde8306c63b13befd13b45705741678b_a4aa6a0c-f938-46c3-a80b-98497d2741bf.webp?v=1714889555"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba6b9a9efde8306c63b13befd13b45705741678b_a4aa6a0c-f938-46c3-a80b-98497d2741bf.webp?v=1714889555","width":2000},{"alt":null,"id":23890054185059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3b1ec21abe5972a4581bb2f685a7ccfd36c4ac_aa5848f0-57cf-435d-a52a-e90fe81b9a5e.webp?v=1714889557"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3b1ec21abe5972a4581bb2f685a7ccfd36c4ac_aa5848f0-57cf-435d-a52a-e90fe81b9a5e.webp?v=1714889557","width":2000},{"alt":null,"id":23890056052835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27998ec9a82be70ceaed62339036343623185441_d620801c-4742-4e65-bc9a-3e78913bce57.webp?v=1714889560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27998ec9a82be70ceaed62339036343623185441_d620801c-4742-4e65-bc9a-3e78913bce57.webp?v=1714889560","width":2000},{"alt":null,"id":23890057592931,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f49c1877b94943dc0672d0a4fb60e712ddec5a5e_f1b4cbe8-e0a3-4878-aad9-83dfb51e9c28.webp?v=1714889562"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f49c1877b94943dc0672d0a4fb60e712ddec5a5e_f1b4cbe8-e0a3-4878-aad9-83dfb51e9c28.webp?v=1714889562","width":2000},{"alt":null,"id":23890059591779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5862f18b078982fe5720ae0e920b89235a90c571_64dd62c1-0954-4816-a83f-b8381b4c557e.webp?v=1714889564"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5862f18b078982fe5720ae0e920b89235a90c571_64dd62c1-0954-4816-a83f-b8381b4c557e.webp?v=1714889564","width":2000},{"alt":null,"id":23890061131875,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd2773db1831455f51bdb8374ddcd5e408b287d2_cc63a683-e6c2-4ffe-94c1-c4fdbd32d03c.webp?v=1714889566"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd2773db1831455f51bdb8374ddcd5e408b287d2_cc63a683-e6c2-4ffe-94c1-c4fdbd32d03c.webp?v=1714889566","width":2000},{"alt":null,"id":23890062671971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e4137eb653209044ca8e3e4aae0e4784ac42621_fc081da8-12b2-4f0b-98aa-0bcb422d8554.webp?v=1714889569"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e4137eb653209044ca8e3e4aae0e4784ac42621_fc081da8-12b2-4f0b-98aa-0bcb422d8554.webp?v=1714889569","width":2000},{"alt":null,"id":23890064408675,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38defea3ce4cd7dbc1ae9147cc0ada6427ca0d63_eb0e1336-d5ff-46a1-8135-aba4feaa7de9.webp?v=1714889571"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38defea3ce4cd7dbc1ae9147cc0ada6427ca0d63_eb0e1336-d5ff-46a1-8135-aba4feaa7de9.webp?v=1714889571","width":2000},{"alt":null,"id":23890065686627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbc047c069811194e7f7e9758d7b24f6f7190f8d_5d0f72ca-affd-4a6e-9c10-3d7f52e764de.webp?v=1714889573"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbc047c069811194e7f7e9758d7b24f6f7190f8d_5d0f72ca-affd-4a6e-9c10-3d7f52e764de.webp?v=1714889573","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41904374841443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484756721763,"product_id":7414137716835,"position":2,"created_at":"2024-05-05T14:12:35+08:00","updated_at":"2024-05-05T14:12:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba6b9a9efde8306c63b13befd13b45705741678b_a4aa6a0c-f938-46c3-a80b-98497d2741bf.webp?v=1714889555","variant_ids":[41904374841443]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 1G - 生日帽 - 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-IV01","featured_media":{"alt":null,"id":23890052382819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba6b9a9efde8306c63b13befd13b45705741678b_a4aa6a0c-f938-46c3-a80b-98497d2741bf.webp?v=1714889555"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904374906979,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484758556771,"product_id":7414137716835,"position":3,"created_at":"2024-05-05T14:12:37+08:00","updated_at":"2024-05-05T14:12:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3b1ec21abe5972a4581bb2f685a7ccfd36c4ac_aa5848f0-57cf-435d-a52a-e90fe81b9a5e.webp?v=1714889557","variant_ids":[41904374906979]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 1G - 生日帽 - 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-IV01","featured_media":{"alt":null,"id":23890054185059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3b1ec21abe5972a4581bb2f685a7ccfd36c4ac_aa5848f0-57cf-435d-a52a-e90fe81b9a5e.webp?v=1714889557"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904375234659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484768911459,"product_id":7414137716835,"position":9,"created_at":"2024-05-05T14:12:51+08:00","updated_at":"2024-05-05T14:12:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38defea3ce4cd7dbc1ae9147cc0ada6427ca0d63_eb0e1336-d5ff-46a1-8135-aba4feaa7de9.webp?v=1714889571","variant_ids":[41904375234659]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 1G - 生日帽 - 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-IV01","featured_media":{"alt":null,"id":23890064408675,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38defea3ce4cd7dbc1ae9147cc0ada6427ca0d63_eb0e1336-d5ff-46a1-8135-aba4feaa7de9.webp?v=1714889571"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41904374841443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484756721763,"product_id":7414137716835,"position":2,"created_at":"2024-05-05T14:12:35+08:00","updated_at":"2024-05-05T14:12:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba6b9a9efde8306c63b13befd13b45705741678b_a4aa6a0c-f938-46c3-a80b-98497d2741bf.webp?v=1714889555","variant_ids":[41904374841443]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 1G - 生日帽 - 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-IV01","featured_media":{"alt":null,"id":23890052382819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba6b9a9efde8306c63b13befd13b45705741678b_a4aa6a0c-f938-46c3-a80b-98497d2741bf.webp?v=1714889555"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }