$product = {"id":7408160309347,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-剪紙系列","handle":"iphone-13-mini-mod-nx-printable-pb79","description":null,"published_at":"2024-06-11T16:33:01+08:00","created_at":"2024-05-03T12:11:44+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":41883350925411,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31471353004131,"product_id":7408160309347,"position":9,"created_at":"2024-05-03T12:12:05+08:00","updated_at":"2024-05-03T12:12:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f2a114611f2184f15f29af5e9bd2ab0acd57a8c_84410dc6-764e-4a76-829f-09b075f787b3.webp?v=1714709525","variant_ids":[41883350925411]},"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-PB79","featured_media":{"alt":null,"id":23876258758755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f2a114611f2184f15f29af5e9bd2ab0acd57a8c_84410dc6-764e-4a76-829f-09b075f787b3.webp?v=1714709525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883350990947,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31471353299043,"product_id":7408160309347,"position":10,"created_at":"2024-05-03T12:12:07+08:00","updated_at":"2024-05-03T12:12:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b31c997d8e46ad2f751115b145510e925114df9_62cc9faf-b0b8-4f9c-ae50-78a074826865.webp?v=1714709527","variant_ids":[41883350990947]},"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-PB79","featured_media":{"alt":null,"id":23876259184739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b31c997d8e46ad2f751115b145510e925114df9_62cc9faf-b0b8-4f9c-ae50-78a074826865.webp?v=1714709527"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883351220323,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31471351496803,"product_id":7408160309347,"position":8,"created_at":"2024-05-03T12:12:03+08:00","updated_at":"2024-05-03T12:12:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f2995d027eaed75821cc662e7f06624e093a64_2c982ce0-c022-4497-a10e-cb0c02f81b61.webp?v=1714709523","variant_ids":[41883351220323]},"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-PB79","featured_media":{"alt":null,"id":23876257382499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f2995d027eaed75821cc662e7f06624e093a64_2c982ce0-c022-4497-a10e-cb0c02f81b61.webp?v=1714709523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc06b3242a7fd5cdd2884f5701782431a264d10a_362a157c-05c0-47b2-a095-04441039f172.webp?v=1714709506","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74b5ac965134af0d8aa855b2af5c75b10b53d62_4cfe6b16-5b9b-4a87-b40a-f370aabe50e2.webp?v=1714709508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fff1aaea6f421239258653ba99e4081f1b64ce_660e603c-b23a-4d61-afd2-eab8ad6f544b.webp?v=1714709511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/471d76bdeafbd4e58990f8ed0afdca064d28cec3_92e4c195-b8f4-4a66-807c-7e90af73e23d.webp?v=1714709513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f21a3e880bf0296d3c9c06519786ad2d53b08d2b_d23d49b5-d7d4-4530-8f68-3793e3482bc0.webp?v=1714709515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceb8e15c735d3ae3f978f4d606b4b1fecc989231_712cca6f-e987-4df7-b60a-c3a0fed8de7a.webp?v=1714709518","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53b6c9d50f14709bd9de37c0972484d34afef5e_d74a5b60-8a74-488f-b917-9c27e54f3c71.webp?v=1714709520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f2995d027eaed75821cc662e7f06624e093a64_2c982ce0-c022-4497-a10e-cb0c02f81b61.webp?v=1714709523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f2a114611f2184f15f29af5e9bd2ab0acd57a8c_84410dc6-764e-4a76-829f-09b075f787b3.webp?v=1714709525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b31c997d8e46ad2f751115b145510e925114df9_62cc9faf-b0b8-4f9c-ae50-78a074826865.webp?v=1714709527"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc06b3242a7fd5cdd2884f5701782431a264d10a_362a157c-05c0-47b2-a095-04441039f172.webp?v=1714709506","options":["color"],"media":[{"alt":null,"id":23876253089891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc06b3242a7fd5cdd2884f5701782431a264d10a_362a157c-05c0-47b2-a095-04441039f172.webp?v=1714709506"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc06b3242a7fd5cdd2884f5701782431a264d10a_362a157c-05c0-47b2-a095-04441039f172.webp?v=1714709506","width":2000},{"alt":null,"id":23876254007395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74b5ac965134af0d8aa855b2af5c75b10b53d62_4cfe6b16-5b9b-4a87-b40a-f370aabe50e2.webp?v=1714709508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74b5ac965134af0d8aa855b2af5c75b10b53d62_4cfe6b16-5b9b-4a87-b40a-f370aabe50e2.webp?v=1714709508","width":2000},{"alt":null,"id":23876254564451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fff1aaea6f421239258653ba99e4081f1b64ce_660e603c-b23a-4d61-afd2-eab8ad6f544b.webp?v=1714709511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fff1aaea6f421239258653ba99e4081f1b64ce_660e603c-b23a-4d61-afd2-eab8ad6f544b.webp?v=1714709511","width":2000},{"alt":null,"id":23876255514723,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/471d76bdeafbd4e58990f8ed0afdca064d28cec3_92e4c195-b8f4-4a66-807c-7e90af73e23d.webp?v=1714709513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/471d76bdeafbd4e58990f8ed0afdca064d28cec3_92e4c195-b8f4-4a66-807c-7e90af73e23d.webp?v=1714709513","width":2000},{"alt":null,"id":23876256039011,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f21a3e880bf0296d3c9c06519786ad2d53b08d2b_d23d49b5-d7d4-4530-8f68-3793e3482bc0.webp?v=1714709515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f21a3e880bf0296d3c9c06519786ad2d53b08d2b_d23d49b5-d7d4-4530-8f68-3793e3482bc0.webp?v=1714709515","width":2000},{"alt":null,"id":23876256399459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceb8e15c735d3ae3f978f4d606b4b1fecc989231_712cca6f-e987-4df7-b60a-c3a0fed8de7a.webp?v=1714709518"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceb8e15c735d3ae3f978f4d606b4b1fecc989231_712cca6f-e987-4df7-b60a-c3a0fed8de7a.webp?v=1714709518","width":2000},{"alt":null,"id":23876257022051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53b6c9d50f14709bd9de37c0972484d34afef5e_d74a5b60-8a74-488f-b917-9c27e54f3c71.webp?v=1714709520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53b6c9d50f14709bd9de37c0972484d34afef5e_d74a5b60-8a74-488f-b917-9c27e54f3c71.webp?v=1714709520","width":2000},{"alt":null,"id":23876257382499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f2995d027eaed75821cc662e7f06624e093a64_2c982ce0-c022-4497-a10e-cb0c02f81b61.webp?v=1714709523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f2995d027eaed75821cc662e7f06624e093a64_2c982ce0-c022-4497-a10e-cb0c02f81b61.webp?v=1714709523","width":2000},{"alt":null,"id":23876258758755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f2a114611f2184f15f29af5e9bd2ab0acd57a8c_84410dc6-764e-4a76-829f-09b075f787b3.webp?v=1714709525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f2a114611f2184f15f29af5e9bd2ab0acd57a8c_84410dc6-764e-4a76-829f-09b075f787b3.webp?v=1714709525","width":2000},{"alt":null,"id":23876259184739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b31c997d8e46ad2f751115b145510e925114df9_62cc9faf-b0b8-4f9c-ae50-78a074826865.webp?v=1714709527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b31c997d8e46ad2f751115b145510e925114df9_62cc9faf-b0b8-4f9c-ae50-78a074826865.webp?v=1714709527","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883350925411,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31471353004131,"product_id":7408160309347,"position":9,"created_at":"2024-05-03T12:12:05+08:00","updated_at":"2024-05-03T12:12:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f2a114611f2184f15f29af5e9bd2ab0acd57a8c_84410dc6-764e-4a76-829f-09b075f787b3.webp?v=1714709525","variant_ids":[41883350925411]},"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-PB79","featured_media":{"alt":null,"id":23876258758755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f2a114611f2184f15f29af5e9bd2ab0acd57a8c_84410dc6-764e-4a76-829f-09b075f787b3.webp?v=1714709525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883350990947,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31471353299043,"product_id":7408160309347,"position":10,"created_at":"2024-05-03T12:12:07+08:00","updated_at":"2024-05-03T12:12:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b31c997d8e46ad2f751115b145510e925114df9_62cc9faf-b0b8-4f9c-ae50-78a074826865.webp?v=1714709527","variant_ids":[41883350990947]},"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-PB79","featured_media":{"alt":null,"id":23876259184739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b31c997d8e46ad2f751115b145510e925114df9_62cc9faf-b0b8-4f9c-ae50-78a074826865.webp?v=1714709527"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883351220323,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31471351496803,"product_id":7408160309347,"position":8,"created_at":"2024-05-03T12:12:03+08:00","updated_at":"2024-05-03T12:12:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f2995d027eaed75821cc662e7f06624e093a64_2c982ce0-c022-4497-a10e-cb0c02f81b61.webp?v=1714709523","variant_ids":[41883351220323]},"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-PB79","featured_media":{"alt":null,"id":23876257382499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f2995d027eaed75821cc662e7f06624e093a64_2c982ce0-c022-4497-a10e-cb0c02f81b61.webp?v=1714709523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883350925411,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB79","requires_shipping":true,"taxable":true,"featured_image":{"id":31471353004131,"product_id":7408160309347,"position":9,"created_at":"2024-05-03T12:12:05+08:00","updated_at":"2024-05-03T12:12:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f2a114611f2184f15f29af5e9bd2ab0acd57a8c_84410dc6-764e-4a76-829f-09b075f787b3.webp?v=1714709525","variant_ids":[41883350925411]},"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-PB79","featured_media":{"alt":null,"id":23876258758755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f2a114611f2184f15f29af5e9bd2ab0acd57a8c_84410dc6-764e-4a76-829f-09b075f787b3.webp?v=1714709525"}},"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: "停產" }