$product = {"id":7411354042467,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 高譚守護者","handle":"iphone-14-pro-mod-nx-magsafe-printable-sb20","description":null,"published_at":"2024-06-11T17:42:41+08:00","created_at":"2024-05-05T00:13:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-batman","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":41897827729507,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31480210718819,"product_id":7411354042467,"position":1,"created_at":"2024-05-05T00:13:25+08:00","updated_at":"2024-05-05T00:13:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec703d153d78b79dcaa61c8a3c6f4733ec62e95_36b18c51-ec99-4d19-b231-4a2dab4008a3.webp?v=1714839205","variant_ids":[41897827729507]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 高譚守護者 - 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-SB20","featured_media":{"alt":null,"id":23885461848163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec703d153d78b79dcaa61c8a3c6f4733ec62e95_36b18c51-ec99-4d19-b231-4a2dab4008a3.webp?v=1714839205"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897827795043,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31480215273571,"product_id":7411354042467,"position":9,"created_at":"2024-05-05T00:13:44+08:00","updated_at":"2024-05-05T00:13:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a06991e1ed9b78ebf9b1b324b4e3c924fd857ed_04002717-13a2-451f-83df-be9108c02df8.webp?v=1714839224","variant_ids":[41897827795043]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 高譚守護者 - 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-SB20","featured_media":{"alt":null,"id":23885466763363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a06991e1ed9b78ebf9b1b324b4e3c924fd857ed_04002717-13a2-451f-83df-be9108c02df8.webp?v=1714839224"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897828221027,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31480214192227,"product_id":7411354042467,"position":7,"created_at":"2024-05-05T00:13:39+08:00","updated_at":"2024-05-05T00:13:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac8ddb9db232c2203b22da52b71450d2c8220cd_06709ebf-9049-45e0-8248-f8f37d02c7f8.webp?v=1714839219","variant_ids":[41897828221027]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 高譚守護者 - 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-SB20","featured_media":{"alt":null,"id":23885465419875,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac8ddb9db232c2203b22da52b71450d2c8220cd_06709ebf-9049-45e0-8248-f8f37d02c7f8.webp?v=1714839219"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec703d153d78b79dcaa61c8a3c6f4733ec62e95_36b18c51-ec99-4d19-b231-4a2dab4008a3.webp?v=1714839205","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5581d16f1cba4a48ae2810c330f004a772a34b3_4a762a6e-3476-4d13-be59-bb39794d8465.webp?v=1714839207","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33a675d56fee4bdd4cdf2981467adb2fd1cf5cb8_e90cc9da-f978-4a23-94a9-2cce3d172c3e.webp?v=1714839210","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63f858d67e4f3d340343d3d1a7f2a2381633e55a_8db4c1b6-70e0-463c-a8f6-09de3b958401.webp?v=1714839212","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a53ba78930bb74396f62ab8bbebf1721a54fe2c4_a50730ad-cbf8-47a6-8030-66af8d536af4.webp?v=1714839214","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/244879a0ec41f9f29e82bf68129ece02ac34597a_a932bf04-082d-4d94-a354-170acf73918e.webp?v=1714839217","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac8ddb9db232c2203b22da52b71450d2c8220cd_06709ebf-9049-45e0-8248-f8f37d02c7f8.webp?v=1714839219","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/134e7aeb16153896320fb66c744278788e743c42_96bde3a7-7a1a-41e0-9f48-143c35c08798.webp?v=1714839222","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a06991e1ed9b78ebf9b1b324b4e3c924fd857ed_04002717-13a2-451f-83df-be9108c02df8.webp?v=1714839224","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55f0cf1398921c561fdfc072f1a4bf2df3c03dc5_58e327fd-b55f-4699-90d3-ac31c68c3205.webp?v=1714839226"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec703d153d78b79dcaa61c8a3c6f4733ec62e95_36b18c51-ec99-4d19-b231-4a2dab4008a3.webp?v=1714839205","options":["color"],"media":[{"alt":null,"id":23885461848163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec703d153d78b79dcaa61c8a3c6f4733ec62e95_36b18c51-ec99-4d19-b231-4a2dab4008a3.webp?v=1714839205"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec703d153d78b79dcaa61c8a3c6f4733ec62e95_36b18c51-ec99-4d19-b231-4a2dab4008a3.webp?v=1714839205","width":2000},{"alt":null,"id":23885462405219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5581d16f1cba4a48ae2810c330f004a772a34b3_4a762a6e-3476-4d13-be59-bb39794d8465.webp?v=1714839207"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5581d16f1cba4a48ae2810c330f004a772a34b3_4a762a6e-3476-4d13-be59-bb39794d8465.webp?v=1714839207","width":2000},{"alt":null,"id":23885463027811,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33a675d56fee4bdd4cdf2981467adb2fd1cf5cb8_e90cc9da-f978-4a23-94a9-2cce3d172c3e.webp?v=1714839210"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33a675d56fee4bdd4cdf2981467adb2fd1cf5cb8_e90cc9da-f978-4a23-94a9-2cce3d172c3e.webp?v=1714839210","width":2000},{"alt":null,"id":23885463584867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63f858d67e4f3d340343d3d1a7f2a2381633e55a_8db4c1b6-70e0-463c-a8f6-09de3b958401.webp?v=1714839212"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63f858d67e4f3d340343d3d1a7f2a2381633e55a_8db4c1b6-70e0-463c-a8f6-09de3b958401.webp?v=1714839212","width":2000},{"alt":null,"id":23885464240227,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a53ba78930bb74396f62ab8bbebf1721a54fe2c4_a50730ad-cbf8-47a6-8030-66af8d536af4.webp?v=1714839214"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a53ba78930bb74396f62ab8bbebf1721a54fe2c4_a50730ad-cbf8-47a6-8030-66af8d536af4.webp?v=1714839214","width":2000},{"alt":null,"id":23885464600675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/244879a0ec41f9f29e82bf68129ece02ac34597a_a932bf04-082d-4d94-a354-170acf73918e.webp?v=1714839217"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/244879a0ec41f9f29e82bf68129ece02ac34597a_a932bf04-082d-4d94-a354-170acf73918e.webp?v=1714839217","width":2000},{"alt":null,"id":23885465419875,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac8ddb9db232c2203b22da52b71450d2c8220cd_06709ebf-9049-45e0-8248-f8f37d02c7f8.webp?v=1714839219"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac8ddb9db232c2203b22da52b71450d2c8220cd_06709ebf-9049-45e0-8248-f8f37d02c7f8.webp?v=1714839219","width":2000},{"alt":null,"id":23885466009699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/134e7aeb16153896320fb66c744278788e743c42_96bde3a7-7a1a-41e0-9f48-143c35c08798.webp?v=1714839222"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/134e7aeb16153896320fb66c744278788e743c42_96bde3a7-7a1a-41e0-9f48-143c35c08798.webp?v=1714839222","width":2000},{"alt":null,"id":23885466763363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a06991e1ed9b78ebf9b1b324b4e3c924fd857ed_04002717-13a2-451f-83df-be9108c02df8.webp?v=1714839224"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a06991e1ed9b78ebf9b1b324b4e3c924fd857ed_04002717-13a2-451f-83df-be9108c02df8.webp?v=1714839224","width":2000},{"alt":null,"id":23885467123811,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55f0cf1398921c561fdfc072f1a4bf2df3c03dc5_58e327fd-b55f-4699-90d3-ac31c68c3205.webp?v=1714839226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55f0cf1398921c561fdfc072f1a4bf2df3c03dc5_58e327fd-b55f-4699-90d3-ac31c68c3205.webp?v=1714839226","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41897827729507,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31480210718819,"product_id":7411354042467,"position":1,"created_at":"2024-05-05T00:13:25+08:00","updated_at":"2024-05-05T00:13:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec703d153d78b79dcaa61c8a3c6f4733ec62e95_36b18c51-ec99-4d19-b231-4a2dab4008a3.webp?v=1714839205","variant_ids":[41897827729507]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 高譚守護者 - 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-SB20","featured_media":{"alt":null,"id":23885461848163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec703d153d78b79dcaa61c8a3c6f4733ec62e95_36b18c51-ec99-4d19-b231-4a2dab4008a3.webp?v=1714839205"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897827795043,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31480215273571,"product_id":7411354042467,"position":9,"created_at":"2024-05-05T00:13:44+08:00","updated_at":"2024-05-05T00:13:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a06991e1ed9b78ebf9b1b324b4e3c924fd857ed_04002717-13a2-451f-83df-be9108c02df8.webp?v=1714839224","variant_ids":[41897827795043]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 高譚守護者 - 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-SB20","featured_media":{"alt":null,"id":23885466763363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a06991e1ed9b78ebf9b1b324b4e3c924fd857ed_04002717-13a2-451f-83df-be9108c02df8.webp?v=1714839224"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897828221027,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31480214192227,"product_id":7411354042467,"position":7,"created_at":"2024-05-05T00:13:39+08:00","updated_at":"2024-05-05T00:13:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac8ddb9db232c2203b22da52b71450d2c8220cd_06709ebf-9049-45e0-8248-f8f37d02c7f8.webp?v=1714839219","variant_ids":[41897828221027]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 高譚守護者 - 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-SB20","featured_media":{"alt":null,"id":23885465419875,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac8ddb9db232c2203b22da52b71450d2c8220cd_06709ebf-9049-45e0-8248-f8f37d02c7f8.webp?v=1714839219"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41897827729507,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31480210718819,"product_id":7411354042467,"position":1,"created_at":"2024-05-05T00:13:25+08:00","updated_at":"2024-05-05T00:13:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec703d153d78b79dcaa61c8a3c6f4733ec62e95_36b18c51-ec99-4d19-b231-4a2dab4008a3.webp?v=1714839205","variant_ids":[41897827729507]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 高譚守護者 - 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-SB20","featured_media":{"alt":null,"id":23885461848163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec703d153d78b79dcaa61c8a3c6f4733ec62e95_36b18c51-ec99-4d19-b231-4a2dab4008a3.webp?v=1714839205"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }