$product = {"id":7407925788771,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-線稿風格","handle":"iphone-14-pro-mod-nx-printable-pb53","description":null,"published_at":"2024-06-11T16:26:43+08:00","created_at":"2024-05-03T11:17:12+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":41880611061859,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB53","requires_shipping":true,"taxable":true,"featured_image":{"id":31470719762531,"product_id":7407925788771,"position":9,"created_at":"2024-05-03T11:17:33+08:00","updated_at":"2024-05-03T11:17:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523094844da34220bea5ac8695a373443b7bb4be_4063f41a-f356-44db-ac56-42aed9346c19.webp?v=1714706253","variant_ids":[41880611061859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB53","featured_media":{"alt":null,"id":23875623878755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523094844da34220bea5ac8695a373443b7bb4be_4063f41a-f356-44db-ac56-42aed9346c19.webp?v=1714706253"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880611127395,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB53","requires_shipping":true,"taxable":true,"featured_image":{"id":31470717599843,"product_id":7407925788771,"position":5,"created_at":"2024-05-03T11:17:23+08:00","updated_at":"2024-05-03T11:17:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78b79d5777b5c0ad033dc8bfa6e42c30795a9437_9a4ee46e-1fb4-4339-b2a3-903a48849167.webp?v=1714706243","variant_ids":[41880611127395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PB53","featured_media":{"alt":null,"id":23875621683299,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78b79d5777b5c0ad033dc8bfa6e42c30795a9437_9a4ee46e-1fb4-4339-b2a3-903a48849167.webp?v=1714706243"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880611389539,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB53","requires_shipping":true,"taxable":true,"featured_image":{"id":31470720352355,"product_id":7407925788771,"position":10,"created_at":"2024-05-03T11:17:35+08:00","updated_at":"2024-05-03T11:17:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c076b71e454a4e486a4d66068376cc43d68c655_cd8b7fb3-a520-48d8-9ae8-38a40fd58fe8.webp?v=1714706255","variant_ids":[41880611389539]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PB53","featured_media":{"alt":null,"id":23875624403043,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c076b71e454a4e486a4d66068376cc43d68c655_cd8b7fb3-a520-48d8-9ae8-38a40fd58fe8.webp?v=1714706255"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0932c5b2c59bf28b04f3b2d95a03fb1720752c6_095bf674-bca7-4094-8fdf-68249ff9a145.webp?v=1714706234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d3d51d2cb82d60f720f5446ecd3f01359fa4c6f_dcd2a54b-7750-45e5-84ab-4a2437aa3940.webp?v=1714706236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3987f90202c37c04a05dbebbef990ea37ff898b_ae2abb63-8134-430f-8e55-fe43e1742fd7.webp?v=1714706239","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74a8acff891740113ca35865f416b28d7bf2289b_c306ab84-ece2-4b18-9c10-f650e5fc34a6.webp?v=1714706241","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78b79d5777b5c0ad033dc8bfa6e42c30795a9437_9a4ee46e-1fb4-4339-b2a3-903a48849167.webp?v=1714706243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/263be4a6f5d31452550eeaeeb0cb78e15b791038_d65314df-e932-4e88-9559-360f8c287b07.webp?v=1714706246","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96f8710a8a9c1b614c16d4d929e142c933bb867f_4fea34bd-6d56-49e8-bc49-c94671d5f93f.webp?v=1714706248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd3eac68e94da24c3b4807eab79067fcc7413b9f_86001820-d679-46a1-a1ce-f176011b8c72.webp?v=1714706250","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523094844da34220bea5ac8695a373443b7bb4be_4063f41a-f356-44db-ac56-42aed9346c19.webp?v=1714706253","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c076b71e454a4e486a4d66068376cc43d68c655_cd8b7fb3-a520-48d8-9ae8-38a40fd58fe8.webp?v=1714706255"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0932c5b2c59bf28b04f3b2d95a03fb1720752c6_095bf674-bca7-4094-8fdf-68249ff9a145.webp?v=1714706234","options":["color"],"media":[{"alt":null,"id":23875619913827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0932c5b2c59bf28b04f3b2d95a03fb1720752c6_095bf674-bca7-4094-8fdf-68249ff9a145.webp?v=1714706234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0932c5b2c59bf28b04f3b2d95a03fb1720752c6_095bf674-bca7-4094-8fdf-68249ff9a145.webp?v=1714706234","width":2000},{"alt":null,"id":23875620274275,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d3d51d2cb82d60f720f5446ecd3f01359fa4c6f_dcd2a54b-7750-45e5-84ab-4a2437aa3940.webp?v=1714706236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d3d51d2cb82d60f720f5446ecd3f01359fa4c6f_dcd2a54b-7750-45e5-84ab-4a2437aa3940.webp?v=1714706236","width":2000},{"alt":null,"id":23875620765795,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3987f90202c37c04a05dbebbef990ea37ff898b_ae2abb63-8134-430f-8e55-fe43e1742fd7.webp?v=1714706239"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3987f90202c37c04a05dbebbef990ea37ff898b_ae2abb63-8134-430f-8e55-fe43e1742fd7.webp?v=1714706239","width":2000},{"alt":null,"id":23875621191779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74a8acff891740113ca35865f416b28d7bf2289b_c306ab84-ece2-4b18-9c10-f650e5fc34a6.webp?v=1714706241"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74a8acff891740113ca35865f416b28d7bf2289b_c306ab84-ece2-4b18-9c10-f650e5fc34a6.webp?v=1714706241","width":2000},{"alt":null,"id":23875621683299,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78b79d5777b5c0ad033dc8bfa6e42c30795a9437_9a4ee46e-1fb4-4339-b2a3-903a48849167.webp?v=1714706243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78b79d5777b5c0ad033dc8bfa6e42c30795a9437_9a4ee46e-1fb4-4339-b2a3-903a48849167.webp?v=1714706243","width":2000},{"alt":null,"id":23875622076515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/263be4a6f5d31452550eeaeeb0cb78e15b791038_d65314df-e932-4e88-9559-360f8c287b07.webp?v=1714706246"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/263be4a6f5d31452550eeaeeb0cb78e15b791038_d65314df-e932-4e88-9559-360f8c287b07.webp?v=1714706246","width":2000},{"alt":null,"id":23875622502499,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96f8710a8a9c1b614c16d4d929e142c933bb867f_4fea34bd-6d56-49e8-bc49-c94671d5f93f.webp?v=1714706248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96f8710a8a9c1b614c16d4d929e142c933bb867f_4fea34bd-6d56-49e8-bc49-c94671d5f93f.webp?v=1714706248","width":2000},{"alt":null,"id":23875622928483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd3eac68e94da24c3b4807eab79067fcc7413b9f_86001820-d679-46a1-a1ce-f176011b8c72.webp?v=1714706250"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd3eac68e94da24c3b4807eab79067fcc7413b9f_86001820-d679-46a1-a1ce-f176011b8c72.webp?v=1714706250","width":2000},{"alt":null,"id":23875623878755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523094844da34220bea5ac8695a373443b7bb4be_4063f41a-f356-44db-ac56-42aed9346c19.webp?v=1714706253"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523094844da34220bea5ac8695a373443b7bb4be_4063f41a-f356-44db-ac56-42aed9346c19.webp?v=1714706253","width":2000},{"alt":null,"id":23875624403043,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c076b71e454a4e486a4d66068376cc43d68c655_cd8b7fb3-a520-48d8-9ae8-38a40fd58fe8.webp?v=1714706255"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c076b71e454a4e486a4d66068376cc43d68c655_cd8b7fb3-a520-48d8-9ae8-38a40fd58fe8.webp?v=1714706255","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880611061859,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB53","requires_shipping":true,"taxable":true,"featured_image":{"id":31470719762531,"product_id":7407925788771,"position":9,"created_at":"2024-05-03T11:17:33+08:00","updated_at":"2024-05-03T11:17:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523094844da34220bea5ac8695a373443b7bb4be_4063f41a-f356-44db-ac56-42aed9346c19.webp?v=1714706253","variant_ids":[41880611061859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB53","featured_media":{"alt":null,"id":23875623878755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523094844da34220bea5ac8695a373443b7bb4be_4063f41a-f356-44db-ac56-42aed9346c19.webp?v=1714706253"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880611127395,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB53","requires_shipping":true,"taxable":true,"featured_image":{"id":31470717599843,"product_id":7407925788771,"position":5,"created_at":"2024-05-03T11:17:23+08:00","updated_at":"2024-05-03T11:17:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78b79d5777b5c0ad033dc8bfa6e42c30795a9437_9a4ee46e-1fb4-4339-b2a3-903a48849167.webp?v=1714706243","variant_ids":[41880611127395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PB53","featured_media":{"alt":null,"id":23875621683299,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78b79d5777b5c0ad033dc8bfa6e42c30795a9437_9a4ee46e-1fb4-4339-b2a3-903a48849167.webp?v=1714706243"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880611389539,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB53","requires_shipping":true,"taxable":true,"featured_image":{"id":31470720352355,"product_id":7407925788771,"position":10,"created_at":"2024-05-03T11:17:35+08:00","updated_at":"2024-05-03T11:17:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c076b71e454a4e486a4d66068376cc43d68c655_cd8b7fb3-a520-48d8-9ae8-38a40fd58fe8.webp?v=1714706255","variant_ids":[41880611389539]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PB53","featured_media":{"alt":null,"id":23875624403043,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c076b71e454a4e486a4d66068376cc43d68c655_cd8b7fb3-a520-48d8-9ae8-38a40fd58fe8.webp?v=1714706255"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880611061859,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB53","requires_shipping":true,"taxable":true,"featured_image":{"id":31470719762531,"product_id":7407925788771,"position":9,"created_at":"2024-05-03T11:17:33+08:00","updated_at":"2024-05-03T11:17:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523094844da34220bea5ac8695a373443b7bb4be_4063f41a-f356-44db-ac56-42aed9346c19.webp?v=1714706253","variant_ids":[41880611061859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB53","featured_media":{"alt":null,"id":23875623878755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523094844da34220bea5ac8695a373443b7bb4be_4063f41a-f356-44db-ac56-42aed9346c19.webp?v=1714706253"}},"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: "停產" }