$product = {"id":7414530211939,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 願傷疤 有天開出花(亞馬遜雨林)","handle":"iphone-13-mini-mod-nx-magsafe-printable-af01","description":null,"published_at":"2024-06-11T17:51:49+08:00","created_at":"2024-05-05T14:29:04+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":41907174211683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485706797155,"product_id":7414530211939,"position":10,"created_at":"2024-05-05T14:29:28+08:00","updated_at":"2024-05-05T14:29:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce8f73025bdf4e5aafeb8d90e61e735d5a03b159_d31af906-0a53-49c3-9d13-55f5a6ea2b93.webp?v=1714890568","variant_ids":[41907174211683]},"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-AF01","featured_media":{"alt":null,"id":23891027656803,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce8f73025bdf4e5aafeb8d90e61e735d5a03b159_d31af906-0a53-49c3-9d13-55f5a6ea2b93.webp?v=1714890568"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907174277219,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-AF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485702307939,"product_id":7414530211939,"position":8,"created_at":"2024-05-05T14:29:23+08:00","updated_at":"2024-05-05T14:29:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/178c6c25134089ec9021146903e57a93a8703af1_a21081a4-e7c2-4620-8029-fdef106ddc24.webp?v=1714890563","variant_ids":[41907174277219]},"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-AF01","featured_media":{"alt":null,"id":23891023233123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/178c6c25134089ec9021146903e57a93a8703af1_a21081a4-e7c2-4620-8029-fdef106ddc24.webp?v=1714890563"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907174506595,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-AF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485691986019,"product_id":7414530211939,"position":4,"created_at":"2024-05-05T14:29:14+08:00","updated_at":"2024-05-05T14:29:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a260b78d61694bfe304eb47d076cb5c319341a_32821ee7-5de1-4c29-8381-d3e8c4c9302f.webp?v=1714890554","variant_ids":[41907174506595]},"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-AF01","featured_media":{"alt":null,"id":23891011829859,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a260b78d61694bfe304eb47d076cb5c319341a_32821ee7-5de1-4c29-8381-d3e8c4c9302f.webp?v=1714890554"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fa99ee77e37eb682e73b6dcdba61b6cec5ead35_901c6a9a-7761-4b1e-b546-b843e2e32dcc.webp?v=1714890546","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36ca1d1bd6e21df040d788622451241f3662eb08_bf38b87c-77f0-4cab-a866-25df845d4c46.webp?v=1714890549","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2500b2ca0d7bd2ca46a74c518ad1b67e697ca498_08ba542c-140a-47d1-bba6-c3c8c757f9ff.webp?v=1714890551","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a260b78d61694bfe304eb47d076cb5c319341a_32821ee7-5de1-4c29-8381-d3e8c4c9302f.webp?v=1714890554","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e56a2509058a989673f9b46b469e61b78d49dbc_5fe120a0-2e91-48a5-a4ea-920b8361769d.webp?v=1714890556","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96a59937746f0542148de73e6382af54ee72552e_e431d17f-e339-41a7-8f2c-3f5a27781b31.webp?v=1714890558","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f15bb97ea097c6bf13be942a6f258a6d0a6babb7_87c120c1-399e-4ece-a89b-fea5d9df0c68.webp?v=1714890561","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/178c6c25134089ec9021146903e57a93a8703af1_a21081a4-e7c2-4620-8029-fdef106ddc24.webp?v=1714890563","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8d25266b96d94f2c94c2ffdc2ab53e0c8dae1f5_134c8f88-626f-4cc4-8949-edad4e6595b7.webp?v=1714890566","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce8f73025bdf4e5aafeb8d90e61e735d5a03b159_d31af906-0a53-49c3-9d13-55f5a6ea2b93.webp?v=1714890568"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fa99ee77e37eb682e73b6dcdba61b6cec5ead35_901c6a9a-7761-4b1e-b546-b843e2e32dcc.webp?v=1714890546","options":["color"],"media":[{"alt":null,"id":23891003670627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fa99ee77e37eb682e73b6dcdba61b6cec5ead35_901c6a9a-7761-4b1e-b546-b843e2e32dcc.webp?v=1714890546"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fa99ee77e37eb682e73b6dcdba61b6cec5ead35_901c6a9a-7761-4b1e-b546-b843e2e32dcc.webp?v=1714890546","width":2000},{"alt":null,"id":23891006292067,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36ca1d1bd6e21df040d788622451241f3662eb08_bf38b87c-77f0-4cab-a866-25df845d4c46.webp?v=1714890549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36ca1d1bd6e21df040d788622451241f3662eb08_bf38b87c-77f0-4cab-a866-25df845d4c46.webp?v=1714890549","width":2000},{"alt":null,"id":23891009044579,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2500b2ca0d7bd2ca46a74c518ad1b67e697ca498_08ba542c-140a-47d1-bba6-c3c8c757f9ff.webp?v=1714890551"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2500b2ca0d7bd2ca46a74c518ad1b67e697ca498_08ba542c-140a-47d1-bba6-c3c8c757f9ff.webp?v=1714890551","width":2000},{"alt":null,"id":23891011829859,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a260b78d61694bfe304eb47d076cb5c319341a_32821ee7-5de1-4c29-8381-d3e8c4c9302f.webp?v=1714890554"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a260b78d61694bfe304eb47d076cb5c319341a_32821ee7-5de1-4c29-8381-d3e8c4c9302f.webp?v=1714890554","width":2000},{"alt":null,"id":23891014713443,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e56a2509058a989673f9b46b469e61b78d49dbc_5fe120a0-2e91-48a5-a4ea-920b8361769d.webp?v=1714890556"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e56a2509058a989673f9b46b469e61b78d49dbc_5fe120a0-2e91-48a5-a4ea-920b8361769d.webp?v=1714890556","width":2000},{"alt":null,"id":23891017433187,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96a59937746f0542148de73e6382af54ee72552e_e431d17f-e339-41a7-8f2c-3f5a27781b31.webp?v=1714890558"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96a59937746f0542148de73e6382af54ee72552e_e431d17f-e339-41a7-8f2c-3f5a27781b31.webp?v=1714890558","width":2000},{"alt":null,"id":23891020251235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f15bb97ea097c6bf13be942a6f258a6d0a6babb7_87c120c1-399e-4ece-a89b-fea5d9df0c68.webp?v=1714890561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f15bb97ea097c6bf13be942a6f258a6d0a6babb7_87c120c1-399e-4ece-a89b-fea5d9df0c68.webp?v=1714890561","width":2000},{"alt":null,"id":23891023233123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/178c6c25134089ec9021146903e57a93a8703af1_a21081a4-e7c2-4620-8029-fdef106ddc24.webp?v=1714890563"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/178c6c25134089ec9021146903e57a93a8703af1_a21081a4-e7c2-4620-8029-fdef106ddc24.webp?v=1714890563","width":2000},{"alt":null,"id":23891025526883,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8d25266b96d94f2c94c2ffdc2ab53e0c8dae1f5_134c8f88-626f-4cc4-8949-edad4e6595b7.webp?v=1714890566"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8d25266b96d94f2c94c2ffdc2ab53e0c8dae1f5_134c8f88-626f-4cc4-8949-edad4e6595b7.webp?v=1714890566","width":2000},{"alt":null,"id":23891027656803,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce8f73025bdf4e5aafeb8d90e61e735d5a03b159_d31af906-0a53-49c3-9d13-55f5a6ea2b93.webp?v=1714890568"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce8f73025bdf4e5aafeb8d90e61e735d5a03b159_d31af906-0a53-49c3-9d13-55f5a6ea2b93.webp?v=1714890568","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41907174211683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485706797155,"product_id":7414530211939,"position":10,"created_at":"2024-05-05T14:29:28+08:00","updated_at":"2024-05-05T14:29:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce8f73025bdf4e5aafeb8d90e61e735d5a03b159_d31af906-0a53-49c3-9d13-55f5a6ea2b93.webp?v=1714890568","variant_ids":[41907174211683]},"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-AF01","featured_media":{"alt":null,"id":23891027656803,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce8f73025bdf4e5aafeb8d90e61e735d5a03b159_d31af906-0a53-49c3-9d13-55f5a6ea2b93.webp?v=1714890568"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907174277219,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-AF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485702307939,"product_id":7414530211939,"position":8,"created_at":"2024-05-05T14:29:23+08:00","updated_at":"2024-05-05T14:29:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/178c6c25134089ec9021146903e57a93a8703af1_a21081a4-e7c2-4620-8029-fdef106ddc24.webp?v=1714890563","variant_ids":[41907174277219]},"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-AF01","featured_media":{"alt":null,"id":23891023233123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/178c6c25134089ec9021146903e57a93a8703af1_a21081a4-e7c2-4620-8029-fdef106ddc24.webp?v=1714890563"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907174506595,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-AF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485691986019,"product_id":7414530211939,"position":4,"created_at":"2024-05-05T14:29:14+08:00","updated_at":"2024-05-05T14:29:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a260b78d61694bfe304eb47d076cb5c319341a_32821ee7-5de1-4c29-8381-d3e8c4c9302f.webp?v=1714890554","variant_ids":[41907174506595]},"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-AF01","featured_media":{"alt":null,"id":23891011829859,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a260b78d61694bfe304eb47d076cb5c319341a_32821ee7-5de1-4c29-8381-d3e8c4c9302f.webp?v=1714890554"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41907174211683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485706797155,"product_id":7414530211939,"position":10,"created_at":"2024-05-05T14:29:28+08:00","updated_at":"2024-05-05T14:29:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce8f73025bdf4e5aafeb8d90e61e735d5a03b159_d31af906-0a53-49c3-9d13-55f5a6ea2b93.webp?v=1714890568","variant_ids":[41907174211683]},"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-AF01","featured_media":{"alt":null,"id":23891027656803,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce8f73025bdf4e5aafeb8d90e61e735d5a03b159_d31af906-0a53-49c3-9d13-55f5a6ea2b93.webp?v=1714890568"}},"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: "停產" }