$product = {"id":7407886434403,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白","handle":"iphone-14-pro-mod-nx-printable-pb04","description":null,"published_at":"2024-06-11T16:25:36+08:00","created_at":"2024-05-03T11:09:34+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41880093491299,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470622343267,"product_id":7407886434403,"position":6,"created_at":"2024-05-03T11:09:49+08:00","updated_at":"2024-05-03T11:09:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dba91e31e947bcb8b342ade8ba00d534c54711_44bb920f-f504-46a4-a06a-ab030e67ffd5.webp?v=1714705789","variant_ids":[41880093491299]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-PB04","featured_media":{"alt":null,"id":23875526262883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dba91e31e947bcb8b342ade8ba00d534c54711_44bb920f-f504-46a4-a06a-ab030e67ffd5.webp?v=1714705789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880093556835,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470624145507,"product_id":7407886434403,"position":7,"created_at":"2024-05-03T11:09:51+08:00","updated_at":"2024-05-03T11:09:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4d6a3a861cd1a4809b8f090d1d4801ede5c0e9_3bcdc27e-2b5d-48c4-bcca-cc27fc90d11f.webp?v=1714705791","variant_ids":[41880093556835]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-PB04","featured_media":{"alt":null,"id":23875526656099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4d6a3a861cd1a4809b8f090d1d4801ede5c0e9_3bcdc27e-2b5d-48c4-bcca-cc27fc90d11f.webp?v=1714705791"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880093786211,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470621589603,"product_id":7407886434403,"position":4,"created_at":"2024-05-03T11:09:44+08:00","updated_at":"2024-05-03T11:09:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9724a4fd1675e39f990471a950b99325df9777f9_e0fb7cc2-77be-4edf-817f-03d483b91294.webp?v=1714705784","variant_ids":[41880093786211]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-PB04","featured_media":{"alt":null,"id":23875525509219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9724a4fd1675e39f990471a950b99325df9777f9_e0fb7cc2-77be-4edf-817f-03d483b91294.webp?v=1714705784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8626298bdb2e57124cb48c7c70baefb81f483ff_b8043844-33dd-4ce8-8194-ed764dc919de.webp?v=1714705777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04dae0faf002e6df506c2096e5e26059c755d60c_f4adbf75-8914-47ce-830e-380639c840d4.webp?v=1714705779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0a087afdd463569129a1a987908faba78b6f9e_4a3ff8d9-d915-45dd-89ec-8d8366e41d8f.webp?v=1714705782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9724a4fd1675e39f990471a950b99325df9777f9_e0fb7cc2-77be-4edf-817f-03d483b91294.webp?v=1714705784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cd6588166da830b5bfeb97539528bc7eed5aa0b_48d31255-591b-40c3-9742-c327a9e0579d.webp?v=1714705786","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dba91e31e947bcb8b342ade8ba00d534c54711_44bb920f-f504-46a4-a06a-ab030e67ffd5.webp?v=1714705789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4d6a3a861cd1a4809b8f090d1d4801ede5c0e9_3bcdc27e-2b5d-48c4-bcca-cc27fc90d11f.webp?v=1714705791","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/746a92bab838f19d0893dc8b5757c93395d5dc89_44be4804-b338-4530-af45-a30350e99b16.webp?v=1714705793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c99dd261a5dfd2a6ec5339531869795b1f45ae3_b14b2d21-2025-4952-b731-e9b25971dd94.webp?v=1714705795","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b47a45e8170b25382269b8864356dd9464562dc_4627828f-614f-4b3e-a6ff-3d8cb9265916.webp?v=1714705798"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8626298bdb2e57124cb48c7c70baefb81f483ff_b8043844-33dd-4ce8-8194-ed764dc919de.webp?v=1714705777","options":["color"],"media":[{"alt":null,"id":23875524132963,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8626298bdb2e57124cb48c7c70baefb81f483ff_b8043844-33dd-4ce8-8194-ed764dc919de.webp?v=1714705777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8626298bdb2e57124cb48c7c70baefb81f483ff_b8043844-33dd-4ce8-8194-ed764dc919de.webp?v=1714705777","width":2000},{"alt":null,"id":23875524722787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04dae0faf002e6df506c2096e5e26059c755d60c_f4adbf75-8914-47ce-830e-380639c840d4.webp?v=1714705779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04dae0faf002e6df506c2096e5e26059c755d60c_f4adbf75-8914-47ce-830e-380639c840d4.webp?v=1714705779","width":2000},{"alt":null,"id":23875525083235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0a087afdd463569129a1a987908faba78b6f9e_4a3ff8d9-d915-45dd-89ec-8d8366e41d8f.webp?v=1714705782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0a087afdd463569129a1a987908faba78b6f9e_4a3ff8d9-d915-45dd-89ec-8d8366e41d8f.webp?v=1714705782","width":2000},{"alt":null,"id":23875525509219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9724a4fd1675e39f990471a950b99325df9777f9_e0fb7cc2-77be-4edf-817f-03d483b91294.webp?v=1714705784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9724a4fd1675e39f990471a950b99325df9777f9_e0fb7cc2-77be-4edf-817f-03d483b91294.webp?v=1714705784","width":2000},{"alt":null,"id":23875525869667,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cd6588166da830b5bfeb97539528bc7eed5aa0b_48d31255-591b-40c3-9742-c327a9e0579d.webp?v=1714705786"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cd6588166da830b5bfeb97539528bc7eed5aa0b_48d31255-591b-40c3-9742-c327a9e0579d.webp?v=1714705786","width":2000},{"alt":null,"id":23875526262883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dba91e31e947bcb8b342ade8ba00d534c54711_44bb920f-f504-46a4-a06a-ab030e67ffd5.webp?v=1714705789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dba91e31e947bcb8b342ade8ba00d534c54711_44bb920f-f504-46a4-a06a-ab030e67ffd5.webp?v=1714705789","width":2000},{"alt":null,"id":23875526656099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4d6a3a861cd1a4809b8f090d1d4801ede5c0e9_3bcdc27e-2b5d-48c4-bcca-cc27fc90d11f.webp?v=1714705791"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4d6a3a861cd1a4809b8f090d1d4801ede5c0e9_3bcdc27e-2b5d-48c4-bcca-cc27fc90d11f.webp?v=1714705791","width":2000},{"alt":null,"id":23875528392803,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/746a92bab838f19d0893dc8b5757c93395d5dc89_44be4804-b338-4530-af45-a30350e99b16.webp?v=1714705793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/746a92bab838f19d0893dc8b5757c93395d5dc89_44be4804-b338-4530-af45-a30350e99b16.webp?v=1714705793","width":2000},{"alt":null,"id":23875528786019,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c99dd261a5dfd2a6ec5339531869795b1f45ae3_b14b2d21-2025-4952-b731-e9b25971dd94.webp?v=1714705795"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c99dd261a5dfd2a6ec5339531869795b1f45ae3_b14b2d21-2025-4952-b731-e9b25971dd94.webp?v=1714705795","width":2000},{"alt":null,"id":23875529048163,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b47a45e8170b25382269b8864356dd9464562dc_4627828f-614f-4b3e-a6ff-3d8cb9265916.webp?v=1714705798"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b47a45e8170b25382269b8864356dd9464562dc_4627828f-614f-4b3e-a6ff-3d8cb9265916.webp?v=1714705798","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880093491299,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470622343267,"product_id":7407886434403,"position":6,"created_at":"2024-05-03T11:09:49+08:00","updated_at":"2024-05-03T11:09:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dba91e31e947bcb8b342ade8ba00d534c54711_44bb920f-f504-46a4-a06a-ab030e67ffd5.webp?v=1714705789","variant_ids":[41880093491299]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-PB04","featured_media":{"alt":null,"id":23875526262883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dba91e31e947bcb8b342ade8ba00d534c54711_44bb920f-f504-46a4-a06a-ab030e67ffd5.webp?v=1714705789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880093556835,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470624145507,"product_id":7407886434403,"position":7,"created_at":"2024-05-03T11:09:51+08:00","updated_at":"2024-05-03T11:09:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4d6a3a861cd1a4809b8f090d1d4801ede5c0e9_3bcdc27e-2b5d-48c4-bcca-cc27fc90d11f.webp?v=1714705791","variant_ids":[41880093556835]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-PB04","featured_media":{"alt":null,"id":23875526656099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4d6a3a861cd1a4809b8f090d1d4801ede5c0e9_3bcdc27e-2b5d-48c4-bcca-cc27fc90d11f.webp?v=1714705791"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880093786211,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470621589603,"product_id":7407886434403,"position":4,"created_at":"2024-05-03T11:09:44+08:00","updated_at":"2024-05-03T11:09:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9724a4fd1675e39f990471a950b99325df9777f9_e0fb7cc2-77be-4edf-817f-03d483b91294.webp?v=1714705784","variant_ids":[41880093786211]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-PB04","featured_media":{"alt":null,"id":23875525509219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9724a4fd1675e39f990471a950b99325df9777f9_e0fb7cc2-77be-4edf-817f-03d483b91294.webp?v=1714705784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880093491299,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470622343267,"product_id":7407886434403,"position":6,"created_at":"2024-05-03T11:09:49+08:00","updated_at":"2024-05-03T11:09:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dba91e31e947bcb8b342ade8ba00d534c54711_44bb920f-f504-46a4-a06a-ab030e67ffd5.webp?v=1714705789","variant_ids":[41880093491299]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-PB04","featured_media":{"alt":null,"id":23875526262883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dba91e31e947bcb8b342ade8ba00d534c54711_44bb920f-f504-46a4-a06a-ab030e67ffd5.webp?v=1714705789"}},"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: "停產" }