$product = {"id":7407643951203,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑女與小丑","handle":"iphone-14-pro-mod-nx-printable-sb18","description":null,"published_at":"2024-06-11T16:21:25+08:00","created_at":"2024-05-03T10:36:16+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-batman","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":41877101772899,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470137049187,"product_id":7407643951203,"position":6,"created_at":"2024-05-03T10:36:32+08:00","updated_at":"2024-05-03T10:36:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2eb69ba67591ed6b52e57473994fd47a9022c2d_aaca6e7b-ed09-444e-9a1b-d8b27dffeca7.webp?v=1714703792","variant_ids":[41877101772899]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑女與小丑 - 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-SB18","featured_media":{"alt":null,"id":23875039952995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2eb69ba67591ed6b52e57473994fd47a9022c2d_aaca6e7b-ed09-444e-9a1b-d8b27dffeca7.webp?v=1714703792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877101838435,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-SB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470136787043,"product_id":7407643951203,"position":5,"created_at":"2024-05-03T10:36:30+08:00","updated_at":"2024-05-03T10:36:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce300f4467e8a086959eadb1f8bc2719aaa6ce4f_ab8cf8e1-5623-4ddd-adea-07a1caad6ef5.webp?v=1714703790","variant_ids":[41877101838435]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑女與小丑 - 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-SB18","featured_media":{"alt":null,"id":23875039658083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce300f4467e8a086959eadb1f8bc2719aaa6ce4f_ab8cf8e1-5623-4ddd-adea-07a1caad6ef5.webp?v=1714703790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877102067811,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-SB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470138458211,"product_id":7407643951203,"position":9,"created_at":"2024-05-03T10:36:39+08:00","updated_at":"2024-05-03T10:36:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/422b0b0e839276e513fec3e97bddf3746d18e5c8_1824fafa-e267-4252-9cae-9704078cf324.webp?v=1714703799","variant_ids":[41877102067811]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑女與小丑 - 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-SB18","featured_media":{"alt":null,"id":23875041427555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/422b0b0e839276e513fec3e97bddf3746d18e5c8_1824fafa-e267-4252-9cae-9704078cf324.webp?v=1714703799"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18f1c5ad8d210cc00380f094466431a665cbe10f_50b4627f-3d7b-4e2f-a3b8-0867f7f4aa89.webp?v=1714703779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd960034571e1055056c26229d4e88518bc1f339_a9c33735-c296-4691-abe9-34a577f18ebb.webp?v=1714703782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e622d2a2fe345347ecd5d0d73b8bdf7993a1c3_f0ab38b5-f6ab-4ccf-bde4-41bbdb04360d.webp?v=1714703785","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ded65243b5257857fad83c612eb0b19a8df690af_f0df42a3-01b0-41bc-82ef-cc84320a9d2f.webp?v=1714703787","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce300f4467e8a086959eadb1f8bc2719aaa6ce4f_ab8cf8e1-5623-4ddd-adea-07a1caad6ef5.webp?v=1714703790","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2eb69ba67591ed6b52e57473994fd47a9022c2d_aaca6e7b-ed09-444e-9a1b-d8b27dffeca7.webp?v=1714703792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f348731d8f187dfc75c5668fcae52f9bdbf35507_054d9954-d41a-4671-8cdf-73162aecf51a.webp?v=1714703794","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c324734d8369ff39858365d92f846b54c1af91_afc03605-249d-4b26-84a3-0d72caa5a03a.webp?v=1714703797","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/422b0b0e839276e513fec3e97bddf3746d18e5c8_1824fafa-e267-4252-9cae-9704078cf324.webp?v=1714703799","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea1607702508150b6a196cef2586efd423076fdd_36585ae9-87de-40b9-b455-4b0fc3009e43.webp?v=1714703802"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18f1c5ad8d210cc00380f094466431a665cbe10f_50b4627f-3d7b-4e2f-a3b8-0867f7f4aa89.webp?v=1714703779","options":["color"],"media":[{"alt":null,"id":23875037298787,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18f1c5ad8d210cc00380f094466431a665cbe10f_50b4627f-3d7b-4e2f-a3b8-0867f7f4aa89.webp?v=1714703779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18f1c5ad8d210cc00380f094466431a665cbe10f_50b4627f-3d7b-4e2f-a3b8-0867f7f4aa89.webp?v=1714703779","width":2000},{"alt":null,"id":23875037954147,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd960034571e1055056c26229d4e88518bc1f339_a9c33735-c296-4691-abe9-34a577f18ebb.webp?v=1714703782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd960034571e1055056c26229d4e88518bc1f339_a9c33735-c296-4691-abe9-34a577f18ebb.webp?v=1714703782","width":2000},{"alt":null,"id":23875038707811,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e622d2a2fe345347ecd5d0d73b8bdf7993a1c3_f0ab38b5-f6ab-4ccf-bde4-41bbdb04360d.webp?v=1714703785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e622d2a2fe345347ecd5d0d73b8bdf7993a1c3_f0ab38b5-f6ab-4ccf-bde4-41bbdb04360d.webp?v=1714703785","width":2000},{"alt":null,"id":23875039133795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ded65243b5257857fad83c612eb0b19a8df690af_f0df42a3-01b0-41bc-82ef-cc84320a9d2f.webp?v=1714703787"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ded65243b5257857fad83c612eb0b19a8df690af_f0df42a3-01b0-41bc-82ef-cc84320a9d2f.webp?v=1714703787","width":2000},{"alt":null,"id":23875039658083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce300f4467e8a086959eadb1f8bc2719aaa6ce4f_ab8cf8e1-5623-4ddd-adea-07a1caad6ef5.webp?v=1714703790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce300f4467e8a086959eadb1f8bc2719aaa6ce4f_ab8cf8e1-5623-4ddd-adea-07a1caad6ef5.webp?v=1714703790","width":2000},{"alt":null,"id":23875039952995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2eb69ba67591ed6b52e57473994fd47a9022c2d_aaca6e7b-ed09-444e-9a1b-d8b27dffeca7.webp?v=1714703792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2eb69ba67591ed6b52e57473994fd47a9022c2d_aaca6e7b-ed09-444e-9a1b-d8b27dffeca7.webp?v=1714703792","width":2000},{"alt":null,"id":23875040444515,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f348731d8f187dfc75c5668fcae52f9bdbf35507_054d9954-d41a-4671-8cdf-73162aecf51a.webp?v=1714703794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f348731d8f187dfc75c5668fcae52f9bdbf35507_054d9954-d41a-4671-8cdf-73162aecf51a.webp?v=1714703794","width":2000},{"alt":null,"id":23875040837731,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c324734d8369ff39858365d92f846b54c1af91_afc03605-249d-4b26-84a3-0d72caa5a03a.webp?v=1714703797"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c324734d8369ff39858365d92f846b54c1af91_afc03605-249d-4b26-84a3-0d72caa5a03a.webp?v=1714703797","width":2000},{"alt":null,"id":23875041427555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/422b0b0e839276e513fec3e97bddf3746d18e5c8_1824fafa-e267-4252-9cae-9704078cf324.webp?v=1714703799"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/422b0b0e839276e513fec3e97bddf3746d18e5c8_1824fafa-e267-4252-9cae-9704078cf324.webp?v=1714703799","width":2000},{"alt":null,"id":23875041951843,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea1607702508150b6a196cef2586efd423076fdd_36585ae9-87de-40b9-b455-4b0fc3009e43.webp?v=1714703802"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea1607702508150b6a196cef2586efd423076fdd_36585ae9-87de-40b9-b455-4b0fc3009e43.webp?v=1714703802","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41877101772899,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470137049187,"product_id":7407643951203,"position":6,"created_at":"2024-05-03T10:36:32+08:00","updated_at":"2024-05-03T10:36:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2eb69ba67591ed6b52e57473994fd47a9022c2d_aaca6e7b-ed09-444e-9a1b-d8b27dffeca7.webp?v=1714703792","variant_ids":[41877101772899]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑女與小丑 - 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-SB18","featured_media":{"alt":null,"id":23875039952995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2eb69ba67591ed6b52e57473994fd47a9022c2d_aaca6e7b-ed09-444e-9a1b-d8b27dffeca7.webp?v=1714703792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877101838435,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-SB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470136787043,"product_id":7407643951203,"position":5,"created_at":"2024-05-03T10:36:30+08:00","updated_at":"2024-05-03T10:36:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce300f4467e8a086959eadb1f8bc2719aaa6ce4f_ab8cf8e1-5623-4ddd-adea-07a1caad6ef5.webp?v=1714703790","variant_ids":[41877101838435]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑女與小丑 - 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-SB18","featured_media":{"alt":null,"id":23875039658083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce300f4467e8a086959eadb1f8bc2719aaa6ce4f_ab8cf8e1-5623-4ddd-adea-07a1caad6ef5.webp?v=1714703790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877102067811,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-SB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470138458211,"product_id":7407643951203,"position":9,"created_at":"2024-05-03T10:36:39+08:00","updated_at":"2024-05-03T10:36:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/422b0b0e839276e513fec3e97bddf3746d18e5c8_1824fafa-e267-4252-9cae-9704078cf324.webp?v=1714703799","variant_ids":[41877102067811]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑女與小丑 - 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-SB18","featured_media":{"alt":null,"id":23875041427555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/422b0b0e839276e513fec3e97bddf3746d18e5c8_1824fafa-e267-4252-9cae-9704078cf324.webp?v=1714703799"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41877101772899,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470137049187,"product_id":7407643951203,"position":6,"created_at":"2024-05-03T10:36:32+08:00","updated_at":"2024-05-03T10:36:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2eb69ba67591ed6b52e57473994fd47a9022c2d_aaca6e7b-ed09-444e-9a1b-d8b27dffeca7.webp?v=1714703792","variant_ids":[41877101772899]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑女與小丑 - 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-SB18","featured_media":{"alt":null,"id":23875039952995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2eb69ba67591ed6b52e57473994fd47a9022c2d_aaca6e7b-ed09-444e-9a1b-d8b27dffeca7.webp?v=1714703792"}},"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: "停產" }