$product = {"id":7155921584227,"title":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Plus - 【聯名設計款】 - 1G - 生日8","handle":"iphone-15-plus-jellytint-iv02","description":null,"published_at":"2024-02-02T09:58:40+08:00","created_at":"2024-01-23T17:17:46+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-1G","tags":["20%","20240304-reseller-\u003ereplace_to-","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone 15 Plus","merge","reseller-jellytint-1chun","Top50","type-jellytint"],"price":108000,"price_min":108000,"price_max":108000,"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":41197335543907,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012960G-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":30846637703267,"product_id":7155921584227,"position":11,"created_at":"2024-01-26T15:38:21+08:00","updated_at":"2024-01-26T15:38:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701","variant_ids":[41197335543907,41197335609443,41197335642211]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Plus - 【聯名設計款】 - 1G - 生日8 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012960G-IV02","featured_media":{"alt":null,"id":23217714823267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197335609443,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012960I-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":30846637703267,"product_id":7155921584227,"position":11,"created_at":"2024-01-26T15:38:21+08:00","updated_at":"2024-01-26T15:38:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701","variant_ids":[41197335543907,41197335609443,41197335642211]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Plus - 【聯名設計款】 - 1G - 生日8 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012960I-IV02","featured_media":{"alt":null,"id":23217714823267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197335642211,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012960J-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":30846637703267,"product_id":7155921584227,"position":11,"created_at":"2024-01-26T15:38:21+08:00","updated_at":"2024-01-26T15:38:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701","variant_ids":[41197335543907,41197335609443,41197335642211]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Plus - 【聯名設計款】 - 1G - 生日8 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012960J-IV02","featured_media":{"alt":null,"id":23217714823267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93d1938a8e885299d6fc860b5c5a3aa2274e6011_674f1678-a864-4dd4-b81d-c6bb0d3fce19.webp?v=1706001473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/599975cc910769cdd7a622d1ba87fc1a04b7da8d_a0047e77-e5cc-44a6-8418-f98265eabd7d.webp?v=1706001475","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88c3b8d3af7de30f97cfc75afafb0267802549a2_80a2df6c-8e0a-454b-9d96-d7a2f6136336.webp?v=1706001477","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cacde099bbd4ad142fa7f47c7f85767add2203ee_352a1beb-28b4-4327-b4f9-c3315c47775c.webp?v=1706001480","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560f2ad5cbcecf8af37fb946364029d37463deec_493b86ab-2a09-4ffa-9058-8e4b6abb907f.webp?v=1706001482","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14f5f53205dd89de056f5735c1c6a92e18198bb1_e88ecadd-7ff0-4f0a-bcdb-a6f0a37f28ff.webp?v=1706001484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88c3b8d3af7de30f97cfc75afafb0267802549a2.webp?v=1706062771","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215b5fba71752b770d505cb650f2d73fcbb127ad.webp?v=1706062773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14f5f53205dd89de056f5735c1c6a92e18198bb1_3247137e-80e9-49e4-86e3-8e765c311a3d.webp?v=1706062776","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560f2ad5cbcecf8af37fb946364029d37463deec.webp?v=1706062778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93d1938a8e885299d6fc860b5c5a3aa2274e6011_674f1678-a864-4dd4-b81d-c6bb0d3fce19.webp?v=1706001473","options":["color"],"media":[{"alt":null,"id":23202176237667,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93d1938a8e885299d6fc860b5c5a3aa2274e6011_674f1678-a864-4dd4-b81d-c6bb0d3fce19.webp?v=1706001473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93d1938a8e885299d6fc860b5c5a3aa2274e6011_674f1678-a864-4dd4-b81d-c6bb0d3fce19.webp?v=1706001473","width":2000},{"alt":null,"id":23202176827491,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/599975cc910769cdd7a622d1ba87fc1a04b7da8d_a0047e77-e5cc-44a6-8418-f98265eabd7d.webp?v=1706001475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/599975cc910769cdd7a622d1ba87fc1a04b7da8d_a0047e77-e5cc-44a6-8418-f98265eabd7d.webp?v=1706001475","width":2000},{"alt":null,"id":23202177417315,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88c3b8d3af7de30f97cfc75afafb0267802549a2_80a2df6c-8e0a-454b-9d96-d7a2f6136336.webp?v=1706001477"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88c3b8d3af7de30f97cfc75afafb0267802549a2_80a2df6c-8e0a-454b-9d96-d7a2f6136336.webp?v=1706001477","width":2000},{"alt":null,"id":23202178531427,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cacde099bbd4ad142fa7f47c7f85767add2203ee_352a1beb-28b4-4327-b4f9-c3315c47775c.webp?v=1706001480"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cacde099bbd4ad142fa7f47c7f85767add2203ee_352a1beb-28b4-4327-b4f9-c3315c47775c.webp?v=1706001480","width":2000},{"alt":null,"id":23202179055715,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560f2ad5cbcecf8af37fb946364029d37463deec_493b86ab-2a09-4ffa-9058-8e4b6abb907f.webp?v=1706001482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560f2ad5cbcecf8af37fb946364029d37463deec_493b86ab-2a09-4ffa-9058-8e4b6abb907f.webp?v=1706001482","width":2000},{"alt":null,"id":23202179711075,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14f5f53205dd89de056f5735c1c6a92e18198bb1_e88ecadd-7ff0-4f0a-bcdb-a6f0a37f28ff.webp?v=1706001484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14f5f53205dd89de056f5735c1c6a92e18198bb1_e88ecadd-7ff0-4f0a-bcdb-a6f0a37f28ff.webp?v=1706001484","width":2000},{"alt":null,"id":23207225819235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88c3b8d3af7de30f97cfc75afafb0267802549a2.webp?v=1706062771"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88c3b8d3af7de30f97cfc75afafb0267802549a2.webp?v=1706062771","width":2000},{"alt":null,"id":23207226933347,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215b5fba71752b770d505cb650f2d73fcbb127ad.webp?v=1706062773"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215b5fba71752b770d505cb650f2d73fcbb127ad.webp?v=1706062773","width":2000},{"alt":null,"id":23207228211299,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14f5f53205dd89de056f5735c1c6a92e18198bb1_3247137e-80e9-49e4-86e3-8e765c311a3d.webp?v=1706062776"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14f5f53205dd89de056f5735c1c6a92e18198bb1_3247137e-80e9-49e4-86e3-8e765c311a3d.webp?v=1706062776","width":2000},{"alt":null,"id":23207229161571,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560f2ad5cbcecf8af37fb946364029d37463deec.webp?v=1706062778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560f2ad5cbcecf8af37fb946364029d37463deec.webp?v=1706062778","width":2000},{"alt":null,"id":23217714823267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41197335543907,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012960G-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":30846637703267,"product_id":7155921584227,"position":11,"created_at":"2024-01-26T15:38:21+08:00","updated_at":"2024-01-26T15:38:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701","variant_ids":[41197335543907,41197335609443,41197335642211]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Plus - 【聯名設計款】 - 1G - 生日8 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012960G-IV02","featured_media":{"alt":null,"id":23217714823267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197335609443,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012960I-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":30846637703267,"product_id":7155921584227,"position":11,"created_at":"2024-01-26T15:38:21+08:00","updated_at":"2024-01-26T15:38:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701","variant_ids":[41197335543907,41197335609443,41197335642211]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Plus - 【聯名設計款】 - 1G - 生日8 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012960I-IV02","featured_media":{"alt":null,"id":23217714823267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197335642211,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012960J-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":30846637703267,"product_id":7155921584227,"position":11,"created_at":"2024-01-26T15:38:21+08:00","updated_at":"2024-01-26T15:38:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701","variant_ids":[41197335543907,41197335609443,41197335642211]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Plus - 【聯名設計款】 - 1G - 生日8 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012960J-IV02","featured_media":{"alt":null,"id":23217714823267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41197335543907,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012960G-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":30846637703267,"product_id":7155921584227,"position":11,"created_at":"2024-01-26T15:38:21+08:00","updated_at":"2024-01-26T15:38:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701","variant_ids":[41197335543907,41197335609443,41197335642211]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Plus - 【聯名設計款】 - 1G - 生日8 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012960G-IV02","featured_media":{"alt":null,"id":23217714823267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb2f236c2cebde4daa5be330878b1947b717e08c_cbcbae42-2f63-48a2-8de5-0328fb0d7f21.webp?v=1706254701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }