$product = {"id":7407847374947,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X翼戰機-經典","handle":"iphone-14-pro-mod-nx-printable-pb80","description":null,"published_at":"2024-06-11T16:24:30+08:00","created_at":"2024-05-03T11:01:45+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":41879582048355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB80","requires_shipping":true,"taxable":true,"featured_image":{"id":31470517583971,"product_id":7407847374947,"position":8,"created_at":"2024-05-03T11:02:04+08:00","updated_at":"2024-05-03T11:02:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26c53ccdcca9fe057de44fd3bdb24dbaabf28f39_6e698cce-6700-4f3c-a85f-922138f9ef24.webp?v=1714705324","variant_ids":[41879582048355]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X翼戰機-經典 - 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-PB80","featured_media":{"alt":null,"id":23875421372515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26c53ccdcca9fe057de44fd3bdb24dbaabf28f39_6e698cce-6700-4f3c-a85f-922138f9ef24.webp?v=1714705324"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879582113891,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB80","requires_shipping":true,"taxable":true,"featured_image":{"id":31470514765923,"product_id":7407847374947,"position":2,"created_at":"2024-05-03T11:01:50+08:00","updated_at":"2024-05-03T11:01:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0085e51367350fbc531b9914e8de252407b86a8c_7645f129-ac82-4fca-b35b-f73c906c125a.webp?v=1714705310","variant_ids":[41879582113891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X翼戰機-經典 - 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-PB80","featured_media":{"alt":null,"id":23875418521699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0085e51367350fbc531b9914e8de252407b86a8c_7645f129-ac82-4fca-b35b-f73c906c125a.webp?v=1714705310"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879582376035,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB80","requires_shipping":true,"taxable":true,"featured_image":{"id":31470517157987,"product_id":7407847374947,"position":7,"created_at":"2024-05-03T11:02:02+08:00","updated_at":"2024-05-03T11:02:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ceb1b76fbfe7d5523078a45412f6546ce31133a_dea98561-df85-40fa-9dc2-a332a4afe7f9.webp?v=1714705322","variant_ids":[41879582376035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X翼戰機-經典 - 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-PB80","featured_media":{"alt":null,"id":23875420913763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ceb1b76fbfe7d5523078a45412f6546ce31133a_dea98561-df85-40fa-9dc2-a332a4afe7f9.webp?v=1714705322"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e2ce9ac92ae3935fba377d7b41bc0d5e6c7e6a_0d15feaf-f1f5-4d27-94a8-fb639617496a.webp?v=1714705307","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0085e51367350fbc531b9914e8de252407b86a8c_7645f129-ac82-4fca-b35b-f73c906c125a.webp?v=1714705310","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8635a7a3edb12731c2df7c3a077706257084101_8e95c013-e439-4cdf-bab5-bf955091a479.webp?v=1714705312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d56cff4540f24cd0aa87e7977216193a16111d17_1f510f89-ffd5-407e-a09b-fb6d8a510684.webp?v=1714705315","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e71386aed4477134a453805846bc2adca90920e_cbd00f4f-bf8c-49ff-9e97-6c242b60d6ec.webp?v=1714705317","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f86f57b9b12cec4dc666b9458ae1b7b3de9c487_0b4243d9-0081-4347-82f2-099fe79e49ee.webp?v=1714705319","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ceb1b76fbfe7d5523078a45412f6546ce31133a_dea98561-df85-40fa-9dc2-a332a4afe7f9.webp?v=1714705322","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26c53ccdcca9fe057de44fd3bdb24dbaabf28f39_6e698cce-6700-4f3c-a85f-922138f9ef24.webp?v=1714705324","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b8142758e7701d2f3f466914616ad52b367bdd_314b7dae-d6f2-4853-ba28-95575d81e885.webp?v=1714705326","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/901c21ee131dbf4b3846c3c94c8a52465ae5d80f_14b80878-984a-4430-88fc-81411d9e07ba.webp?v=1714705329"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e2ce9ac92ae3935fba377d7b41bc0d5e6c7e6a_0d15feaf-f1f5-4d27-94a8-fb639617496a.webp?v=1714705307","options":["color"],"media":[{"alt":null,"id":23875417997411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e2ce9ac92ae3935fba377d7b41bc0d5e6c7e6a_0d15feaf-f1f5-4d27-94a8-fb639617496a.webp?v=1714705307"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e2ce9ac92ae3935fba377d7b41bc0d5e6c7e6a_0d15feaf-f1f5-4d27-94a8-fb639617496a.webp?v=1714705307","width":2000},{"alt":null,"id":23875418521699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0085e51367350fbc531b9914e8de252407b86a8c_7645f129-ac82-4fca-b35b-f73c906c125a.webp?v=1714705310"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0085e51367350fbc531b9914e8de252407b86a8c_7645f129-ac82-4fca-b35b-f73c906c125a.webp?v=1714705310","width":2000},{"alt":null,"id":23875419045987,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8635a7a3edb12731c2df7c3a077706257084101_8e95c013-e439-4cdf-bab5-bf955091a479.webp?v=1714705312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8635a7a3edb12731c2df7c3a077706257084101_8e95c013-e439-4cdf-bab5-bf955091a479.webp?v=1714705312","width":2000},{"alt":null,"id":23875419471971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d56cff4540f24cd0aa87e7977216193a16111d17_1f510f89-ffd5-407e-a09b-fb6d8a510684.webp?v=1714705315"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d56cff4540f24cd0aa87e7977216193a16111d17_1f510f89-ffd5-407e-a09b-fb6d8a510684.webp?v=1714705315","width":2000},{"alt":null,"id":23875419963491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e71386aed4477134a453805846bc2adca90920e_cbd00f4f-bf8c-49ff-9e97-6c242b60d6ec.webp?v=1714705317"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e71386aed4477134a453805846bc2adca90920e_cbd00f4f-bf8c-49ff-9e97-6c242b60d6ec.webp?v=1714705317","width":2000},{"alt":null,"id":23875420323939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f86f57b9b12cec4dc666b9458ae1b7b3de9c487_0b4243d9-0081-4347-82f2-099fe79e49ee.webp?v=1714705319"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f86f57b9b12cec4dc666b9458ae1b7b3de9c487_0b4243d9-0081-4347-82f2-099fe79e49ee.webp?v=1714705319","width":2000},{"alt":null,"id":23875420913763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ceb1b76fbfe7d5523078a45412f6546ce31133a_dea98561-df85-40fa-9dc2-a332a4afe7f9.webp?v=1714705322"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ceb1b76fbfe7d5523078a45412f6546ce31133a_dea98561-df85-40fa-9dc2-a332a4afe7f9.webp?v=1714705322","width":2000},{"alt":null,"id":23875421372515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26c53ccdcca9fe057de44fd3bdb24dbaabf28f39_6e698cce-6700-4f3c-a85f-922138f9ef24.webp?v=1714705324"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26c53ccdcca9fe057de44fd3bdb24dbaabf28f39_6e698cce-6700-4f3c-a85f-922138f9ef24.webp?v=1714705324","width":2000},{"alt":null,"id":23875421798499,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b8142758e7701d2f3f466914616ad52b367bdd_314b7dae-d6f2-4853-ba28-95575d81e885.webp?v=1714705326"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b8142758e7701d2f3f466914616ad52b367bdd_314b7dae-d6f2-4853-ba28-95575d81e885.webp?v=1714705326","width":2000},{"alt":null,"id":23875422290019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/901c21ee131dbf4b3846c3c94c8a52465ae5d80f_14b80878-984a-4430-88fc-81411d9e07ba.webp?v=1714705329"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/901c21ee131dbf4b3846c3c94c8a52465ae5d80f_14b80878-984a-4430-88fc-81411d9e07ba.webp?v=1714705329","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41879582048355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB80","requires_shipping":true,"taxable":true,"featured_image":{"id":31470517583971,"product_id":7407847374947,"position":8,"created_at":"2024-05-03T11:02:04+08:00","updated_at":"2024-05-03T11:02:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26c53ccdcca9fe057de44fd3bdb24dbaabf28f39_6e698cce-6700-4f3c-a85f-922138f9ef24.webp?v=1714705324","variant_ids":[41879582048355]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X翼戰機-經典 - 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-PB80","featured_media":{"alt":null,"id":23875421372515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26c53ccdcca9fe057de44fd3bdb24dbaabf28f39_6e698cce-6700-4f3c-a85f-922138f9ef24.webp?v=1714705324"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879582113891,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB80","requires_shipping":true,"taxable":true,"featured_image":{"id":31470514765923,"product_id":7407847374947,"position":2,"created_at":"2024-05-03T11:01:50+08:00","updated_at":"2024-05-03T11:01:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0085e51367350fbc531b9914e8de252407b86a8c_7645f129-ac82-4fca-b35b-f73c906c125a.webp?v=1714705310","variant_ids":[41879582113891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X翼戰機-經典 - 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-PB80","featured_media":{"alt":null,"id":23875418521699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0085e51367350fbc531b9914e8de252407b86a8c_7645f129-ac82-4fca-b35b-f73c906c125a.webp?v=1714705310"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879582376035,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB80","requires_shipping":true,"taxable":true,"featured_image":{"id":31470517157987,"product_id":7407847374947,"position":7,"created_at":"2024-05-03T11:02:02+08:00","updated_at":"2024-05-03T11:02:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ceb1b76fbfe7d5523078a45412f6546ce31133a_dea98561-df85-40fa-9dc2-a332a4afe7f9.webp?v=1714705322","variant_ids":[41879582376035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X翼戰機-經典 - 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-PB80","featured_media":{"alt":null,"id":23875420913763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ceb1b76fbfe7d5523078a45412f6546ce31133a_dea98561-df85-40fa-9dc2-a332a4afe7f9.webp?v=1714705322"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41879582048355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB80","requires_shipping":true,"taxable":true,"featured_image":{"id":31470517583971,"product_id":7407847374947,"position":8,"created_at":"2024-05-03T11:02:04+08:00","updated_at":"2024-05-03T11:02:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26c53ccdcca9fe057de44fd3bdb24dbaabf28f39_6e698cce-6700-4f3c-a85f-922138f9ef24.webp?v=1714705324","variant_ids":[41879582048355]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X翼戰機-經典 - 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-PB80","featured_media":{"alt":null,"id":23875421372515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26c53ccdcca9fe057de44fd3bdb24dbaabf28f39_6e698cce-6700-4f3c-a85f-922138f9ef24.webp?v=1714705324"}},"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: "停產" }