$product = {"id":7407925690467,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 大自然的傑作(斯瓦爾巴冰川)","handle":"iphone-14-pro-mod-nx-printable-af10","description":null,"published_at":"2024-06-11T16:26:43+08:00","created_at":"2024-05-03T11:17:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Look","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-look","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-look","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":41880610373731,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470718353507,"product_id":7407925690467,"position":7,"created_at":"2024-05-03T11:17:27+08:00","updated_at":"2024-05-03T11:17:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5286de4c6c055154598535faf8dd27e32ff4db02_4ab383c0-1899-4f20-96ca-9ed48cfc5991.webp?v=1714706247","variant_ids":[41880610373731]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 大自然的傑作(斯瓦爾巴冰川) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-AF10","featured_media":{"alt":null,"id":23875622404195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5286de4c6c055154598535faf8dd27e32ff4db02_4ab383c0-1899-4f20-96ca-9ed48cfc5991.webp?v=1714706247"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880610439267,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470717468771,"product_id":7407925690467,"position":5,"created_at":"2024-05-03T11:17:23+08:00","updated_at":"2024-05-03T11:17:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d7162f9a5961d063f6ee531a32e215f5f7200_189e3c7d-b693-49f6-842a-49c7d6ba1c2d.webp?v=1714706243","variant_ids":[41880610439267]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 大自然的傑作(斯瓦爾巴冰川) - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-AF10","featured_media":{"alt":null,"id":23875621519459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d7162f9a5961d063f6ee531a32e215f5f7200_189e3c7d-b693-49f6-842a-49c7d6ba1c2d.webp?v=1714706243"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880610668643,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470717010019,"product_id":7407925690467,"position":4,"created_at":"2024-05-03T11:17:20+08:00","updated_at":"2024-05-03T11:17:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eedfcd28cbfd18d7630dce28d571b994630d2604_6850f8a0-8be0-466e-9652-86d2ee088e0f.webp?v=1714706240","variant_ids":[41880610668643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 大自然的傑作(斯瓦爾巴冰川) - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-AF10","featured_media":{"alt":null,"id":23875621093475,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eedfcd28cbfd18d7630dce28d571b994630d2604_6850f8a0-8be0-466e-9652-86d2ee088e0f.webp?v=1714706240"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd4566b7d5dd24e3a965aedbc38e3378e65ac7cd_e1ceeb85-524e-4d8f-a596-3eccc4add7ac.webp?v=1714706233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/400448068a8ae20370c75b999cef838b485c0f1e_41c8542e-d6b6-4c8d-962a-364b65867126.webp?v=1714706235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3107b2dd501f9df43a24b6454b275be5bbf307e6_d37da592-33f1-4d9d-92f6-88b7de2b50e5.webp?v=1714706238","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eedfcd28cbfd18d7630dce28d571b994630d2604_6850f8a0-8be0-466e-9652-86d2ee088e0f.webp?v=1714706240","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d7162f9a5961d063f6ee531a32e215f5f7200_189e3c7d-b693-49f6-842a-49c7d6ba1c2d.webp?v=1714706243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba9514a680449337e546f5b85b6864a44cf305d_8fb55a06-e3d8-4242-883f-83283fc827c9.webp?v=1714706245","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5286de4c6c055154598535faf8dd27e32ff4db02_4ab383c0-1899-4f20-96ca-9ed48cfc5991.webp?v=1714706247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77857d82e0511a5bcfac739dc7eb4dfac1c1101d_33d7075c-8f80-4cf1-993b-8d7a8c22eeae.webp?v=1714706250","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95b947a18fba84d04b5cdbb4886ea8b6a2b583a4_1da0712c-d0c6-4129-b59d-b1415321abec.webp?v=1714706252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c68fa1d63afaa31aee44c8ff7e3fe7035275245_2e8634e7-d2a1-4d99-b13b-c6da77922126.webp?v=1714706255"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd4566b7d5dd24e3a965aedbc38e3378e65ac7cd_e1ceeb85-524e-4d8f-a596-3eccc4add7ac.webp?v=1714706233","options":["color"],"media":[{"alt":null,"id":23875619684451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd4566b7d5dd24e3a965aedbc38e3378e65ac7cd_e1ceeb85-524e-4d8f-a596-3eccc4add7ac.webp?v=1714706233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd4566b7d5dd24e3a965aedbc38e3378e65ac7cd_e1ceeb85-524e-4d8f-a596-3eccc4add7ac.webp?v=1714706233","width":2000},{"alt":null,"id":23875620110435,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/400448068a8ae20370c75b999cef838b485c0f1e_41c8542e-d6b6-4c8d-962a-364b65867126.webp?v=1714706235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/400448068a8ae20370c75b999cef838b485c0f1e_41c8542e-d6b6-4c8d-962a-364b65867126.webp?v=1714706235","width":2000},{"alt":null,"id":23875620569187,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3107b2dd501f9df43a24b6454b275be5bbf307e6_d37da592-33f1-4d9d-92f6-88b7de2b50e5.webp?v=1714706238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3107b2dd501f9df43a24b6454b275be5bbf307e6_d37da592-33f1-4d9d-92f6-88b7de2b50e5.webp?v=1714706238","width":2000},{"alt":null,"id":23875621093475,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eedfcd28cbfd18d7630dce28d571b994630d2604_6850f8a0-8be0-466e-9652-86d2ee088e0f.webp?v=1714706240"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eedfcd28cbfd18d7630dce28d571b994630d2604_6850f8a0-8be0-466e-9652-86d2ee088e0f.webp?v=1714706240","width":2000},{"alt":null,"id":23875621519459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d7162f9a5961d063f6ee531a32e215f5f7200_189e3c7d-b693-49f6-842a-49c7d6ba1c2d.webp?v=1714706243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d7162f9a5961d063f6ee531a32e215f5f7200_189e3c7d-b693-49f6-842a-49c7d6ba1c2d.webp?v=1714706243","width":2000},{"alt":null,"id":23875622010979,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba9514a680449337e546f5b85b6864a44cf305d_8fb55a06-e3d8-4242-883f-83283fc827c9.webp?v=1714706245"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba9514a680449337e546f5b85b6864a44cf305d_8fb55a06-e3d8-4242-883f-83283fc827c9.webp?v=1714706245","width":2000},{"alt":null,"id":23875622404195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5286de4c6c055154598535faf8dd27e32ff4db02_4ab383c0-1899-4f20-96ca-9ed48cfc5991.webp?v=1714706247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5286de4c6c055154598535faf8dd27e32ff4db02_4ab383c0-1899-4f20-96ca-9ed48cfc5991.webp?v=1714706247","width":2000},{"alt":null,"id":23875622830179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77857d82e0511a5bcfac739dc7eb4dfac1c1101d_33d7075c-8f80-4cf1-993b-8d7a8c22eeae.webp?v=1714706250"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77857d82e0511a5bcfac739dc7eb4dfac1c1101d_33d7075c-8f80-4cf1-993b-8d7a8c22eeae.webp?v=1714706250","width":2000},{"alt":null,"id":23875623649379,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95b947a18fba84d04b5cdbb4886ea8b6a2b583a4_1da0712c-d0c6-4129-b59d-b1415321abec.webp?v=1714706252"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95b947a18fba84d04b5cdbb4886ea8b6a2b583a4_1da0712c-d0c6-4129-b59d-b1415321abec.webp?v=1714706252","width":2000},{"alt":null,"id":23875624271971,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c68fa1d63afaa31aee44c8ff7e3fe7035275245_2e8634e7-d2a1-4d99-b13b-c6da77922126.webp?v=1714706255"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c68fa1d63afaa31aee44c8ff7e3fe7035275245_2e8634e7-d2a1-4d99-b13b-c6da77922126.webp?v=1714706255","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880610373731,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470718353507,"product_id":7407925690467,"position":7,"created_at":"2024-05-03T11:17:27+08:00","updated_at":"2024-05-03T11:17:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5286de4c6c055154598535faf8dd27e32ff4db02_4ab383c0-1899-4f20-96ca-9ed48cfc5991.webp?v=1714706247","variant_ids":[41880610373731]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 大自然的傑作(斯瓦爾巴冰川) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-AF10","featured_media":{"alt":null,"id":23875622404195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5286de4c6c055154598535faf8dd27e32ff4db02_4ab383c0-1899-4f20-96ca-9ed48cfc5991.webp?v=1714706247"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880610439267,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470717468771,"product_id":7407925690467,"position":5,"created_at":"2024-05-03T11:17:23+08:00","updated_at":"2024-05-03T11:17:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d7162f9a5961d063f6ee531a32e215f5f7200_189e3c7d-b693-49f6-842a-49c7d6ba1c2d.webp?v=1714706243","variant_ids":[41880610439267]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 大自然的傑作(斯瓦爾巴冰川) - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-AF10","featured_media":{"alt":null,"id":23875621519459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d7162f9a5961d063f6ee531a32e215f5f7200_189e3c7d-b693-49f6-842a-49c7d6ba1c2d.webp?v=1714706243"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880610668643,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470717010019,"product_id":7407925690467,"position":4,"created_at":"2024-05-03T11:17:20+08:00","updated_at":"2024-05-03T11:17:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eedfcd28cbfd18d7630dce28d571b994630d2604_6850f8a0-8be0-466e-9652-86d2ee088e0f.webp?v=1714706240","variant_ids":[41880610668643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 大自然的傑作(斯瓦爾巴冰川) - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-AF10","featured_media":{"alt":null,"id":23875621093475,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eedfcd28cbfd18d7630dce28d571b994630d2604_6850f8a0-8be0-466e-9652-86d2ee088e0f.webp?v=1714706240"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880610373731,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470718353507,"product_id":7407925690467,"position":7,"created_at":"2024-05-03T11:17:27+08:00","updated_at":"2024-05-03T11:17:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5286de4c6c055154598535faf8dd27e32ff4db02_4ab383c0-1899-4f20-96ca-9ed48cfc5991.webp?v=1714706247","variant_ids":[41880610373731]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 大自然的傑作(斯瓦爾巴冰川) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-AF10","featured_media":{"alt":null,"id":23875622404195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5286de4c6c055154598535faf8dd27e32ff4db02_4ab383c0-1899-4f20-96ca-9ed48cfc5991.webp?v=1714706247"}},"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: "停產" }