$product = {"id":7407887712355,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍","handle":"iphone-14-pro-mod-nx-printable-pb32","description":null,"published_at":"2024-06-11T16:25:38+08:00","created_at":"2024-05-03T11:09: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 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":41880115052643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31470627487843,"product_id":7407887712355,"position":10,"created_at":"2024-05-03T11:10:12+08:00","updated_at":"2024-05-03T11:10:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/452806b82263f2a158925e4419dd90d8d7b75d00_10bdcf41-3cdc-4864-b4b5-ede70a8078c0.webp?v=1714705812","variant_ids":[41880115052643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23875531407459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/452806b82263f2a158925e4419dd90d8d7b75d00_10bdcf41-3cdc-4864-b4b5-ede70a8078c0.webp?v=1714705812"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880115150947,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31470625849443,"product_id":7407887712355,"position":6,"created_at":"2024-05-03T11:10:02+08:00","updated_at":"2024-05-03T11:10:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd5f1df957b31c1531023fca746824158a8e29a9_0e207cec-3249-4670-a373-e649b9971813.webp?v=1714705802","variant_ids":[41880115150947]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23875529769059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd5f1df957b31c1531023fca746824158a8e29a9_0e207cec-3249-4670-a373-e649b9971813.webp?v=1714705802"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880115642467,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31470624309347,"product_id":7407887712355,"position":2,"created_at":"2024-05-03T11:09:52+08:00","updated_at":"2024-05-03T11:09:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eaeb45a75acf3cd38be994e9f9df777a9b1000c_27c09a83-7565-44a9-a6cf-8fb979f858ab.webp?v=1714705792","variant_ids":[41880115642467]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23875528228963,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eaeb45a75acf3cd38be994e9f9df777a9b1000c_27c09a83-7565-44a9-a6cf-8fb979f858ab.webp?v=1714705792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83315f7c708fb995b614ba61985e3c67a60877a3_1e95ef2c-f54c-4cf3-a862-a1830ab6d49d.webp?v=1714705790","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eaeb45a75acf3cd38be994e9f9df777a9b1000c_27c09a83-7565-44a9-a6cf-8fb979f858ab.webp?v=1714705792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7854bb99ddfb6c03c357e6f913d0b8de9e2684e_4e35045c-8dab-4911-a227-5d6665e2d352.webp?v=1714705795","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d8751fba0a4c68c553ea7ed231a9e69f96cfc80_86eedb1e-c5d0-44f8-a0a4-94b59610c7eb.webp?v=1714705797","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc0c8c20a010e54bc70310b37753dab33021af4c_fdae299b-693b-45aa-989c-81efc1a28dba.webp?v=1714705800","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd5f1df957b31c1531023fca746824158a8e29a9_0e207cec-3249-4670-a373-e649b9971813.webp?v=1714705802","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/645e1610fc04c0679ee1e5f5636f8d2c8699ae8c_7c064b52-3c9c-4f17-a601-3a4aceed8f18.webp?v=1714705805","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/501077a576ee9e6edf5e4e35c13e249353b088fc_ff9bd35b-b648-4419-8bf5-8ca1113d81a8.webp?v=1714705807","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15f9776dfd93a99d805358ff3186c5a2325ab356_8290bb47-c527-47a1-84da-3b01779bb37f.webp?v=1714705810","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/452806b82263f2a158925e4419dd90d8d7b75d00_10bdcf41-3cdc-4864-b4b5-ede70a8078c0.webp?v=1714705812"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83315f7c708fb995b614ba61985e3c67a60877a3_1e95ef2c-f54c-4cf3-a862-a1830ab6d49d.webp?v=1714705790","options":["color"],"media":[{"alt":null,"id":23875526492259,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83315f7c708fb995b614ba61985e3c67a60877a3_1e95ef2c-f54c-4cf3-a862-a1830ab6d49d.webp?v=1714705790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83315f7c708fb995b614ba61985e3c67a60877a3_1e95ef2c-f54c-4cf3-a862-a1830ab6d49d.webp?v=1714705790","width":2000},{"alt":null,"id":23875528228963,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eaeb45a75acf3cd38be994e9f9df777a9b1000c_27c09a83-7565-44a9-a6cf-8fb979f858ab.webp?v=1714705792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eaeb45a75acf3cd38be994e9f9df777a9b1000c_27c09a83-7565-44a9-a6cf-8fb979f858ab.webp?v=1714705792","width":2000},{"alt":null,"id":23875528720483,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7854bb99ddfb6c03c357e6f913d0b8de9e2684e_4e35045c-8dab-4911-a227-5d6665e2d352.webp?v=1714705795"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7854bb99ddfb6c03c357e6f913d0b8de9e2684e_4e35045c-8dab-4911-a227-5d6665e2d352.webp?v=1714705795","width":2000},{"alt":null,"id":23875529015395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d8751fba0a4c68c553ea7ed231a9e69f96cfc80_86eedb1e-c5d0-44f8-a0a4-94b59610c7eb.webp?v=1714705797"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d8751fba0a4c68c553ea7ed231a9e69f96cfc80_86eedb1e-c5d0-44f8-a0a4-94b59610c7eb.webp?v=1714705797","width":2000},{"alt":null,"id":23875529539683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc0c8c20a010e54bc70310b37753dab33021af4c_fdae299b-693b-45aa-989c-81efc1a28dba.webp?v=1714705800"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc0c8c20a010e54bc70310b37753dab33021af4c_fdae299b-693b-45aa-989c-81efc1a28dba.webp?v=1714705800","width":2000},{"alt":null,"id":23875529769059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd5f1df957b31c1531023fca746824158a8e29a9_0e207cec-3249-4670-a373-e649b9971813.webp?v=1714705802"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd5f1df957b31c1531023fca746824158a8e29a9_0e207cec-3249-4670-a373-e649b9971813.webp?v=1714705802","width":2000},{"alt":null,"id":23875530195043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/645e1610fc04c0679ee1e5f5636f8d2c8699ae8c_7c064b52-3c9c-4f17-a601-3a4aceed8f18.webp?v=1714705805"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/645e1610fc04c0679ee1e5f5636f8d2c8699ae8c_7c064b52-3c9c-4f17-a601-3a4aceed8f18.webp?v=1714705805","width":2000},{"alt":null,"id":23875530588259,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/501077a576ee9e6edf5e4e35c13e249353b088fc_ff9bd35b-b648-4419-8bf5-8ca1113d81a8.webp?v=1714705807"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/501077a576ee9e6edf5e4e35c13e249353b088fc_ff9bd35b-b648-4419-8bf5-8ca1113d81a8.webp?v=1714705807","width":2000},{"alt":null,"id":23875531014243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15f9776dfd93a99d805358ff3186c5a2325ab356_8290bb47-c527-47a1-84da-3b01779bb37f.webp?v=1714705810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15f9776dfd93a99d805358ff3186c5a2325ab356_8290bb47-c527-47a1-84da-3b01779bb37f.webp?v=1714705810","width":2000},{"alt":null,"id":23875531407459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/452806b82263f2a158925e4419dd90d8d7b75d00_10bdcf41-3cdc-4864-b4b5-ede70a8078c0.webp?v=1714705812"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/452806b82263f2a158925e4419dd90d8d7b75d00_10bdcf41-3cdc-4864-b4b5-ede70a8078c0.webp?v=1714705812","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880115052643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31470627487843,"product_id":7407887712355,"position":10,"created_at":"2024-05-03T11:10:12+08:00","updated_at":"2024-05-03T11:10:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/452806b82263f2a158925e4419dd90d8d7b75d00_10bdcf41-3cdc-4864-b4b5-ede70a8078c0.webp?v=1714705812","variant_ids":[41880115052643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23875531407459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/452806b82263f2a158925e4419dd90d8d7b75d00_10bdcf41-3cdc-4864-b4b5-ede70a8078c0.webp?v=1714705812"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880115150947,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31470625849443,"product_id":7407887712355,"position":6,"created_at":"2024-05-03T11:10:02+08:00","updated_at":"2024-05-03T11:10:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd5f1df957b31c1531023fca746824158a8e29a9_0e207cec-3249-4670-a373-e649b9971813.webp?v=1714705802","variant_ids":[41880115150947]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23875529769059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd5f1df957b31c1531023fca746824158a8e29a9_0e207cec-3249-4670-a373-e649b9971813.webp?v=1714705802"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880115642467,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31470624309347,"product_id":7407887712355,"position":2,"created_at":"2024-05-03T11:09:52+08:00","updated_at":"2024-05-03T11:09:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eaeb45a75acf3cd38be994e9f9df777a9b1000c_27c09a83-7565-44a9-a6cf-8fb979f858ab.webp?v=1714705792","variant_ids":[41880115642467]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23875528228963,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eaeb45a75acf3cd38be994e9f9df777a9b1000c_27c09a83-7565-44a9-a6cf-8fb979f858ab.webp?v=1714705792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880115052643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB32","requires_shipping":true,"taxable":true,"featured_image":{"id":31470627487843,"product_id":7407887712355,"position":10,"created_at":"2024-05-03T11:10:12+08:00","updated_at":"2024-05-03T11:10:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/452806b82263f2a158925e4419dd90d8d7b75d00_10bdcf41-3cdc-4864-b4b5-ede70a8078c0.webp?v=1714705812","variant_ids":[41880115052643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Sticker-藍 - 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-PB32","featured_media":{"alt":null,"id":23875531407459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/452806b82263f2a158925e4419dd90d8d7b75d00_10bdcf41-3cdc-4864-b4b5-ede70a8078c0.webp?v=1714705812"}},"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: "停產" }