$product = {"id":7414004744291,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha!","handle":"iphone-13-mini-mod-nx-magsafe-printable-yf08","description":null,"published_at":"2024-06-11T17:47:28+08:00","created_at":"2024-05-05T13:59:18+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-stitch","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":41903227863139,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31484438052963,"product_id":7414004744291,"position":4,"created_at":"2024-05-05T13:59:27+08:00","updated_at":"2024-05-05T13:59:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ef88eeb31cb6b7b9d5d4c03f3e52d5927be467_a146b65e-b77b-4b89-89d6-ac6770b2a321.webp?v=1714888767","variant_ids":[41903227863139]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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":"MPB0122824-YF08","featured_media":{"alt":null,"id":23889732108387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ef88eeb31cb6b7b9d5d4c03f3e52d5927be467_a146b65e-b77b-4b89-89d6-ac6770b2a321.webp?v=1714888767"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903227928675,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31484438970467,"product_id":7414004744291,"position":6,"created_at":"2024-05-05T13:59:32+08:00","updated_at":"2024-05-05T13:59:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69b40206d3a6c758ccea30cae089c480dc49b3b8_9af6f801-e6e7-46f4-bd7b-fa7f59f138fc.webp?v=1714888772","variant_ids":[41903227928675]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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":"MPB0122804-YF08","featured_media":{"alt":null,"id":23889733025891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69b40206d3a6c758ccea30cae089c480dc49b3b8_9af6f801-e6e7-46f4-bd7b-fa7f59f138fc.webp?v=1714888772"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903228289123,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31484440936547,"product_id":7414004744291,"position":10,"created_at":"2024-05-05T13:59:41+08:00","updated_at":"2024-05-05T13:59:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3604d0e63501f28277e13445857d5ab8465988_cc6c764c-49ad-4746-9179-24bbe992edbf.webp?v=1714888781","variant_ids":[41903228289123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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":"MPB01228J5-YF08","featured_media":{"alt":null,"id":23889734991971,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3604d0e63501f28277e13445857d5ab8465988_cc6c764c-49ad-4746-9179-24bbe992edbf.webp?v=1714888781"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5ddec10d53fe707536056d4372b55b9a50bc4a5_cf1f363c-84ec-4d1e-8a09-e4e42529d6d2.webp?v=1714888761","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/729b3e68da3ee9b497b10618cd1089d5364e2cc0_44d1440a-bc97-4489-b948-33e184b148bd.webp?v=1714888763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee26dd1a44e9ef787b97eb4e7467b35a5137cbf_a992c6a1-ebf0-4431-b618-eb2b81c2ebd6.webp?v=1714888765","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ef88eeb31cb6b7b9d5d4c03f3e52d5927be467_a146b65e-b77b-4b89-89d6-ac6770b2a321.webp?v=1714888767","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da9b2e98d86f381211ff2a9d8bad9ec603248cb0_677d1a4c-13c3-4221-81eb-248668ea42e1.webp?v=1714888770","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69b40206d3a6c758ccea30cae089c480dc49b3b8_9af6f801-e6e7-46f4-bd7b-fa7f59f138fc.webp?v=1714888772","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/589055fc3b34cfda645160e50c9d4da21aa46285_a91baa28-a992-4a2f-97c2-17373088c8b5.webp?v=1714888774","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d14fc62a4376ba94ec500767027a796af05424_bc821cd3-9b88-4039-918c-a57c18d367b6.webp?v=1714888776","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52369bcb9c35b11490d169c465d1b950b1bc5ff8_876c9a73-f86b-456b-abde-2b948e5a5f86.webp?v=1714888779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3604d0e63501f28277e13445857d5ab8465988_cc6c764c-49ad-4746-9179-24bbe992edbf.webp?v=1714888781"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5ddec10d53fe707536056d4372b55b9a50bc4a5_cf1f363c-84ec-4d1e-8a09-e4e42529d6d2.webp?v=1714888761","options":["color"],"media":[{"alt":null,"id":23889730568291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5ddec10d53fe707536056d4372b55b9a50bc4a5_cf1f363c-84ec-4d1e-8a09-e4e42529d6d2.webp?v=1714888761"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5ddec10d53fe707536056d4372b55b9a50bc4a5_cf1f363c-84ec-4d1e-8a09-e4e42529d6d2.webp?v=1714888761","width":2000},{"alt":null,"id":23889731125347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/729b3e68da3ee9b497b10618cd1089d5364e2cc0_44d1440a-bc97-4489-b948-33e184b148bd.webp?v=1714888763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/729b3e68da3ee9b497b10618cd1089d5364e2cc0_44d1440a-bc97-4489-b948-33e184b148bd.webp?v=1714888763","width":2000},{"alt":null,"id":23889731584099,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee26dd1a44e9ef787b97eb4e7467b35a5137cbf_a992c6a1-ebf0-4431-b618-eb2b81c2ebd6.webp?v=1714888765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee26dd1a44e9ef787b97eb4e7467b35a5137cbf_a992c6a1-ebf0-4431-b618-eb2b81c2ebd6.webp?v=1714888765","width":2000},{"alt":null,"id":23889732108387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ef88eeb31cb6b7b9d5d4c03f3e52d5927be467_a146b65e-b77b-4b89-89d6-ac6770b2a321.webp?v=1714888767"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ef88eeb31cb6b7b9d5d4c03f3e52d5927be467_a146b65e-b77b-4b89-89d6-ac6770b2a321.webp?v=1714888767","width":2000},{"alt":null,"id":23889732567139,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da9b2e98d86f381211ff2a9d8bad9ec603248cb0_677d1a4c-13c3-4221-81eb-248668ea42e1.webp?v=1714888770"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da9b2e98d86f381211ff2a9d8bad9ec603248cb0_677d1a4c-13c3-4221-81eb-248668ea42e1.webp?v=1714888770","width":2000},{"alt":null,"id":23889733025891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69b40206d3a6c758ccea30cae089c480dc49b3b8_9af6f801-e6e7-46f4-bd7b-fa7f59f138fc.webp?v=1714888772"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69b40206d3a6c758ccea30cae089c480dc49b3b8_9af6f801-e6e7-46f4-bd7b-fa7f59f138fc.webp?v=1714888772","width":2000},{"alt":null,"id":23889733648483,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/589055fc3b34cfda645160e50c9d4da21aa46285_a91baa28-a992-4a2f-97c2-17373088c8b5.webp?v=1714888774"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/589055fc3b34cfda645160e50c9d4da21aa46285_a91baa28-a992-4a2f-97c2-17373088c8b5.webp?v=1714888774","width":2000},{"alt":null,"id":23889734107235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d14fc62a4376ba94ec500767027a796af05424_bc821cd3-9b88-4039-918c-a57c18d367b6.webp?v=1714888776"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d14fc62a4376ba94ec500767027a796af05424_bc821cd3-9b88-4039-918c-a57c18d367b6.webp?v=1714888776","width":2000},{"alt":null,"id":23889734598755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52369bcb9c35b11490d169c465d1b950b1bc5ff8_876c9a73-f86b-456b-abde-2b948e5a5f86.webp?v=1714888779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52369bcb9c35b11490d169c465d1b950b1bc5ff8_876c9a73-f86b-456b-abde-2b948e5a5f86.webp?v=1714888779","width":2000},{"alt":null,"id":23889734991971,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3604d0e63501f28277e13445857d5ab8465988_cc6c764c-49ad-4746-9179-24bbe992edbf.webp?v=1714888781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3604d0e63501f28277e13445857d5ab8465988_cc6c764c-49ad-4746-9179-24bbe992edbf.webp?v=1714888781","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41903227863139,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31484438052963,"product_id":7414004744291,"position":4,"created_at":"2024-05-05T13:59:27+08:00","updated_at":"2024-05-05T13:59:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ef88eeb31cb6b7b9d5d4c03f3e52d5927be467_a146b65e-b77b-4b89-89d6-ac6770b2a321.webp?v=1714888767","variant_ids":[41903227863139]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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":"MPB0122824-YF08","featured_media":{"alt":null,"id":23889732108387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ef88eeb31cb6b7b9d5d4c03f3e52d5927be467_a146b65e-b77b-4b89-89d6-ac6770b2a321.webp?v=1714888767"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903227928675,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31484438970467,"product_id":7414004744291,"position":6,"created_at":"2024-05-05T13:59:32+08:00","updated_at":"2024-05-05T13:59:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69b40206d3a6c758ccea30cae089c480dc49b3b8_9af6f801-e6e7-46f4-bd7b-fa7f59f138fc.webp?v=1714888772","variant_ids":[41903227928675]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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":"MPB0122804-YF08","featured_media":{"alt":null,"id":23889733025891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69b40206d3a6c758ccea30cae089c480dc49b3b8_9af6f801-e6e7-46f4-bd7b-fa7f59f138fc.webp?v=1714888772"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903228289123,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31484440936547,"product_id":7414004744291,"position":10,"created_at":"2024-05-05T13:59:41+08:00","updated_at":"2024-05-05T13:59:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3604d0e63501f28277e13445857d5ab8465988_cc6c764c-49ad-4746-9179-24bbe992edbf.webp?v=1714888781","variant_ids":[41903228289123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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":"MPB01228J5-YF08","featured_media":{"alt":null,"id":23889734991971,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3604d0e63501f28277e13445857d5ab8465988_cc6c764c-49ad-4746-9179-24bbe992edbf.webp?v=1714888781"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41903227863139,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31484438052963,"product_id":7414004744291,"position":4,"created_at":"2024-05-05T13:59:27+08:00","updated_at":"2024-05-05T13:59:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ef88eeb31cb6b7b9d5d4c03f3e52d5927be467_a146b65e-b77b-4b89-89d6-ac6770b2a321.webp?v=1714888767","variant_ids":[41903227863139]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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":"MPB0122824-YF08","featured_media":{"alt":null,"id":23889732108387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ef88eeb31cb6b7b9d5d4c03f3e52d5927be467_a146b65e-b77b-4b89-89d6-ac6770b2a321.webp?v=1714888767"}},"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: "停產" }