$product = {"id":7411214483555,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Look - 大自然的傑作(亞馬遜雨林)","handle":"iphone-14-pro-mod-nx-magsafe-printable-af09","description":null,"published_at":"2024-06-11T17:38:58+08:00","created_at":"2024-05-04T23:46:48+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Look","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-look","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-look","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":41896080310371,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-AF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31479868522595,"product_id":7411214483555,"position":7,"created_at":"2024-05-04T23:47:05+08:00","updated_at":"2024-05-04T23:47:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b013a767f1e774e77e25b59606814f5d67980356_af174b42-cf83-4a2f-be33-1e8056fe6d1f.webp?v=1714837625","variant_ids":[41896080310371]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Look - 大自然的傑作(亞馬遜雨林) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-AF09","featured_media":{"alt":null,"id":23885118865507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b013a767f1e774e77e25b59606814f5d67980356_af174b42-cf83-4a2f-be33-1e8056fe6d1f.webp?v=1714837625"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896080408675,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-AF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31479867998307,"product_id":7411214483555,"position":6,"created_at":"2024-05-04T23:47:03+08:00","updated_at":"2024-05-04T23:47:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a06eb95c1ae12b1eae7265bb8fd788a0fb1fe8c_ebb4df7c-5dd9-4b75-8ec2-443d02b8bc6a.webp?v=1714837623","variant_ids":[41896080408675]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Look - 大自然的傑作(亞馬遜雨林) - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-AF09","featured_media":{"alt":null,"id":23885118406755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a06eb95c1ae12b1eae7265bb8fd788a0fb1fe8c_ebb4df7c-5dd9-4b75-8ec2-443d02b8bc6a.webp?v=1714837623"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896080638051,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-AF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31479866392675,"product_id":7411214483555,"position":3,"created_at":"2024-05-04T23:46:56+08:00","updated_at":"2024-05-04T23:46:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd5ac658c51c45f71bfa0cb3afd3ead6459f596_c28fa622-37c3-4710-a9ec-b212beaf8d00.webp?v=1714837616","variant_ids":[41896080638051]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Look - 大自然的傑作(亞馬遜雨林) - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-AF09","featured_media":{"alt":null,"id":23885116735587,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd5ac658c51c45f71bfa0cb3afd3ead6459f596_c28fa622-37c3-4710-a9ec-b212beaf8d00.webp?v=1714837616"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21fe98dedf6c11221d9275013206f129a4bf002e_f10afad4-eb62-408d-9cac-a3799084dd52.webp?v=1714837611","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ffb3c3c36adfcad38a5595da0f10eaf0543499_83f1e3e0-24df-478d-8ea4-ffcf357e635d.webp?v=1714837613","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd5ac658c51c45f71bfa0cb3afd3ead6459f596_c28fa622-37c3-4710-a9ec-b212beaf8d00.webp?v=1714837616","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f07289aef2193be521652e8ecb7a745309f5e3b_a1367e22-f3da-4169-95d6-e9ee1b9c78d8.webp?v=1714837618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8eb18ef0c01228636f1240902ce5224bd356e2f_e108862f-ce86-4e55-8dbf-b17eb816764f.webp?v=1714837620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a06eb95c1ae12b1eae7265bb8fd788a0fb1fe8c_ebb4df7c-5dd9-4b75-8ec2-443d02b8bc6a.webp?v=1714837623","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b013a767f1e774e77e25b59606814f5d67980356_af174b42-cf83-4a2f-be33-1e8056fe6d1f.webp?v=1714837625","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695bfb00ce7fed3dea2473f39f835f45daca1750_9fbc5180-e16c-46db-afbc-6b3ffc73a984.webp?v=1714837628","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0e15227316a2b6da5db739118e8badb2099d2e_1a2d2b8a-8e3b-49e6-b199-035177b5b640.webp?v=1714837630","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9caee4cb7fcc1ce1f1825d20ffa9859cb864d957_a1320ca5-d55c-4424-87b6-ddddada048e9.webp?v=1714837633"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21fe98dedf6c11221d9275013206f129a4bf002e_f10afad4-eb62-408d-9cac-a3799084dd52.webp?v=1714837611","options":["color"],"media":[{"alt":null,"id":23885115457635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21fe98dedf6c11221d9275013206f129a4bf002e_f10afad4-eb62-408d-9cac-a3799084dd52.webp?v=1714837611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21fe98dedf6c11221d9275013206f129a4bf002e_f10afad4-eb62-408d-9cac-a3799084dd52.webp?v=1714837611","width":2000},{"alt":null,"id":23885116080227,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ffb3c3c36adfcad38a5595da0f10eaf0543499_83f1e3e0-24df-478d-8ea4-ffcf357e635d.webp?v=1714837613"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ffb3c3c36adfcad38a5595da0f10eaf0543499_83f1e3e0-24df-478d-8ea4-ffcf357e635d.webp?v=1714837613","width":2000},{"alt":null,"id":23885116735587,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd5ac658c51c45f71bfa0cb3afd3ead6459f596_c28fa622-37c3-4710-a9ec-b212beaf8d00.webp?v=1714837616"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd5ac658c51c45f71bfa0cb3afd3ead6459f596_c28fa622-37c3-4710-a9ec-b212beaf8d00.webp?v=1714837616","width":2000},{"alt":null,"id":23885117259875,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f07289aef2193be521652e8ecb7a745309f5e3b_a1367e22-f3da-4169-95d6-e9ee1b9c78d8.webp?v=1714837618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f07289aef2193be521652e8ecb7a745309f5e3b_a1367e22-f3da-4169-95d6-e9ee1b9c78d8.webp?v=1714837618","width":2000},{"alt":null,"id":23885117718627,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8eb18ef0c01228636f1240902ce5224bd356e2f_e108862f-ce86-4e55-8dbf-b17eb816764f.webp?v=1714837620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8eb18ef0c01228636f1240902ce5224bd356e2f_e108862f-ce86-4e55-8dbf-b17eb816764f.webp?v=1714837620","width":2000},{"alt":null,"id":23885118406755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a06eb95c1ae12b1eae7265bb8fd788a0fb1fe8c_ebb4df7c-5dd9-4b75-8ec2-443d02b8bc6a.webp?v=1714837623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a06eb95c1ae12b1eae7265bb8fd788a0fb1fe8c_ebb4df7c-5dd9-4b75-8ec2-443d02b8bc6a.webp?v=1714837623","width":2000},{"alt":null,"id":23885118865507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b013a767f1e774e77e25b59606814f5d67980356_af174b42-cf83-4a2f-be33-1e8056fe6d1f.webp?v=1714837625"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b013a767f1e774e77e25b59606814f5d67980356_af174b42-cf83-4a2f-be33-1e8056fe6d1f.webp?v=1714837625","width":2000},{"alt":null,"id":23885119553635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695bfb00ce7fed3dea2473f39f835f45daca1750_9fbc5180-e16c-46db-afbc-6b3ffc73a984.webp?v=1714837628"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695bfb00ce7fed3dea2473f39f835f45daca1750_9fbc5180-e16c-46db-afbc-6b3ffc73a984.webp?v=1714837628","width":2000},{"alt":null,"id":23885120340067,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0e15227316a2b6da5db739118e8badb2099d2e_1a2d2b8a-8e3b-49e6-b199-035177b5b640.webp?v=1714837630"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0e15227316a2b6da5db739118e8badb2099d2e_1a2d2b8a-8e3b-49e6-b199-035177b5b640.webp?v=1714837630","width":2000},{"alt":null,"id":23885120995427,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9caee4cb7fcc1ce1f1825d20ffa9859cb864d957_a1320ca5-d55c-4424-87b6-ddddada048e9.webp?v=1714837633"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9caee4cb7fcc1ce1f1825d20ffa9859cb864d957_a1320ca5-d55c-4424-87b6-ddddada048e9.webp?v=1714837633","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41896080310371,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-AF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31479868522595,"product_id":7411214483555,"position":7,"created_at":"2024-05-04T23:47:05+08:00","updated_at":"2024-05-04T23:47:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b013a767f1e774e77e25b59606814f5d67980356_af174b42-cf83-4a2f-be33-1e8056fe6d1f.webp?v=1714837625","variant_ids":[41896080310371]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Look - 大自然的傑作(亞馬遜雨林) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-AF09","featured_media":{"alt":null,"id":23885118865507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b013a767f1e774e77e25b59606814f5d67980356_af174b42-cf83-4a2f-be33-1e8056fe6d1f.webp?v=1714837625"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896080408675,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-AF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31479867998307,"product_id":7411214483555,"position":6,"created_at":"2024-05-04T23:47:03+08:00","updated_at":"2024-05-04T23:47:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a06eb95c1ae12b1eae7265bb8fd788a0fb1fe8c_ebb4df7c-5dd9-4b75-8ec2-443d02b8bc6a.webp?v=1714837623","variant_ids":[41896080408675]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Look - 大自然的傑作(亞馬遜雨林) - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-AF09","featured_media":{"alt":null,"id":23885118406755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a06eb95c1ae12b1eae7265bb8fd788a0fb1fe8c_ebb4df7c-5dd9-4b75-8ec2-443d02b8bc6a.webp?v=1714837623"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896080638051,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-AF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31479866392675,"product_id":7411214483555,"position":3,"created_at":"2024-05-04T23:46:56+08:00","updated_at":"2024-05-04T23:46:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd5ac658c51c45f71bfa0cb3afd3ead6459f596_c28fa622-37c3-4710-a9ec-b212beaf8d00.webp?v=1714837616","variant_ids":[41896080638051]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Look - 大自然的傑作(亞馬遜雨林) - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-AF09","featured_media":{"alt":null,"id":23885116735587,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd5ac658c51c45f71bfa0cb3afd3ead6459f596_c28fa622-37c3-4710-a9ec-b212beaf8d00.webp?v=1714837616"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41896080310371,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-AF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31479868522595,"product_id":7411214483555,"position":7,"created_at":"2024-05-04T23:47:05+08:00","updated_at":"2024-05-04T23:47:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b013a767f1e774e77e25b59606814f5d67980356_af174b42-cf83-4a2f-be33-1e8056fe6d1f.webp?v=1714837625","variant_ids":[41896080310371]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Look - 大自然的傑作(亞馬遜雨林) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-AF09","featured_media":{"alt":null,"id":23885118865507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b013a767f1e774e77e25b59606814f5d67980356_af174b42-cf83-4a2f-be33-1e8056fe6d1f.webp?v=1714837625"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }