$product = {"id":7407958163555,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 超級可愛大王","handle":"iphone-14-pro-mod-nx-printable-eo01","description":null,"published_at":"2024-06-11T16:27:36+08:00","created_at":"2024-05-03T11:23:30+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Weiweiboy","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-weiweiboy","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-weiweiboy","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":41881039306851,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470805221475,"product_id":7407958163555,"position":7,"created_at":"2024-05-03T11:23:48+08:00","updated_at":"2024-05-03T11:23:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e33708b7999b21af504a81cfc028a7a5810082d_1e1972b7-df33-43f2-a0b5-9cf01b3af054.webp?v=1714706628","variant_ids":[41881039306851]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 超級可愛大王 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-EO01","featured_media":{"alt":null,"id":23875709468771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e33708b7999b21af504a81cfc028a7a5810082d_1e1972b7-df33-43f2-a0b5-9cf01b3af054.webp?v=1714706628"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881039470691,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470802042979,"product_id":7407958163555,"position":1,"created_at":"2024-05-03T11:23:32+08:00","updated_at":"2024-05-03T11:23:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/450dea9e23c1a82c9203eab55a657485c8e16f46_c1d1d11c-8bbc-4641-8c2b-b65a20993e63.webp?v=1714706612","variant_ids":[41881039470691]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 超級可愛大王 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-EO01","featured_media":{"alt":null,"id":23875706257507,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/450dea9e23c1a82c9203eab55a657485c8e16f46_c1d1d11c-8bbc-4641-8c2b-b65a20993e63.webp?v=1714706612"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881039929443,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470803189859,"product_id":7407958163555,"position":3,"created_at":"2024-05-03T11:23:38+08:00","updated_at":"2024-05-03T11:23:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb78e14380ccb64e0ac79f2247f5a5206dd3217c_e0e7636a-c3b2-4ae6-bc23-b0e290f7b6f5.webp?v=1714706618","variant_ids":[41881039929443]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 超級可愛大王 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-EO01","featured_media":{"alt":null,"id":23875707404387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb78e14380ccb64e0ac79f2247f5a5206dd3217c_e0e7636a-c3b2-4ae6-bc23-b0e290f7b6f5.webp?v=1714706618"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/450dea9e23c1a82c9203eab55a657485c8e16f46_c1d1d11c-8bbc-4641-8c2b-b65a20993e63.webp?v=1714706612","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96668e35ecf1899e1f5e2a295cf300ca53a56800_3266e867-ef8c-4a0c-969d-c31b7bff370a.webp?v=1714706615","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb78e14380ccb64e0ac79f2247f5a5206dd3217c_e0e7636a-c3b2-4ae6-bc23-b0e290f7b6f5.webp?v=1714706618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/946db654037f8e87fe6915c5cc332f381d04a91f_3c636874-19ad-4ce3-9502-6dcf1664c021.webp?v=1714706620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1746e9261e6bc5a30a4fc0385a7ffdfc620500c_dc34ba73-cc64-4a8f-8b06-f9d815c418d1.webp?v=1714706623","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae3db89faab84857293b9f84aec3f155d5a4b5b2_1dd569fc-af9b-47b8-b5ef-429afbdf0259.webp?v=1714706625","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e33708b7999b21af504a81cfc028a7a5810082d_1e1972b7-df33-43f2-a0b5-9cf01b3af054.webp?v=1714706628","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afa1f9bf527a7b8ab2157091e3debe2a0ee71b7a_fca5ab10-a9c4-4fc0-8d7f-b4b3072227d4.webp?v=1714706631","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5354d73ca51af022982d684b11d9d3884fed249_24faef75-dcd0-4dbd-a9c4-74b09a0f06ff.webp?v=1714706633","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/585a9dd673afe10052b29e386d242fb0493cc7b2_a886aca8-56de-4bec-ac81-45488f8fe8cb.webp?v=1714706636"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/450dea9e23c1a82c9203eab55a657485c8e16f46_c1d1d11c-8bbc-4641-8c2b-b65a20993e63.webp?v=1714706612","options":["color"],"media":[{"alt":null,"id":23875706257507,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/450dea9e23c1a82c9203eab55a657485c8e16f46_c1d1d11c-8bbc-4641-8c2b-b65a20993e63.webp?v=1714706612"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/450dea9e23c1a82c9203eab55a657485c8e16f46_c1d1d11c-8bbc-4641-8c2b-b65a20993e63.webp?v=1714706612","width":2000},{"alt":null,"id":23875706749027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96668e35ecf1899e1f5e2a295cf300ca53a56800_3266e867-ef8c-4a0c-969d-c31b7bff370a.webp?v=1714706615"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96668e35ecf1899e1f5e2a295cf300ca53a56800_3266e867-ef8c-4a0c-969d-c31b7bff370a.webp?v=1714706615","width":2000},{"alt":null,"id":23875707404387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb78e14380ccb64e0ac79f2247f5a5206dd3217c_e0e7636a-c3b2-4ae6-bc23-b0e290f7b6f5.webp?v=1714706618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb78e14380ccb64e0ac79f2247f5a5206dd3217c_e0e7636a-c3b2-4ae6-bc23-b0e290f7b6f5.webp?v=1714706618","width":2000},{"alt":null,"id":23875707863139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/946db654037f8e87fe6915c5cc332f381d04a91f_3c636874-19ad-4ce3-9502-6dcf1664c021.webp?v=1714706620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/946db654037f8e87fe6915c5cc332f381d04a91f_3c636874-19ad-4ce3-9502-6dcf1664c021.webp?v=1714706620","width":2000},{"alt":null,"id":23875708518499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1746e9261e6bc5a30a4fc0385a7ffdfc620500c_dc34ba73-cc64-4a8f-8b06-f9d815c418d1.webp?v=1714706623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1746e9261e6bc5a30a4fc0385a7ffdfc620500c_dc34ba73-cc64-4a8f-8b06-f9d815c418d1.webp?v=1714706623","width":2000},{"alt":null,"id":23875709010019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae3db89faab84857293b9f84aec3f155d5a4b5b2_1dd569fc-af9b-47b8-b5ef-429afbdf0259.webp?v=1714706625"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae3db89faab84857293b9f84aec3f155d5a4b5b2_1dd569fc-af9b-47b8-b5ef-429afbdf0259.webp?v=1714706625","width":2000},{"alt":null,"id":23875709468771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e33708b7999b21af504a81cfc028a7a5810082d_1e1972b7-df33-43f2-a0b5-9cf01b3af054.webp?v=1714706628"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e33708b7999b21af504a81cfc028a7a5810082d_1e1972b7-df33-43f2-a0b5-9cf01b3af054.webp?v=1714706628","width":2000},{"alt":null,"id":23875709927523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afa1f9bf527a7b8ab2157091e3debe2a0ee71b7a_fca5ab10-a9c4-4fc0-8d7f-b4b3072227d4.webp?v=1714706631"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afa1f9bf527a7b8ab2157091e3debe2a0ee71b7a_fca5ab10-a9c4-4fc0-8d7f-b4b3072227d4.webp?v=1714706631","width":2000},{"alt":null,"id":23875710451811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5354d73ca51af022982d684b11d9d3884fed249_24faef75-dcd0-4dbd-a9c4-74b09a0f06ff.webp?v=1714706633"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5354d73ca51af022982d684b11d9d3884fed249_24faef75-dcd0-4dbd-a9c4-74b09a0f06ff.webp?v=1714706633","width":2000},{"alt":null,"id":23875710976099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/585a9dd673afe10052b29e386d242fb0493cc7b2_a886aca8-56de-4bec-ac81-45488f8fe8cb.webp?v=1714706636"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/585a9dd673afe10052b29e386d242fb0493cc7b2_a886aca8-56de-4bec-ac81-45488f8fe8cb.webp?v=1714706636","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41881039306851,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470805221475,"product_id":7407958163555,"position":7,"created_at":"2024-05-03T11:23:48+08:00","updated_at":"2024-05-03T11:23:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e33708b7999b21af504a81cfc028a7a5810082d_1e1972b7-df33-43f2-a0b5-9cf01b3af054.webp?v=1714706628","variant_ids":[41881039306851]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 超級可愛大王 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-EO01","featured_media":{"alt":null,"id":23875709468771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e33708b7999b21af504a81cfc028a7a5810082d_1e1972b7-df33-43f2-a0b5-9cf01b3af054.webp?v=1714706628"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881039470691,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470802042979,"product_id":7407958163555,"position":1,"created_at":"2024-05-03T11:23:32+08:00","updated_at":"2024-05-03T11:23:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/450dea9e23c1a82c9203eab55a657485c8e16f46_c1d1d11c-8bbc-4641-8c2b-b65a20993e63.webp?v=1714706612","variant_ids":[41881039470691]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 超級可愛大王 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-EO01","featured_media":{"alt":null,"id":23875706257507,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/450dea9e23c1a82c9203eab55a657485c8e16f46_c1d1d11c-8bbc-4641-8c2b-b65a20993e63.webp?v=1714706612"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881039929443,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470803189859,"product_id":7407958163555,"position":3,"created_at":"2024-05-03T11:23:38+08:00","updated_at":"2024-05-03T11:23:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb78e14380ccb64e0ac79f2247f5a5206dd3217c_e0e7636a-c3b2-4ae6-bc23-b0e290f7b6f5.webp?v=1714706618","variant_ids":[41881039929443]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 超級可愛大王 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-EO01","featured_media":{"alt":null,"id":23875707404387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb78e14380ccb64e0ac79f2247f5a5206dd3217c_e0e7636a-c3b2-4ae6-bc23-b0e290f7b6f5.webp?v=1714706618"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881039306851,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470805221475,"product_id":7407958163555,"position":7,"created_at":"2024-05-03T11:23:48+08:00","updated_at":"2024-05-03T11:23:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e33708b7999b21af504a81cfc028a7a5810082d_1e1972b7-df33-43f2-a0b5-9cf01b3af054.webp?v=1714706628","variant_ids":[41881039306851]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 超級可愛大王 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-EO01","featured_media":{"alt":null,"id":23875709468771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e33708b7999b21af504a81cfc028a7a5810082d_1e1972b7-df33-43f2-a0b5-9cf01b3af054.webp?v=1714706628"}},"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: "停產" }