$product = {"id":7407910748259,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-咖啡杯-幽默系列","handle":"iphone-14-pro-mod-nx-printable-pc14","description":null,"published_at":"2024-06-11T16:26:18+08:00","created_at":"2024-05-03T11:14:15+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":41880421761123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PC14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470679294051,"product_id":7407910748259,"position":4,"created_at":"2024-05-03T11:14:24+08:00","updated_at":"2024-05-03T11:14:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71bb7cef73240e0680a6382891aebd2f53bdc057_6a4475e1-1373-457d-909d-138edea149f1.webp?v=1714706064","variant_ids":[41880421761123]},"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-PC14","featured_media":{"alt":null,"id":23875583311971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71bb7cef73240e0680a6382891aebd2f53bdc057_6a4475e1-1373-457d-909d-138edea149f1.webp?v=1714706064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880421826659,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PC14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470681587811,"product_id":7407910748259,"position":10,"created_at":"2024-05-03T11:14:38+08:00","updated_at":"2024-05-03T11:14:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26d424846f648c08e6a862504f6b66a0397ccbeb_549e1c1b-9fa4-4cc3-938e-7cda20ccde73.webp?v=1714706078","variant_ids":[41880421826659]},"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-PC14","featured_media":{"alt":null,"id":23875585605731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26d424846f648c08e6a862504f6b66a0397ccbeb_549e1c1b-9fa4-4cc3-938e-7cda20ccde73.webp?v=1714706078"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880422056035,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PC14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470680768611,"product_id":7407910748259,"position":8,"created_at":"2024-05-03T11:14:33+08:00","updated_at":"2024-05-03T11:14:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654f65fa72b1b0586c754655f9af9987477901b5_1e83c792-7845-4b1b-9c7c-4e78852b2e85.webp?v=1714706073","variant_ids":[41880422056035]},"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-PC14","featured_media":{"alt":null,"id":23875584786531,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654f65fa72b1b0586c754655f9af9987477901b5_1e83c792-7845-4b1b-9c7c-4e78852b2e85.webp?v=1714706073"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ac7bc5f72384fa9f012674e1312ff4518ae95b_eafec757-768d-41c4-a11b-235ed58f54ec.webp?v=1714706057","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d4829deebd9fb8702a9f84ee33c404183a786a3_afc151db-83e8-412e-a44d-3f5f004bb7c5.webp?v=1714706059","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8436147df178639901034ff31214a409713e3bff_97e3f522-5733-43c4-baf5-def7690211d3.webp?v=1714706062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71bb7cef73240e0680a6382891aebd2f53bdc057_6a4475e1-1373-457d-909d-138edea149f1.webp?v=1714706064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38fc7b35b98fc9acef0d1fd2842cc45ec83f9599_316a9994-2dcc-432d-9ec5-65db3dae694e.webp?v=1714706067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1474e0808caa23b9e6b7abd3088033fee7a69c84_c4f58a71-0eea-4bd2-b573-4f157d549bfd.webp?v=1714706069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b34ea45c538e131110b8c03512638c5858b61ea7_7e59329e-63dc-4c71-b27e-15ba1e94b318.webp?v=1714706071","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654f65fa72b1b0586c754655f9af9987477901b5_1e83c792-7845-4b1b-9c7c-4e78852b2e85.webp?v=1714706073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/318cb1e3ac4f24083074d29d14e014f006da2859_8d7152f8-2657-445b-b64a-4868d9b049cc.webp?v=1714706076","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26d424846f648c08e6a862504f6b66a0397ccbeb_549e1c1b-9fa4-4cc3-938e-7cda20ccde73.webp?v=1714706078"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ac7bc5f72384fa9f012674e1312ff4518ae95b_eafec757-768d-41c4-a11b-235ed58f54ec.webp?v=1714706057","options":["color"],"media":[{"alt":null,"id":23875580919907,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ac7bc5f72384fa9f012674e1312ff4518ae95b_eafec757-768d-41c4-a11b-235ed58f54ec.webp?v=1714706057"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ac7bc5f72384fa9f012674e1312ff4518ae95b_eafec757-768d-41c4-a11b-235ed58f54ec.webp?v=1714706057","width":2000},{"alt":null,"id":23875581313123,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d4829deebd9fb8702a9f84ee33c404183a786a3_afc151db-83e8-412e-a44d-3f5f004bb7c5.webp?v=1714706059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d4829deebd9fb8702a9f84ee33c404183a786a3_afc151db-83e8-412e-a44d-3f5f004bb7c5.webp?v=1714706059","width":2000},{"alt":null,"id":23875581706339,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8436147df178639901034ff31214a409713e3bff_97e3f522-5733-43c4-baf5-def7690211d3.webp?v=1714706062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8436147df178639901034ff31214a409713e3bff_97e3f522-5733-43c4-baf5-def7690211d3.webp?v=1714706062","width":2000},{"alt":null,"id":23875583311971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71bb7cef73240e0680a6382891aebd2f53bdc057_6a4475e1-1373-457d-909d-138edea149f1.webp?v=1714706064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71bb7cef73240e0680a6382891aebd2f53bdc057_6a4475e1-1373-457d-909d-138edea149f1.webp?v=1714706064","width":2000},{"alt":null,"id":23875583606883,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38fc7b35b98fc9acef0d1fd2842cc45ec83f9599_316a9994-2dcc-432d-9ec5-65db3dae694e.webp?v=1714706067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38fc7b35b98fc9acef0d1fd2842cc45ec83f9599_316a9994-2dcc-432d-9ec5-65db3dae694e.webp?v=1714706067","width":2000},{"alt":null,"id":23875584032867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1474e0808caa23b9e6b7abd3088033fee7a69c84_c4f58a71-0eea-4bd2-b573-4f157d549bfd.webp?v=1714706069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1474e0808caa23b9e6b7abd3088033fee7a69c84_c4f58a71-0eea-4bd2-b573-4f157d549bfd.webp?v=1714706069","width":2000},{"alt":null,"id":23875584426083,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b34ea45c538e131110b8c03512638c5858b61ea7_7e59329e-63dc-4c71-b27e-15ba1e94b318.webp?v=1714706071"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b34ea45c538e131110b8c03512638c5858b61ea7_7e59329e-63dc-4c71-b27e-15ba1e94b318.webp?v=1714706071","width":2000},{"alt":null,"id":23875584786531,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654f65fa72b1b0586c754655f9af9987477901b5_1e83c792-7845-4b1b-9c7c-4e78852b2e85.webp?v=1714706073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654f65fa72b1b0586c754655f9af9987477901b5_1e83c792-7845-4b1b-9c7c-4e78852b2e85.webp?v=1714706073","width":2000},{"alt":null,"id":23875585179747,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/318cb1e3ac4f24083074d29d14e014f006da2859_8d7152f8-2657-445b-b64a-4868d9b049cc.webp?v=1714706076"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/318cb1e3ac4f24083074d29d14e014f006da2859_8d7152f8-2657-445b-b64a-4868d9b049cc.webp?v=1714706076","width":2000},{"alt":null,"id":23875585605731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26d424846f648c08e6a862504f6b66a0397ccbeb_549e1c1b-9fa4-4cc3-938e-7cda20ccde73.webp?v=1714706078"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26d424846f648c08e6a862504f6b66a0397ccbeb_549e1c1b-9fa4-4cc3-938e-7cda20ccde73.webp?v=1714706078","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880421761123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PC14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470679294051,"product_id":7407910748259,"position":4,"created_at":"2024-05-03T11:14:24+08:00","updated_at":"2024-05-03T11:14:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71bb7cef73240e0680a6382891aebd2f53bdc057_6a4475e1-1373-457d-909d-138edea149f1.webp?v=1714706064","variant_ids":[41880421761123]},"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-PC14","featured_media":{"alt":null,"id":23875583311971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71bb7cef73240e0680a6382891aebd2f53bdc057_6a4475e1-1373-457d-909d-138edea149f1.webp?v=1714706064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880421826659,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PC14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470681587811,"product_id":7407910748259,"position":10,"created_at":"2024-05-03T11:14:38+08:00","updated_at":"2024-05-03T11:14:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26d424846f648c08e6a862504f6b66a0397ccbeb_549e1c1b-9fa4-4cc3-938e-7cda20ccde73.webp?v=1714706078","variant_ids":[41880421826659]},"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-PC14","featured_media":{"alt":null,"id":23875585605731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26d424846f648c08e6a862504f6b66a0397ccbeb_549e1c1b-9fa4-4cc3-938e-7cda20ccde73.webp?v=1714706078"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880422056035,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PC14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470680768611,"product_id":7407910748259,"position":8,"created_at":"2024-05-03T11:14:33+08:00","updated_at":"2024-05-03T11:14:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654f65fa72b1b0586c754655f9af9987477901b5_1e83c792-7845-4b1b-9c7c-4e78852b2e85.webp?v=1714706073","variant_ids":[41880422056035]},"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-PC14","featured_media":{"alt":null,"id":23875584786531,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654f65fa72b1b0586c754655f9af9987477901b5_1e83c792-7845-4b1b-9c7c-4e78852b2e85.webp?v=1714706073"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880421761123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PC14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470679294051,"product_id":7407910748259,"position":4,"created_at":"2024-05-03T11:14:24+08:00","updated_at":"2024-05-03T11:14:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71bb7cef73240e0680a6382891aebd2f53bdc057_6a4475e1-1373-457d-909d-138edea149f1.webp?v=1714706064","variant_ids":[41880421761123]},"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-PC14","featured_media":{"alt":null,"id":23875583311971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71bb7cef73240e0680a6382891aebd2f53bdc057_6a4475e1-1373-457d-909d-138edea149f1.webp?v=1714706064"}},"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: "停產" }