$product = {"id":7407666757731,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-剪紙系列","handle":"iphone-14-pro-mod-nx-printable-pb79","description":null,"published_at":"2024-06-11T16:21:44+08:00","created_at":"2024-05-03T10:39:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","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":41877395177571,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31470181023843,"product_id":7407666757731,"position":3,"created_at":"2024-05-03T10:39:29+08:00","updated_at":"2024-05-03T10:39:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15341470dc4385cc9e20c373521b752dbb19b585_da879f97-7a87-4b71-9f83-857804154301.webp?v=1714703969","variant_ids":[41877395177571]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-剪紙系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-PB79","featured_media":{"alt":null,"id":23875083960419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15341470dc4385cc9e20c373521b752dbb19b585_da879f97-7a87-4b71-9f83-857804154301.webp?v=1714703969"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877395275875,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31470185152611,"product_id":7407666757731,"position":9,"created_at":"2024-05-03T10:39:45+08:00","updated_at":"2024-05-03T10:39:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb8c3a01c1b1214e86e3f6745e54e08e4bf6d130_014998e1-a5f8-42b7-b6df-76158b9c56ec.webp?v=1714703985","variant_ids":[41877395275875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-剪紙系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-PB79","featured_media":{"alt":null,"id":23875088089187,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb8c3a01c1b1214e86e3f6745e54e08e4bf6d130_014998e1-a5f8-42b7-b6df-76158b9c56ec.webp?v=1714703985"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877395570787,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31470179844195,"product_id":7407666757731,"position":1,"created_at":"2024-05-03T10:39:24+08:00","updated_at":"2024-05-03T10:39:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7471c72cea0593c023e9fae7c0b81469f2dce68c_8d543c15-0e24-4ae6-8303-37843d77074a.webp?v=1714703964","variant_ids":[41877395570787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-剪紙系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-PB79","featured_media":{"alt":null,"id":23875082780771,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7471c72cea0593c023e9fae7c0b81469f2dce68c_8d543c15-0e24-4ae6-8303-37843d77074a.webp?v=1714703964"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7471c72cea0593c023e9fae7c0b81469f2dce68c_8d543c15-0e24-4ae6-8303-37843d77074a.webp?v=1714703964","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd471856d9403e9ccb11080388ccbd6efa4734e8_d751a1ab-32b9-41c8-9020-1d289e6b7abe.webp?v=1714703967","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15341470dc4385cc9e20c373521b752dbb19b585_da879f97-7a87-4b71-9f83-857804154301.webp?v=1714703969","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee8118a98787922c2a464bcef9e0a53c12318d80_1ec10550-284a-4564-bf06-e0f95e18300e.webp?v=1714703972","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78eab06e0a94ca76905b5093dae6a778f4b08fce_82ae1650-4aba-4a54-9309-4769ab7340d7.webp?v=1714703974","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa27d16a2d829acd2bfab03b63bc948cc84d94d3_0b9f7635-e1fe-4952-9f62-0b282959e5d6.webp?v=1714703977","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f87ae2a93b7462d0f1de0ffb46e8059e0b9c20_3fc993e9-9b99-401e-a76f-a4a4dfd8ac4a.webp?v=1714703980","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f48988f87b8d0455de81e11cfa66872b2996ae_e61e178a-124c-47fa-8e48-601148d071c4.webp?v=1714703982","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb8c3a01c1b1214e86e3f6745e54e08e4bf6d130_014998e1-a5f8-42b7-b6df-76158b9c56ec.webp?v=1714703985","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df64bad080476482521312264bf78b9d24eabb17_e558cc59-1cf6-4b9b-b5f9-e14a027f6f2b.webp?v=1714703987"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7471c72cea0593c023e9fae7c0b81469f2dce68c_8d543c15-0e24-4ae6-8303-37843d77074a.webp?v=1714703964","options":["color"],"media":[{"alt":null,"id":23875082780771,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7471c72cea0593c023e9fae7c0b81469f2dce68c_8d543c15-0e24-4ae6-8303-37843d77074a.webp?v=1714703964"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7471c72cea0593c023e9fae7c0b81469f2dce68c_8d543c15-0e24-4ae6-8303-37843d77074a.webp?v=1714703964","width":2000},{"alt":null,"id":23875083370595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd471856d9403e9ccb11080388ccbd6efa4734e8_d751a1ab-32b9-41c8-9020-1d289e6b7abe.webp?v=1714703967"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd471856d9403e9ccb11080388ccbd6efa4734e8_d751a1ab-32b9-41c8-9020-1d289e6b7abe.webp?v=1714703967","width":2000},{"alt":null,"id":23875083960419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15341470dc4385cc9e20c373521b752dbb19b585_da879f97-7a87-4b71-9f83-857804154301.webp?v=1714703969"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15341470dc4385cc9e20c373521b752dbb19b585_da879f97-7a87-4b71-9f83-857804154301.webp?v=1714703969","width":2000},{"alt":null,"id":23875084845155,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee8118a98787922c2a464bcef9e0a53c12318d80_1ec10550-284a-4564-bf06-e0f95e18300e.webp?v=1714703972"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee8118a98787922c2a464bcef9e0a53c12318d80_1ec10550-284a-4564-bf06-e0f95e18300e.webp?v=1714703972","width":2000},{"alt":null,"id":23875085369443,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78eab06e0a94ca76905b5093dae6a778f4b08fce_82ae1650-4aba-4a54-9309-4769ab7340d7.webp?v=1714703974"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78eab06e0a94ca76905b5093dae6a778f4b08fce_82ae1650-4aba-4a54-9309-4769ab7340d7.webp?v=1714703974","width":2000},{"alt":null,"id":23875086057571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa27d16a2d829acd2bfab03b63bc948cc84d94d3_0b9f7635-e1fe-4952-9f62-0b282959e5d6.webp?v=1714703977"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa27d16a2d829acd2bfab03b63bc948cc84d94d3_0b9f7635-e1fe-4952-9f62-0b282959e5d6.webp?v=1714703977","width":2000},{"alt":null,"id":23875086745699,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f87ae2a93b7462d0f1de0ffb46e8059e0b9c20_3fc993e9-9b99-401e-a76f-a4a4dfd8ac4a.webp?v=1714703980"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f87ae2a93b7462d0f1de0ffb46e8059e0b9c20_3fc993e9-9b99-401e-a76f-a4a4dfd8ac4a.webp?v=1714703980","width":2000},{"alt":null,"id":23875087499363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f48988f87b8d0455de81e11cfa66872b2996ae_e61e178a-124c-47fa-8e48-601148d071c4.webp?v=1714703982"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f48988f87b8d0455de81e11cfa66872b2996ae_e61e178a-124c-47fa-8e48-601148d071c4.webp?v=1714703982","width":2000},{"alt":null,"id":23875088089187,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb8c3a01c1b1214e86e3f6745e54e08e4bf6d130_014998e1-a5f8-42b7-b6df-76158b9c56ec.webp?v=1714703985"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb8c3a01c1b1214e86e3f6745e54e08e4bf6d130_014998e1-a5f8-42b7-b6df-76158b9c56ec.webp?v=1714703985","width":2000},{"alt":null,"id":23875088613475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df64bad080476482521312264bf78b9d24eabb17_e558cc59-1cf6-4b9b-b5f9-e14a027f6f2b.webp?v=1714703987"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df64bad080476482521312264bf78b9d24eabb17_e558cc59-1cf6-4b9b-b5f9-e14a027f6f2b.webp?v=1714703987","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41877395177571,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31470181023843,"product_id":7407666757731,"position":3,"created_at":"2024-05-03T10:39:29+08:00","updated_at":"2024-05-03T10:39:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15341470dc4385cc9e20c373521b752dbb19b585_da879f97-7a87-4b71-9f83-857804154301.webp?v=1714703969","variant_ids":[41877395177571]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-剪紙系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-PB79","featured_media":{"alt":null,"id":23875083960419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15341470dc4385cc9e20c373521b752dbb19b585_da879f97-7a87-4b71-9f83-857804154301.webp?v=1714703969"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877395275875,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31470185152611,"product_id":7407666757731,"position":9,"created_at":"2024-05-03T10:39:45+08:00","updated_at":"2024-05-03T10:39:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb8c3a01c1b1214e86e3f6745e54e08e4bf6d130_014998e1-a5f8-42b7-b6df-76158b9c56ec.webp?v=1714703985","variant_ids":[41877395275875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-剪紙系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-PB79","featured_media":{"alt":null,"id":23875088089187,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb8c3a01c1b1214e86e3f6745e54e08e4bf6d130_014998e1-a5f8-42b7-b6df-76158b9c56ec.webp?v=1714703985"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877395570787,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31470179844195,"product_id":7407666757731,"position":1,"created_at":"2024-05-03T10:39:24+08:00","updated_at":"2024-05-03T10:39:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7471c72cea0593c023e9fae7c0b81469f2dce68c_8d543c15-0e24-4ae6-8303-37843d77074a.webp?v=1714703964","variant_ids":[41877395570787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-剪紙系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-PB79","featured_media":{"alt":null,"id":23875082780771,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7471c72cea0593c023e9fae7c0b81469f2dce68c_8d543c15-0e24-4ae6-8303-37843d77074a.webp?v=1714703964"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41877395177571,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31470181023843,"product_id":7407666757731,"position":3,"created_at":"2024-05-03T10:39:29+08:00","updated_at":"2024-05-03T10:39:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15341470dc4385cc9e20c373521b752dbb19b585_da879f97-7a87-4b71-9f83-857804154301.webp?v=1714703969","variant_ids":[41877395177571]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-剪紙系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-PB79","featured_media":{"alt":null,"id":23875083960419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15341470dc4385cc9e20c373521b752dbb19b585_da879f97-7a87-4b71-9f83-857804154301.webp?v=1714703969"}},"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: "停產" }