$product = {"id":7407999352931,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-潮流系列","handle":"iphone-13-mini-mod-nx-printable-pb49","description":null,"published_at":"2024-06-11T16:28:42+08:00","created_at":"2024-05-03T11:37:48+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 13 mini","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":41881557074019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB49","requires_shipping":true,"taxable":true,"featured_image":{"id":31470927151203,"product_id":7407999352931,"position":5,"created_at":"2024-05-03T11:38:02+08:00","updated_at":"2024-05-03T11:38:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f6571080f461279333986aefbb7dfcb4a7f4cf_037593b1-82cb-42a8-babb-ecebc091a982.webp?v=1714707483","variant_ids":[41881557074019]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0122824-PB49","featured_media":{"alt":null,"id":23875831824483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f6571080f461279333986aefbb7dfcb4a7f4cf_037593b1-82cb-42a8-babb-ecebc091a982.webp?v=1714707483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881557139555,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB49","requires_shipping":true,"taxable":true,"featured_image":{"id":31470926626915,"product_id":7407999352931,"position":4,"created_at":"2024-05-03T11:38:00+08:00","updated_at":"2024-05-03T11:38:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dea46bb472b1f22f3a87d8eaf08271255dffbd0_62a48f2f-0977-41f6-b3a6-7c3274ffff46.webp?v=1714707480","variant_ids":[41881557139555]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0122804-PB49","featured_media":{"alt":null,"id":23875831332963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dea46bb472b1f22f3a87d8eaf08271255dffbd0_62a48f2f-0977-41f6-b3a6-7c3274ffff46.webp?v=1714707480"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881557368931,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB49","requires_shipping":true,"taxable":true,"featured_image":{"id":31470925512803,"product_id":7407999352931,"position":2,"created_at":"2024-05-03T11:37:54+08:00","updated_at":"2024-05-03T11:37:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea9d1f16d978f679f920a7a495dba74d3246006_7f774771-e1b8-43fc-b9ed-ab7a5e7df5d4.webp?v=1714707474","variant_ids":[41881557368931]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01228J5-PB49","featured_media":{"alt":null,"id":23875830186083,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea9d1f16d978f679f920a7a495dba74d3246006_7f774771-e1b8-43fc-b9ed-ab7a5e7df5d4.webp?v=1714707474"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562f456806e22a8e2cfed7a971840923f91a5c28_55dcb9a2-0591-4246-88c5-3eec86d756ce.webp?v=1714707471","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea9d1f16d978f679f920a7a495dba74d3246006_7f774771-e1b8-43fc-b9ed-ab7a5e7df5d4.webp?v=1714707474","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61040970d734e2423552cb17037c2107b0f9ba38_6121e4b1-311e-477d-8874-aeb195a9b944.webp?v=1714707477","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dea46bb472b1f22f3a87d8eaf08271255dffbd0_62a48f2f-0977-41f6-b3a6-7c3274ffff46.webp?v=1714707480","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f6571080f461279333986aefbb7dfcb4a7f4cf_037593b1-82cb-42a8-babb-ecebc091a982.webp?v=1714707483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ee9d0483bf1f8f031bcf57275dd3f5c28edf6c8_80d8a83b-a91d-4f00-bc03-8e7926c494c3.webp?v=1714707485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b96107138e588be993ecff29e60942fd392532_0b9cca45-b357-4f8c-b3e0-db39190aa28f.webp?v=1714707488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65a6a8c0487e8fe5761d1f318948cc16448fea8f_1ff38274-9b4d-4db1-b270-6523308b2c1a.webp?v=1714707491","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b5341e83ff6164c777ba049efa5f649ed41a40b_16bb40f0-3a33-482d-b9cf-c538e66f73a6.webp?v=1714707493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f93aed97594ba156ac07222642681b82816062a9_4b784402-9e12-442d-8709-18b4565e007f.webp?v=1714707496"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562f456806e22a8e2cfed7a971840923f91a5c28_55dcb9a2-0591-4246-88c5-3eec86d756ce.webp?v=1714707471","options":["color"],"media":[{"alt":null,"id":23875829727331,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562f456806e22a8e2cfed7a971840923f91a5c28_55dcb9a2-0591-4246-88c5-3eec86d756ce.webp?v=1714707471"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562f456806e22a8e2cfed7a971840923f91a5c28_55dcb9a2-0591-4246-88c5-3eec86d756ce.webp?v=1714707471","width":2000},{"alt":null,"id":23875830186083,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea9d1f16d978f679f920a7a495dba74d3246006_7f774771-e1b8-43fc-b9ed-ab7a5e7df5d4.webp?v=1714707474"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea9d1f16d978f679f920a7a495dba74d3246006_7f774771-e1b8-43fc-b9ed-ab7a5e7df5d4.webp?v=1714707474","width":2000},{"alt":null,"id":23875830775907,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61040970d734e2423552cb17037c2107b0f9ba38_6121e4b1-311e-477d-8874-aeb195a9b944.webp?v=1714707477"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61040970d734e2423552cb17037c2107b0f9ba38_6121e4b1-311e-477d-8874-aeb195a9b944.webp?v=1714707477","width":2000},{"alt":null,"id":23875831332963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dea46bb472b1f22f3a87d8eaf08271255dffbd0_62a48f2f-0977-41f6-b3a6-7c3274ffff46.webp?v=1714707480"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dea46bb472b1f22f3a87d8eaf08271255dffbd0_62a48f2f-0977-41f6-b3a6-7c3274ffff46.webp?v=1714707480","width":2000},{"alt":null,"id":23875831824483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f6571080f461279333986aefbb7dfcb4a7f4cf_037593b1-82cb-42a8-babb-ecebc091a982.webp?v=1714707483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f6571080f461279333986aefbb7dfcb4a7f4cf_037593b1-82cb-42a8-babb-ecebc091a982.webp?v=1714707483","width":2000},{"alt":null,"id":23875832316003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ee9d0483bf1f8f031bcf57275dd3f5c28edf6c8_80d8a83b-a91d-4f00-bc03-8e7926c494c3.webp?v=1714707485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ee9d0483bf1f8f031bcf57275dd3f5c28edf6c8_80d8a83b-a91d-4f00-bc03-8e7926c494c3.webp?v=1714707485","width":2000},{"alt":null,"id":23875832873059,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b96107138e588be993ecff29e60942fd392532_0b9cca45-b357-4f8c-b3e0-db39190aa28f.webp?v=1714707488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b96107138e588be993ecff29e60942fd392532_0b9cca45-b357-4f8c-b3e0-db39190aa28f.webp?v=1714707488","width":2000},{"alt":null,"id":23875833331811,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65a6a8c0487e8fe5761d1f318948cc16448fea8f_1ff38274-9b4d-4db1-b270-6523308b2c1a.webp?v=1714707491"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65a6a8c0487e8fe5761d1f318948cc16448fea8f_1ff38274-9b4d-4db1-b270-6523308b2c1a.webp?v=1714707491","width":2000},{"alt":null,"id":23875833725027,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b5341e83ff6164c777ba049efa5f649ed41a40b_16bb40f0-3a33-482d-b9cf-c538e66f73a6.webp?v=1714707493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b5341e83ff6164c777ba049efa5f649ed41a40b_16bb40f0-3a33-482d-b9cf-c538e66f73a6.webp?v=1714707493","width":2000},{"alt":null,"id":23875834183779,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f93aed97594ba156ac07222642681b82816062a9_4b784402-9e12-442d-8709-18b4565e007f.webp?v=1714707496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f93aed97594ba156ac07222642681b82816062a9_4b784402-9e12-442d-8709-18b4565e007f.webp?v=1714707496","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41881557074019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB49","requires_shipping":true,"taxable":true,"featured_image":{"id":31470927151203,"product_id":7407999352931,"position":5,"created_at":"2024-05-03T11:38:02+08:00","updated_at":"2024-05-03T11:38:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f6571080f461279333986aefbb7dfcb4a7f4cf_037593b1-82cb-42a8-babb-ecebc091a982.webp?v=1714707483","variant_ids":[41881557074019]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0122824-PB49","featured_media":{"alt":null,"id":23875831824483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f6571080f461279333986aefbb7dfcb4a7f4cf_037593b1-82cb-42a8-babb-ecebc091a982.webp?v=1714707483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881557139555,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB49","requires_shipping":true,"taxable":true,"featured_image":{"id":31470926626915,"product_id":7407999352931,"position":4,"created_at":"2024-05-03T11:38:00+08:00","updated_at":"2024-05-03T11:38:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dea46bb472b1f22f3a87d8eaf08271255dffbd0_62a48f2f-0977-41f6-b3a6-7c3274ffff46.webp?v=1714707480","variant_ids":[41881557139555]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0122804-PB49","featured_media":{"alt":null,"id":23875831332963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dea46bb472b1f22f3a87d8eaf08271255dffbd0_62a48f2f-0977-41f6-b3a6-7c3274ffff46.webp?v=1714707480"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881557368931,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB49","requires_shipping":true,"taxable":true,"featured_image":{"id":31470925512803,"product_id":7407999352931,"position":2,"created_at":"2024-05-03T11:37:54+08:00","updated_at":"2024-05-03T11:37:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea9d1f16d978f679f920a7a495dba74d3246006_7f774771-e1b8-43fc-b9ed-ab7a5e7df5d4.webp?v=1714707474","variant_ids":[41881557368931]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01228J5-PB49","featured_media":{"alt":null,"id":23875830186083,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea9d1f16d978f679f920a7a495dba74d3246006_7f774771-e1b8-43fc-b9ed-ab7a5e7df5d4.webp?v=1714707474"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881557074019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB49","requires_shipping":true,"taxable":true,"featured_image":{"id":31470927151203,"product_id":7407999352931,"position":5,"created_at":"2024-05-03T11:38:02+08:00","updated_at":"2024-05-03T11:38:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f6571080f461279333986aefbb7dfcb4a7f4cf_037593b1-82cb-42a8-babb-ecebc091a982.webp?v=1714707483","variant_ids":[41881557074019]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0122824-PB49","featured_media":{"alt":null,"id":23875831824483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f6571080f461279333986aefbb7dfcb4a7f4cf_037593b1-82cb-42a8-babb-ecebc091a982.webp?v=1714707483"}},"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: "停產" }