$product = {"id":7411433046115,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb18","description":null,"published_at":"2024-06-11T17:44:52+08:00","created_at":"2024-05-05T00:28:54+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 14 Pro","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":41898829086819,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31480412143715,"product_id":7411433046115,"position":2,"created_at":"2024-05-05T00:28:59+08:00","updated_at":"2024-05-05T00:28:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9c3d29906890207918c744ca5a722814635b901_93a1649d-e122-4c3e-b11a-298e70e8860b.webp?v=1714840139","variant_ids":[41898829086819]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白 - 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":"MPB0126224-PB18","featured_media":{"alt":null,"id":23885663797347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9c3d29906890207918c744ca5a722814635b901_93a1649d-e122-4c3e-b11a-298e70e8860b.webp?v=1714840139"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898829152355,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31480414011491,"product_id":7411433046115,"position":6,"created_at":"2024-05-05T00:29:08+08:00","updated_at":"2024-05-05T00:29:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07495513bde20d369ba47cad9d67ed7c02f92b5f_2f858659-05fa-4b7b-a167-90bbd5527588.webp?v=1714840148","variant_ids":[41898829152355]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白 - 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":"MPB0126204-PB18","featured_media":{"alt":null,"id":23885665861731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07495513bde20d369ba47cad9d67ed7c02f92b5f_2f858659-05fa-4b7b-a167-90bbd5527588.webp?v=1714840148"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898829381731,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31480414765155,"product_id":7411433046115,"position":7,"created_at":"2024-05-05T00:29:10+08:00","updated_at":"2024-05-05T00:29:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a616dcfc0686600fc7b8ce31c3ca06ea26164a0_8919597b-a465-4e46-bcc6-00af707d688d.webp?v=1714840150","variant_ids":[41898829381731]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白 - 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":"MPB01262J5-PB18","featured_media":{"alt":null,"id":23885666549859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a616dcfc0686600fc7b8ce31c3ca06ea26164a0_8919597b-a465-4e46-bcc6-00af707d688d.webp?v=1714840150"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61e2cb7cf6046a4424f78f6f886feeae7e9c0935_a392dfc8-de8f-4b8a-8383-bfdd9687024e.webp?v=1714840136","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9c3d29906890207918c744ca5a722814635b901_93a1649d-e122-4c3e-b11a-298e70e8860b.webp?v=1714840139","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2062f3270e5267d5ba82928c61354b8aaa2ddb4_f37086a7-4d0c-4ae6-a0e0-8587291c66ee.webp?v=1714840141","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4254916aee6af72071731d7f0832674f2cb7fbd8_902a6890-289f-49d8-869a-39c652080231.webp?v=1714840143","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34a5306513d2e04e8ec93ac25db1a3fac0d65a45_4df55419-7528-420f-99c3-a61927d50bf8.webp?v=1714840145","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07495513bde20d369ba47cad9d67ed7c02f92b5f_2f858659-05fa-4b7b-a167-90bbd5527588.webp?v=1714840148","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a616dcfc0686600fc7b8ce31c3ca06ea26164a0_8919597b-a465-4e46-bcc6-00af707d688d.webp?v=1714840150","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7faab4448fa848142ca35c78148f656d767d99b7_e1bae125-8b04-466a-899c-1feeb6436139.webp?v=1714840153","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c0ef2ea5b53a9b95fa1cd8f1466131b005a6dc_ad7b394e-3fa7-41ea-8097-8ff8bb1cf5d5.webp?v=1714840155","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e721cb28168a69b5aa4e09b7659d3c6484b37308_ef6b2894-65fb-422b-8c39-1a0dd7b0fccf.webp?v=1714840157"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61e2cb7cf6046a4424f78f6f886feeae7e9c0935_a392dfc8-de8f-4b8a-8383-bfdd9687024e.webp?v=1714840136","options":["color"],"media":[{"alt":null,"id":23885663469667,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61e2cb7cf6046a4424f78f6f886feeae7e9c0935_a392dfc8-de8f-4b8a-8383-bfdd9687024e.webp?v=1714840136"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61e2cb7cf6046a4424f78f6f886feeae7e9c0935_a392dfc8-de8f-4b8a-8383-bfdd9687024e.webp?v=1714840136","width":2000},{"alt":null,"id":23885663797347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9c3d29906890207918c744ca5a722814635b901_93a1649d-e122-4c3e-b11a-298e70e8860b.webp?v=1714840139"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9c3d29906890207918c744ca5a722814635b901_93a1649d-e122-4c3e-b11a-298e70e8860b.webp?v=1714840139","width":2000},{"alt":null,"id":23885664518243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2062f3270e5267d5ba82928c61354b8aaa2ddb4_f37086a7-4d0c-4ae6-a0e0-8587291c66ee.webp?v=1714840141"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2062f3270e5267d5ba82928c61354b8aaa2ddb4_f37086a7-4d0c-4ae6-a0e0-8587291c66ee.webp?v=1714840141","width":2000},{"alt":null,"id":23885664845923,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4254916aee6af72071731d7f0832674f2cb7fbd8_902a6890-289f-49d8-869a-39c652080231.webp?v=1714840143"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4254916aee6af72071731d7f0832674f2cb7fbd8_902a6890-289f-49d8-869a-39c652080231.webp?v=1714840143","width":2000},{"alt":null,"id":23885665566819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34a5306513d2e04e8ec93ac25db1a3fac0d65a45_4df55419-7528-420f-99c3-a61927d50bf8.webp?v=1714840145"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34a5306513d2e04e8ec93ac25db1a3fac0d65a45_4df55419-7528-420f-99c3-a61927d50bf8.webp?v=1714840145","width":2000},{"alt":null,"id":23885665861731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07495513bde20d369ba47cad9d67ed7c02f92b5f_2f858659-05fa-4b7b-a167-90bbd5527588.webp?v=1714840148"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07495513bde20d369ba47cad9d67ed7c02f92b5f_2f858659-05fa-4b7b-a167-90bbd5527588.webp?v=1714840148","width":2000},{"alt":null,"id":23885666549859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a616dcfc0686600fc7b8ce31c3ca06ea26164a0_8919597b-a465-4e46-bcc6-00af707d688d.webp?v=1714840150"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a616dcfc0686600fc7b8ce31c3ca06ea26164a0_8919597b-a465-4e46-bcc6-00af707d688d.webp?v=1714840150","width":2000},{"alt":null,"id":23885667041379,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7faab4448fa848142ca35c78148f656d767d99b7_e1bae125-8b04-466a-899c-1feeb6436139.webp?v=1714840153"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7faab4448fa848142ca35c78148f656d767d99b7_e1bae125-8b04-466a-899c-1feeb6436139.webp?v=1714840153","width":2000},{"alt":null,"id":23885667467363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c0ef2ea5b53a9b95fa1cd8f1466131b005a6dc_ad7b394e-3fa7-41ea-8097-8ff8bb1cf5d5.webp?v=1714840155"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c0ef2ea5b53a9b95fa1cd8f1466131b005a6dc_ad7b394e-3fa7-41ea-8097-8ff8bb1cf5d5.webp?v=1714840155","width":2000},{"alt":null,"id":23885668089955,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e721cb28168a69b5aa4e09b7659d3c6484b37308_ef6b2894-65fb-422b-8c39-1a0dd7b0fccf.webp?v=1714840157"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e721cb28168a69b5aa4e09b7659d3c6484b37308_ef6b2894-65fb-422b-8c39-1a0dd7b0fccf.webp?v=1714840157","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41898829086819,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31480412143715,"product_id":7411433046115,"position":2,"created_at":"2024-05-05T00:28:59+08:00","updated_at":"2024-05-05T00:28:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9c3d29906890207918c744ca5a722814635b901_93a1649d-e122-4c3e-b11a-298e70e8860b.webp?v=1714840139","variant_ids":[41898829086819]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白 - 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":"MPB0126224-PB18","featured_media":{"alt":null,"id":23885663797347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9c3d29906890207918c744ca5a722814635b901_93a1649d-e122-4c3e-b11a-298e70e8860b.webp?v=1714840139"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898829152355,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31480414011491,"product_id":7411433046115,"position":6,"created_at":"2024-05-05T00:29:08+08:00","updated_at":"2024-05-05T00:29:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07495513bde20d369ba47cad9d67ed7c02f92b5f_2f858659-05fa-4b7b-a167-90bbd5527588.webp?v=1714840148","variant_ids":[41898829152355]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白 - 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":"MPB0126204-PB18","featured_media":{"alt":null,"id":23885665861731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07495513bde20d369ba47cad9d67ed7c02f92b5f_2f858659-05fa-4b7b-a167-90bbd5527588.webp?v=1714840148"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898829381731,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31480414765155,"product_id":7411433046115,"position":7,"created_at":"2024-05-05T00:29:10+08:00","updated_at":"2024-05-05T00:29:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a616dcfc0686600fc7b8ce31c3ca06ea26164a0_8919597b-a465-4e46-bcc6-00af707d688d.webp?v=1714840150","variant_ids":[41898829381731]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白 - 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":"MPB01262J5-PB18","featured_media":{"alt":null,"id":23885666549859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a616dcfc0686600fc7b8ce31c3ca06ea26164a0_8919597b-a465-4e46-bcc6-00af707d688d.webp?v=1714840150"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898829086819,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31480412143715,"product_id":7411433046115,"position":2,"created_at":"2024-05-05T00:28:59+08:00","updated_at":"2024-05-05T00:28:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9c3d29906890207918c744ca5a722814635b901_93a1649d-e122-4c3e-b11a-298e70e8860b.webp?v=1714840139","variant_ids":[41898829086819]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白 - 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":"MPB0126224-PB18","featured_media":{"alt":null,"id":23885663797347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9c3d29906890207918c744ca5a722814635b901_93a1649d-e122-4c3e-b11a-298e70e8860b.webp?v=1714840139"}},"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: "停產" }