$product = {"id":7411230408803,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb59","description":null,"published_at":"2024-06-11T17:39:23+08:00","created_at":"2024-05-04T23:49:46+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":41896274853987,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31479909056611,"product_id":7411230408803,"position":5,"created_at":"2024-05-04T23:49:57+08:00","updated_at":"2024-05-04T23:49:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f385bc49634910422d06b77e26cee937b501c2_c670d629-ff02-4f41-9f0b-47bcb26c7114.webp?v=1714837797","variant_ids":[41896274853987]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23885159497827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f385bc49634910422d06b77e26cee937b501c2_c670d629-ff02-4f41-9f0b-47bcb26c7114.webp?v=1714837797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896274919523,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31479907188835,"product_id":7411230408803,"position":2,"created_at":"2024-05-04T23:49:50+08:00","updated_at":"2024-05-04T23:49:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57f2760684c3d091745d4daf4d0e110f42da5c7b_d7129001-f123-4327-965e-5f647cd25792.webp?v=1714837790","variant_ids":[41896274919523]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23885157662819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57f2760684c3d091745d4daf4d0e110f42da5c7b_d7129001-f123-4327-965e-5f647cd25792.webp?v=1714837790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896275148899,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31479910432867,"product_id":7411230408803,"position":8,"created_at":"2024-05-04T23:50:04+08:00","updated_at":"2024-05-04T23:50:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ecc3baaf41661b72c8d6bfcef1c03890e1f9a74_92fb1667-9e2e-4630-859c-907f03a812d8.webp?v=1714837804","variant_ids":[41896275148899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23885160808547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ecc3baaf41661b72c8d6bfcef1c03890e1f9a74_92fb1667-9e2e-4630-859c-907f03a812d8.webp?v=1714837804"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af78bc0c150021c5eb727086931be9f346a47bfd_983f55af-4546-433c-8978-8d2fc9cd884f.webp?v=1714837788","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57f2760684c3d091745d4daf4d0e110f42da5c7b_d7129001-f123-4327-965e-5f647cd25792.webp?v=1714837790","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee3137535bd1c56d3a89cccb5ee4d8060dae5a5_f4d515dc-7db6-4a0a-b5b5-b7ec5f7a7c21.webp?v=1714837793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a2c7bff75f1a8ce5b0be78a7d1acd69c8b27486_e9ad603d-da18-4de9-bb51-28c7d79599b0.webp?v=1714837795","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f385bc49634910422d06b77e26cee937b501c2_c670d629-ff02-4f41-9f0b-47bcb26c7114.webp?v=1714837797","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48a72d80fb5b9e96c72329604ca985a369e8d183_7f00b17c-ae3d-478d-a09f-5fbb24f1308c.webp?v=1714837799","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b0863328a20b420a8be34d6700b12f9662f6d29_9db81e94-2288-4a50-835b-4a74207b9842.webp?v=1714837802","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ecc3baaf41661b72c8d6bfcef1c03890e1f9a74_92fb1667-9e2e-4630-859c-907f03a812d8.webp?v=1714837804","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecfbc3e9c8750371dbe031097d1e5f91e42ade68_5679fe10-d749-4916-ab2b-5bd03aa71f83.webp?v=1714837806","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c32e601d79af841fab38a7902f5e70c94618c92_4ed77ae4-a9ac-43bc-808c-615b55ddbf4b.webp?v=1714837809"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af78bc0c150021c5eb727086931be9f346a47bfd_983f55af-4546-433c-8978-8d2fc9cd884f.webp?v=1714837788","options":["color"],"media":[{"alt":null,"id":23885157138531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af78bc0c150021c5eb727086931be9f346a47bfd_983f55af-4546-433c-8978-8d2fc9cd884f.webp?v=1714837788"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af78bc0c150021c5eb727086931be9f346a47bfd_983f55af-4546-433c-8978-8d2fc9cd884f.webp?v=1714837788","width":2000},{"alt":null,"id":23885157662819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57f2760684c3d091745d4daf4d0e110f42da5c7b_d7129001-f123-4327-965e-5f647cd25792.webp?v=1714837790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57f2760684c3d091745d4daf4d0e110f42da5c7b_d7129001-f123-4327-965e-5f647cd25792.webp?v=1714837790","width":2000},{"alt":null,"id":23885158187107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee3137535bd1c56d3a89cccb5ee4d8060dae5a5_f4d515dc-7db6-4a0a-b5b5-b7ec5f7a7c21.webp?v=1714837793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee3137535bd1c56d3a89cccb5ee4d8060dae5a5_f4d515dc-7db6-4a0a-b5b5-b7ec5f7a7c21.webp?v=1714837793","width":2000},{"alt":null,"id":23885158842467,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a2c7bff75f1a8ce5b0be78a7d1acd69c8b27486_e9ad603d-da18-4de9-bb51-28c7d79599b0.webp?v=1714837795"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a2c7bff75f1a8ce5b0be78a7d1acd69c8b27486_e9ad603d-da18-4de9-bb51-28c7d79599b0.webp?v=1714837795","width":2000},{"alt":null,"id":23885159497827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f385bc49634910422d06b77e26cee937b501c2_c670d629-ff02-4f41-9f0b-47bcb26c7114.webp?v=1714837797"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f385bc49634910422d06b77e26cee937b501c2_c670d629-ff02-4f41-9f0b-47bcb26c7114.webp?v=1714837797","width":2000},{"alt":null,"id":23885159989347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48a72d80fb5b9e96c72329604ca985a369e8d183_7f00b17c-ae3d-478d-a09f-5fbb24f1308c.webp?v=1714837799"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48a72d80fb5b9e96c72329604ca985a369e8d183_7f00b17c-ae3d-478d-a09f-5fbb24f1308c.webp?v=1714837799","width":2000},{"alt":null,"id":23885160480867,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b0863328a20b420a8be34d6700b12f9662f6d29_9db81e94-2288-4a50-835b-4a74207b9842.webp?v=1714837802"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b0863328a20b420a8be34d6700b12f9662f6d29_9db81e94-2288-4a50-835b-4a74207b9842.webp?v=1714837802","width":2000},{"alt":null,"id":23885160808547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ecc3baaf41661b72c8d6bfcef1c03890e1f9a74_92fb1667-9e2e-4630-859c-907f03a812d8.webp?v=1714837804"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ecc3baaf41661b72c8d6bfcef1c03890e1f9a74_92fb1667-9e2e-4630-859c-907f03a812d8.webp?v=1714837804","width":2000},{"alt":null,"id":23885161496675,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecfbc3e9c8750371dbe031097d1e5f91e42ade68_5679fe10-d749-4916-ab2b-5bd03aa71f83.webp?v=1714837806"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecfbc3e9c8750371dbe031097d1e5f91e42ade68_5679fe10-d749-4916-ab2b-5bd03aa71f83.webp?v=1714837806","width":2000},{"alt":null,"id":23885161988195,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c32e601d79af841fab38a7902f5e70c94618c92_4ed77ae4-a9ac-43bc-808c-615b55ddbf4b.webp?v=1714837809"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c32e601d79af841fab38a7902f5e70c94618c92_4ed77ae4-a9ac-43bc-808c-615b55ddbf4b.webp?v=1714837809","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41896274853987,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31479909056611,"product_id":7411230408803,"position":5,"created_at":"2024-05-04T23:49:57+08:00","updated_at":"2024-05-04T23:49:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f385bc49634910422d06b77e26cee937b501c2_c670d629-ff02-4f41-9f0b-47bcb26c7114.webp?v=1714837797","variant_ids":[41896274853987]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23885159497827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f385bc49634910422d06b77e26cee937b501c2_c670d629-ff02-4f41-9f0b-47bcb26c7114.webp?v=1714837797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896274919523,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31479907188835,"product_id":7411230408803,"position":2,"created_at":"2024-05-04T23:49:50+08:00","updated_at":"2024-05-04T23:49:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57f2760684c3d091745d4daf4d0e110f42da5c7b_d7129001-f123-4327-965e-5f647cd25792.webp?v=1714837790","variant_ids":[41896274919523]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23885157662819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57f2760684c3d091745d4daf4d0e110f42da5c7b_d7129001-f123-4327-965e-5f647cd25792.webp?v=1714837790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896275148899,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31479910432867,"product_id":7411230408803,"position":8,"created_at":"2024-05-04T23:50:04+08:00","updated_at":"2024-05-04T23:50:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ecc3baaf41661b72c8d6bfcef1c03890e1f9a74_92fb1667-9e2e-4630-859c-907f03a812d8.webp?v=1714837804","variant_ids":[41896275148899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23885160808547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ecc3baaf41661b72c8d6bfcef1c03890e1f9a74_92fb1667-9e2e-4630-859c-907f03a812d8.webp?v=1714837804"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41896274853987,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB59","requires_shipping":true,"taxable":true,"featured_image":{"id":31479909056611,"product_id":7411230408803,"position":5,"created_at":"2024-05-04T23:49:57+08:00","updated_at":"2024-05-04T23:49:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f385bc49634910422d06b77e26cee937b501c2_c670d629-ff02-4f41-9f0b-47bcb26c7114.webp?v=1714837797","variant_ids":[41896274853987]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern BB8-Galaxy - 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-PB59","featured_media":{"alt":null,"id":23885159497827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f385bc49634910422d06b77e26cee937b501c2_c670d629-ff02-4f41-9f0b-47bcb26c7114.webp?v=1714837797"}},"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: "停產" }