$product = {"id":7407873687651,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy","handle":"iphone-14-pro-mod-nx-printable-pb59","description":null,"published_at":"2024-06-11T16:25:15+08:00","created_at":"2024-05-03T11:07:02+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":41879922802787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31470587773027,"product_id":7407873687651,"position":3,"created_at":"2024-05-03T11:07:10+08:00","updated_at":"2024-05-03T11:07:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4c0ecf7171e2ff45b9341548a59203e0943a6d_a3bd0cba-a37a-46e5-80aa-573cc4646bd8.webp?v=1714705630","variant_ids":[41879922802787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875491627107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4c0ecf7171e2ff45b9341548a59203e0943a6d_a3bd0cba-a37a-46e5-80aa-573cc4646bd8.webp?v=1714705630"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879922868323,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31470590460003,"product_id":7407873687651,"position":9,"created_at":"2024-05-03T11:07:24+08:00","updated_at":"2024-05-03T11:07:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14eb0f7f651abbce62b77e170be83e218eaf5afc_42f2c266-929f-42a6-9cbe-8fb402e9258c.webp?v=1714705644","variant_ids":[41879922868323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875494314083,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14eb0f7f651abbce62b77e170be83e218eaf5afc_42f2c266-929f-42a6-9cbe-8fb402e9258c.webp?v=1714705644"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879923097699,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31470587379811,"product_id":7407873687651,"position":2,"created_at":"2024-05-03T11:07:07+08:00","updated_at":"2024-05-03T11:07:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e73d61e65696ea7e1620d20d43233066eba66925_1b079382-97fd-4ccd-afd5-080d368854b5.webp?v=1714705627","variant_ids":[41879923097699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875491233891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e73d61e65696ea7e1620d20d43233066eba66925_1b079382-97fd-4ccd-afd5-080d368854b5.webp?v=1714705627"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b57e9d8c3961fea239bb72466dce480dc6b206c_c23ae839-78e4-490c-a85a-bab0446f4757.webp?v=1714705625","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e73d61e65696ea7e1620d20d43233066eba66925_1b079382-97fd-4ccd-afd5-080d368854b5.webp?v=1714705627","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4c0ecf7171e2ff45b9341548a59203e0943a6d_a3bd0cba-a37a-46e5-80aa-573cc4646bd8.webp?v=1714705630","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fedca8160a4ddcbf93d5276d84dd85f6db1aed9_3134369b-9b66-4ac1-904c-a7ee46011d29.webp?v=1714705632","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cc7f86887e066fa407cc07333419e0c05a11771_da9cda9d-2840-455d-85a3-0952e1f09411.webp?v=1714705634","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb7c6931570dadcb9fd9cd845f402698ad8f8c84_98e66ee0-6f34-4f48-aeec-9bc4c0e883a0.webp?v=1714705637","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6e8ef766128fef8d9822290a54d94db0a9e37b6_fec7e295-6423-41c1-99d6-a396976b98c6.webp?v=1714705639","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52e97ff51aa17d7dc11b9267a9194774a6115a83_e210c72e-1a17-455f-8afe-483240160b6e.webp?v=1714705642","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14eb0f7f651abbce62b77e170be83e218eaf5afc_42f2c266-929f-42a6-9cbe-8fb402e9258c.webp?v=1714705644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5b4981c109100a32fc30403de0588b005ca478c_1c48ca45-3d3b-487c-95e2-02861e96b59c.webp?v=1714705646"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b57e9d8c3961fea239bb72466dce480dc6b206c_c23ae839-78e4-490c-a85a-bab0446f4757.webp?v=1714705625","options":["color"],"media":[{"alt":null,"id":23875490840675,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b57e9d8c3961fea239bb72466dce480dc6b206c_c23ae839-78e4-490c-a85a-bab0446f4757.webp?v=1714705625"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b57e9d8c3961fea239bb72466dce480dc6b206c_c23ae839-78e4-490c-a85a-bab0446f4757.webp?v=1714705625","width":2000},{"alt":null,"id":23875491233891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e73d61e65696ea7e1620d20d43233066eba66925_1b079382-97fd-4ccd-afd5-080d368854b5.webp?v=1714705627"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e73d61e65696ea7e1620d20d43233066eba66925_1b079382-97fd-4ccd-afd5-080d368854b5.webp?v=1714705627","width":2000},{"alt":null,"id":23875491627107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4c0ecf7171e2ff45b9341548a59203e0943a6d_a3bd0cba-a37a-46e5-80aa-573cc4646bd8.webp?v=1714705630"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4c0ecf7171e2ff45b9341548a59203e0943a6d_a3bd0cba-a37a-46e5-80aa-573cc4646bd8.webp?v=1714705630","width":2000},{"alt":null,"id":23875492053091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fedca8160a4ddcbf93d5276d84dd85f6db1aed9_3134369b-9b66-4ac1-904c-a7ee46011d29.webp?v=1714705632"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fedca8160a4ddcbf93d5276d84dd85f6db1aed9_3134369b-9b66-4ac1-904c-a7ee46011d29.webp?v=1714705632","width":2000},{"alt":null,"id":23875492446307,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cc7f86887e066fa407cc07333419e0c05a11771_da9cda9d-2840-455d-85a3-0952e1f09411.webp?v=1714705634"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cc7f86887e066fa407cc07333419e0c05a11771_da9cda9d-2840-455d-85a3-0952e1f09411.webp?v=1714705634","width":2000},{"alt":null,"id":23875492872291,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb7c6931570dadcb9fd9cd845f402698ad8f8c84_98e66ee0-6f34-4f48-aeec-9bc4c0e883a0.webp?v=1714705637"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb7c6931570dadcb9fd9cd845f402698ad8f8c84_98e66ee0-6f34-4f48-aeec-9bc4c0e883a0.webp?v=1714705637","width":2000},{"alt":null,"id":23875493331043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6e8ef766128fef8d9822290a54d94db0a9e37b6_fec7e295-6423-41c1-99d6-a396976b98c6.webp?v=1714705639"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6e8ef766128fef8d9822290a54d94db0a9e37b6_fec7e295-6423-41c1-99d6-a396976b98c6.webp?v=1714705639","width":2000},{"alt":null,"id":23875493855331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52e97ff51aa17d7dc11b9267a9194774a6115a83_e210c72e-1a17-455f-8afe-483240160b6e.webp?v=1714705642"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52e97ff51aa17d7dc11b9267a9194774a6115a83_e210c72e-1a17-455f-8afe-483240160b6e.webp?v=1714705642","width":2000},{"alt":null,"id":23875494314083,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14eb0f7f651abbce62b77e170be83e218eaf5afc_42f2c266-929f-42a6-9cbe-8fb402e9258c.webp?v=1714705644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14eb0f7f651abbce62b77e170be83e218eaf5afc_42f2c266-929f-42a6-9cbe-8fb402e9258c.webp?v=1714705644","width":2000},{"alt":null,"id":23875494674531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5b4981c109100a32fc30403de0588b005ca478c_1c48ca45-3d3b-487c-95e2-02861e96b59c.webp?v=1714705646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5b4981c109100a32fc30403de0588b005ca478c_1c48ca45-3d3b-487c-95e2-02861e96b59c.webp?v=1714705646","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41879922802787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31470587773027,"product_id":7407873687651,"position":3,"created_at":"2024-05-03T11:07:10+08:00","updated_at":"2024-05-03T11:07:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4c0ecf7171e2ff45b9341548a59203e0943a6d_a3bd0cba-a37a-46e5-80aa-573cc4646bd8.webp?v=1714705630","variant_ids":[41879922802787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875491627107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4c0ecf7171e2ff45b9341548a59203e0943a6d_a3bd0cba-a37a-46e5-80aa-573cc4646bd8.webp?v=1714705630"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879922868323,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31470590460003,"product_id":7407873687651,"position":9,"created_at":"2024-05-03T11:07:24+08:00","updated_at":"2024-05-03T11:07:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14eb0f7f651abbce62b77e170be83e218eaf5afc_42f2c266-929f-42a6-9cbe-8fb402e9258c.webp?v=1714705644","variant_ids":[41879922868323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875494314083,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14eb0f7f651abbce62b77e170be83e218eaf5afc_42f2c266-929f-42a6-9cbe-8fb402e9258c.webp?v=1714705644"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879923097699,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31470587379811,"product_id":7407873687651,"position":2,"created_at":"2024-05-03T11:07:07+08:00","updated_at":"2024-05-03T11:07:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e73d61e65696ea7e1620d20d43233066eba66925_1b079382-97fd-4ccd-afd5-080d368854b5.webp?v=1714705627","variant_ids":[41879923097699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875491233891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e73d61e65696ea7e1620d20d43233066eba66925_1b079382-97fd-4ccd-afd5-080d368854b5.webp?v=1714705627"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41879922802787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31470587773027,"product_id":7407873687651,"position":3,"created_at":"2024-05-03T11:07:10+08:00","updated_at":"2024-05-03T11:07:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4c0ecf7171e2ff45b9341548a59203e0943a6d_a3bd0cba-a37a-46e5-80aa-573cc4646bd8.webp?v=1714705630","variant_ids":[41879922802787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23875491627107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4c0ecf7171e2ff45b9341548a59203e0943a6d_a3bd0cba-a37a-46e5-80aa-573cc4646bd8.webp?v=1714705630"}},"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: "停產" }