$product = {"id":7411454181475,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - POP全載具2-黑","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb11","description":null,"published_at":"2024-06-11T17:45:28+08:00","created_at":"2024-05-05T00:32:53+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","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":41899098701923,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480466538595,"product_id":7411454181475,"position":7,"created_at":"2024-05-05T00:33:10+08:00","updated_at":"2024-05-05T00:33:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8d000598dd3f080afbc0e1fc8347462fd0266b9_605242fb-1371-495a-a072-48235a55cc3d.webp?v=1714840390","variant_ids":[41899098701923]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23885718323299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8d000598dd3f080afbc0e1fc8347462fd0266b9_605242fb-1371-495a-a072-48235a55cc3d.webp?v=1714840390"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899098767459,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480465850467,"product_id":7411454181475,"position":6,"created_at":"2024-05-05T00:33:08+08:00","updated_at":"2024-05-05T00:33:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eadbb29ad0c376294303f4275d6f55fa93d60670_e6000c2e-a882-4863-b0a4-540e12034473.webp?v=1714840388","variant_ids":[41899098767459]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23885717700707,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eadbb29ad0c376294303f4275d6f55fa93d60670_e6000c2e-a882-4863-b0a4-540e12034473.webp?v=1714840388"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899098996835,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480464867427,"product_id":7411454181475,"position":4,"created_at":"2024-05-05T00:33:03+08:00","updated_at":"2024-05-05T00:33:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e765a4fd50e393477c0af5184e2f4b8ee8977dfc_b1691287-c49f-4381-ad0e-3c4602116693.webp?v=1714840383","variant_ids":[41899098996835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23885716684899,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e765a4fd50e393477c0af5184e2f4b8ee8977dfc_b1691287-c49f-4381-ad0e-3c4602116693.webp?v=1714840383"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d067b56995b70345f8cf6b9e8a40ea6494735e72_f61f01b5-933e-400b-bc1b-f89e3038471f.webp?v=1714840376","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e78f2e488f3c3e7c9f48f231ed3df9a7a3e2b92_c304d2f4-a583-4c36-b4b8-65e5b707fa75.webp?v=1714840378","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e0aef5a3b6b126099e09e6141f287a7c336083_cb829055-d760-409c-ae59-227d3a869c08.webp?v=1714840380","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e765a4fd50e393477c0af5184e2f4b8ee8977dfc_b1691287-c49f-4381-ad0e-3c4602116693.webp?v=1714840383","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1022904f3abd88b627f104810009a3db31d41784_0c1a1974-b40a-45c0-a5a4-27409c59d645.webp?v=1714840386","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eadbb29ad0c376294303f4275d6f55fa93d60670_e6000c2e-a882-4863-b0a4-540e12034473.webp?v=1714840388","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8d000598dd3f080afbc0e1fc8347462fd0266b9_605242fb-1371-495a-a072-48235a55cc3d.webp?v=1714840390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a66dcf744e2a1f7f9da2f0eb0a2533d54423cb27_6f257495-8527-4e78-ac97-79fb37afba4c.webp?v=1714840393","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6362bfd1b02b8fa4bb97728808ae3de466d4a858_8cc58152-d5c2-4e74-970f-3dcd212ea6c9.webp?v=1714840395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/202b3caa88b05808b105271f5274e9eaec9d4c1a_375ef728-be83-4a35-a797-c4bc0b1841e0.webp?v=1714840397"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d067b56995b70345f8cf6b9e8a40ea6494735e72_f61f01b5-933e-400b-bc1b-f89e3038471f.webp?v=1714840376","options":["color"],"media":[{"alt":null,"id":23885715112035,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d067b56995b70345f8cf6b9e8a40ea6494735e72_f61f01b5-933e-400b-bc1b-f89e3038471f.webp?v=1714840376"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d067b56995b70345f8cf6b9e8a40ea6494735e72_f61f01b5-933e-400b-bc1b-f89e3038471f.webp?v=1714840376","width":2000},{"alt":null,"id":23885715636323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e78f2e488f3c3e7c9f48f231ed3df9a7a3e2b92_c304d2f4-a583-4c36-b4b8-65e5b707fa75.webp?v=1714840378"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e78f2e488f3c3e7c9f48f231ed3df9a7a3e2b92_c304d2f4-a583-4c36-b4b8-65e5b707fa75.webp?v=1714840378","width":2000},{"alt":null,"id":23885716095075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e0aef5a3b6b126099e09e6141f287a7c336083_cb829055-d760-409c-ae59-227d3a869c08.webp?v=1714840380"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e0aef5a3b6b126099e09e6141f287a7c336083_cb829055-d760-409c-ae59-227d3a869c08.webp?v=1714840380","width":2000},{"alt":null,"id":23885716684899,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e765a4fd50e393477c0af5184e2f4b8ee8977dfc_b1691287-c49f-4381-ad0e-3c4602116693.webp?v=1714840383"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e765a4fd50e393477c0af5184e2f4b8ee8977dfc_b1691287-c49f-4381-ad0e-3c4602116693.webp?v=1714840383","width":2000},{"alt":null,"id":23885717209187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1022904f3abd88b627f104810009a3db31d41784_0c1a1974-b40a-45c0-a5a4-27409c59d645.webp?v=1714840386"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1022904f3abd88b627f104810009a3db31d41784_0c1a1974-b40a-45c0-a5a4-27409c59d645.webp?v=1714840386","width":2000},{"alt":null,"id":23885717700707,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eadbb29ad0c376294303f4275d6f55fa93d60670_e6000c2e-a882-4863-b0a4-540e12034473.webp?v=1714840388"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eadbb29ad0c376294303f4275d6f55fa93d60670_e6000c2e-a882-4863-b0a4-540e12034473.webp?v=1714840388","width":2000},{"alt":null,"id":23885718323299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8d000598dd3f080afbc0e1fc8347462fd0266b9_605242fb-1371-495a-a072-48235a55cc3d.webp?v=1714840390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8d000598dd3f080afbc0e1fc8347462fd0266b9_605242fb-1371-495a-a072-48235a55cc3d.webp?v=1714840390","width":2000},{"alt":null,"id":23885718716515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a66dcf744e2a1f7f9da2f0eb0a2533d54423cb27_6f257495-8527-4e78-ac97-79fb37afba4c.webp?v=1714840393"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a66dcf744e2a1f7f9da2f0eb0a2533d54423cb27_6f257495-8527-4e78-ac97-79fb37afba4c.webp?v=1714840393","width":2000},{"alt":null,"id":23885719175267,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6362bfd1b02b8fa4bb97728808ae3de466d4a858_8cc58152-d5c2-4e74-970f-3dcd212ea6c9.webp?v=1714840395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6362bfd1b02b8fa4bb97728808ae3de466d4a858_8cc58152-d5c2-4e74-970f-3dcd212ea6c9.webp?v=1714840395","width":2000},{"alt":null,"id":23885719568483,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/202b3caa88b05808b105271f5274e9eaec9d4c1a_375ef728-be83-4a35-a797-c4bc0b1841e0.webp?v=1714840397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/202b3caa88b05808b105271f5274e9eaec9d4c1a_375ef728-be83-4a35-a797-c4bc0b1841e0.webp?v=1714840397","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41899098701923,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480466538595,"product_id":7411454181475,"position":7,"created_at":"2024-05-05T00:33:10+08:00","updated_at":"2024-05-05T00:33:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8d000598dd3f080afbc0e1fc8347462fd0266b9_605242fb-1371-495a-a072-48235a55cc3d.webp?v=1714840390","variant_ids":[41899098701923]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23885718323299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8d000598dd3f080afbc0e1fc8347462fd0266b9_605242fb-1371-495a-a072-48235a55cc3d.webp?v=1714840390"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899098767459,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480465850467,"product_id":7411454181475,"position":6,"created_at":"2024-05-05T00:33:08+08:00","updated_at":"2024-05-05T00:33:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eadbb29ad0c376294303f4275d6f55fa93d60670_e6000c2e-a882-4863-b0a4-540e12034473.webp?v=1714840388","variant_ids":[41899098767459]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23885717700707,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eadbb29ad0c376294303f4275d6f55fa93d60670_e6000c2e-a882-4863-b0a4-540e12034473.webp?v=1714840388"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899098996835,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480464867427,"product_id":7411454181475,"position":4,"created_at":"2024-05-05T00:33:03+08:00","updated_at":"2024-05-05T00:33:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e765a4fd50e393477c0af5184e2f4b8ee8977dfc_b1691287-c49f-4381-ad0e-3c4602116693.webp?v=1714840383","variant_ids":[41899098996835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23885716684899,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e765a4fd50e393477c0af5184e2f4b8ee8977dfc_b1691287-c49f-4381-ad0e-3c4602116693.webp?v=1714840383"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41899098701923,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480466538595,"product_id":7411454181475,"position":7,"created_at":"2024-05-05T00:33:10+08:00","updated_at":"2024-05-05T00:33:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8d000598dd3f080afbc0e1fc8347462fd0266b9_605242fb-1371-495a-a072-48235a55cc3d.webp?v=1714840390","variant_ids":[41899098701923]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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-PB11","featured_media":{"alt":null,"id":23885718323299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8d000598dd3f080afbc0e1fc8347462fd0266b9_605242fb-1371-495a-a072-48235a55cc3d.webp?v=1714840390"}},"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: "停產" }