$product = {"id":7414064611427,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI","handle":"iphone-13-mini-mod-nx-magsafe-printable-pb25","description":null,"published_at":"2024-06-11T17:48:39+08:00","created_at":"2024-05-05T14:07:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","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":41903845703779,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31484604252259,"product_id":7414064611427,"position":10,"created_at":"2024-05-05T14:08:11+08:00","updated_at":"2024-05-05T14:08:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dad69a1a23b10114e53e25c6d944aab765e2a4af_eba5e827-1516-4377-9c86-44448c76dffc.webp?v=1714889291","variant_ids":[41903845703779]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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":"MPB0122824-PB25","featured_media":{"alt":null,"id":23889899683939,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dad69a1a23b10114e53e25c6d944aab765e2a4af_eba5e827-1516-4377-9c86-44448c76dffc.webp?v=1714889291"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903845802083,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31484597796963,"product_id":7414064611427,"position":6,"created_at":"2024-05-05T14:08:01+08:00","updated_at":"2024-05-05T14:08:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/548e9a1bbffd8ba63d27947166036c716fc699ef_8ae2b2de-607d-478b-9e79-d33f67e45308.webp?v=1714889281","variant_ids":[41903845802083]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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":"MPB0122804-PB25","featured_media":{"alt":null,"id":23889893032035,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/548e9a1bbffd8ba63d27947166036c716fc699ef_8ae2b2de-607d-478b-9e79-d33f67e45308.webp?v=1714889281"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903846129763,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31484594192483,"product_id":7414064611427,"position":4,"created_at":"2024-05-05T14:07:55+08:00","updated_at":"2024-05-05T14:07:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d3f58562842e0efcdb4d7f390bfb3a1686ef6fc_63a04e70-5671-443e-a313-3a764032a3af.webp?v=1714889275","variant_ids":[41903846129763]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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":"MPB01228J5-PB25","featured_media":{"alt":null,"id":23889889689699,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d3f58562842e0efcdb4d7f390bfb3a1686ef6fc_63a04e70-5671-443e-a313-3a764032a3af.webp?v=1714889275"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73e0c73bb53ae88e5c0a0827251338619e2ed952_3d49671e-df5d-4a31-b9db-29c241c78bf3.webp?v=1714889268","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d46d8cbe51210c57ef989ad50d18216aaa407a5_8122b14e-4c65-43d3-9ec6-e50c5954a91f.webp?v=1714889270","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aeb2fc0d3de55ba2dcdd145361f6c8c191e4967_667bb240-2779-4668-80c4-03b5341a0817.webp?v=1714889273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d3f58562842e0efcdb4d7f390bfb3a1686ef6fc_63a04e70-5671-443e-a313-3a764032a3af.webp?v=1714889275","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0dc2e4f3f0131cc8378db53554e2ec8a4160a65_8187dbbf-a44c-4169-99d0-05a77fafa5a9.webp?v=1714889278","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/548e9a1bbffd8ba63d27947166036c716fc699ef_8ae2b2de-607d-478b-9e79-d33f67e45308.webp?v=1714889281","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c16996fe7b5ab0931cc3d25c1dfc2f0a04098a6e_e192e0db-ef17-470a-9007-865f29fea0df.webp?v=1714889283","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7c70cb887e5b8b56d527059e3e37e782775a277_be005c12-463a-4d7b-bc3f-e121d857cf0d.webp?v=1714889286","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0903a43c9779bccb914e024738109357fe9d809_5e8bee9b-8016-42d8-8e35-f90e36822651.webp?v=1714889288","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dad69a1a23b10114e53e25c6d944aab765e2a4af_eba5e827-1516-4377-9c86-44448c76dffc.webp?v=1714889291"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73e0c73bb53ae88e5c0a0827251338619e2ed952_3d49671e-df5d-4a31-b9db-29c241c78bf3.webp?v=1714889268","options":["color"],"media":[{"alt":null,"id":23889884446819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73e0c73bb53ae88e5c0a0827251338619e2ed952_3d49671e-df5d-4a31-b9db-29c241c78bf3.webp?v=1714889268"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73e0c73bb53ae88e5c0a0827251338619e2ed952_3d49671e-df5d-4a31-b9db-29c241c78bf3.webp?v=1714889268","width":2000},{"alt":null,"id":23889886314595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d46d8cbe51210c57ef989ad50d18216aaa407a5_8122b14e-4c65-43d3-9ec6-e50c5954a91f.webp?v=1714889270"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d46d8cbe51210c57ef989ad50d18216aaa407a5_8122b14e-4c65-43d3-9ec6-e50c5954a91f.webp?v=1714889270","width":2000},{"alt":null,"id":23889887854691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aeb2fc0d3de55ba2dcdd145361f6c8c191e4967_667bb240-2779-4668-80c4-03b5341a0817.webp?v=1714889273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aeb2fc0d3de55ba2dcdd145361f6c8c191e4967_667bb240-2779-4668-80c4-03b5341a0817.webp?v=1714889273","width":2000},{"alt":null,"id":23889889689699,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d3f58562842e0efcdb4d7f390bfb3a1686ef6fc_63a04e70-5671-443e-a313-3a764032a3af.webp?v=1714889275"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d3f58562842e0efcdb4d7f390bfb3a1686ef6fc_63a04e70-5671-443e-a313-3a764032a3af.webp?v=1714889275","width":2000},{"alt":null,"id":23889891328099,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0dc2e4f3f0131cc8378db53554e2ec8a4160a65_8187dbbf-a44c-4169-99d0-05a77fafa5a9.webp?v=1714889278"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0dc2e4f3f0131cc8378db53554e2ec8a4160a65_8187dbbf-a44c-4169-99d0-05a77fafa5a9.webp?v=1714889278","width":2000},{"alt":null,"id":23889893032035,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/548e9a1bbffd8ba63d27947166036c716fc699ef_8ae2b2de-607d-478b-9e79-d33f67e45308.webp?v=1714889281"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/548e9a1bbffd8ba63d27947166036c716fc699ef_8ae2b2de-607d-478b-9e79-d33f67e45308.webp?v=1714889281","width":2000},{"alt":null,"id":23889894539363,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c16996fe7b5ab0931cc3d25c1dfc2f0a04098a6e_e192e0db-ef17-470a-9007-865f29fea0df.webp?v=1714889283"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c16996fe7b5ab0931cc3d25c1dfc2f0a04098a6e_e192e0db-ef17-470a-9007-865f29fea0df.webp?v=1714889283","width":2000},{"alt":null,"id":23889896308835,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7c70cb887e5b8b56d527059e3e37e782775a277_be005c12-463a-4d7b-bc3f-e121d857cf0d.webp?v=1714889286"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7c70cb887e5b8b56d527059e3e37e782775a277_be005c12-463a-4d7b-bc3f-e121d857cf0d.webp?v=1714889286","width":2000},{"alt":null,"id":23889897881699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0903a43c9779bccb914e024738109357fe9d809_5e8bee9b-8016-42d8-8e35-f90e36822651.webp?v=1714889288"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0903a43c9779bccb914e024738109357fe9d809_5e8bee9b-8016-42d8-8e35-f90e36822651.webp?v=1714889288","width":2000},{"alt":null,"id":23889899683939,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dad69a1a23b10114e53e25c6d944aab765e2a4af_eba5e827-1516-4377-9c86-44448c76dffc.webp?v=1714889291"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dad69a1a23b10114e53e25c6d944aab765e2a4af_eba5e827-1516-4377-9c86-44448c76dffc.webp?v=1714889291","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41903845703779,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31484604252259,"product_id":7414064611427,"position":10,"created_at":"2024-05-05T14:08:11+08:00","updated_at":"2024-05-05T14:08:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dad69a1a23b10114e53e25c6d944aab765e2a4af_eba5e827-1516-4377-9c86-44448c76dffc.webp?v=1714889291","variant_ids":[41903845703779]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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":"MPB0122824-PB25","featured_media":{"alt":null,"id":23889899683939,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dad69a1a23b10114e53e25c6d944aab765e2a4af_eba5e827-1516-4377-9c86-44448c76dffc.webp?v=1714889291"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903845802083,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31484597796963,"product_id":7414064611427,"position":6,"created_at":"2024-05-05T14:08:01+08:00","updated_at":"2024-05-05T14:08:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/548e9a1bbffd8ba63d27947166036c716fc699ef_8ae2b2de-607d-478b-9e79-d33f67e45308.webp?v=1714889281","variant_ids":[41903845802083]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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":"MPB0122804-PB25","featured_media":{"alt":null,"id":23889893032035,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/548e9a1bbffd8ba63d27947166036c716fc699ef_8ae2b2de-607d-478b-9e79-d33f67e45308.webp?v=1714889281"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903846129763,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31484594192483,"product_id":7414064611427,"position":4,"created_at":"2024-05-05T14:07:55+08:00","updated_at":"2024-05-05T14:07:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d3f58562842e0efcdb4d7f390bfb3a1686ef6fc_63a04e70-5671-443e-a313-3a764032a3af.webp?v=1714889275","variant_ids":[41903846129763]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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":"MPB01228J5-PB25","featured_media":{"alt":null,"id":23889889689699,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d3f58562842e0efcdb4d7f390bfb3a1686ef6fc_63a04e70-5671-443e-a313-3a764032a3af.webp?v=1714889275"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41903845703779,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB25","requires_shipping":true,"taxable":true,"featured_image":{"id":31484604252259,"product_id":7414064611427,"position":10,"created_at":"2024-05-05T14:08:11+08:00","updated_at":"2024-05-05T14:08:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dad69a1a23b10114e53e25c6d944aab765e2a4af_eba5e827-1516-4377-9c86-44448c76dffc.webp?v=1714889291","variant_ids":[41903845703779]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - POP X戰機 X-WI - 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":"MPB0122824-PB25","featured_media":{"alt":null,"id":23889899683939,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dad69a1a23b10114e53e25c6d944aab765e2a4af_eba5e827-1516-4377-9c86-44448c76dffc.webp?v=1714889291"}},"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: "停產" }