$product = {"id":7408208674915,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列","handle":"iphone-13-mini-mod-nx-printable-pb46","description":null,"published_at":"2024-06-11T16:34:18+08:00","created_at":"2024-05-03T12:21:06+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":41883872886883,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31471479292003,"product_id":7408208674915,"position":10,"created_at":"2024-05-03T12:21:30+08:00","updated_at":"2024-05-03T12:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50d26761daa8364f09c2f9a042e7454d1f273074_2a83f94b-c876-4712-a28c-7f7c82530364.webp?v=1714710090","variant_ids":[41883872886883]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23876385669219,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50d26761daa8364f09c2f9a042e7454d1f273074_2a83f94b-c876-4712-a28c-7f7c82530364.webp?v=1714710090"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883872952419,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31471478341731,"product_id":7408208674915,"position":8,"created_at":"2024-05-03T12:21:25+08:00","updated_at":"2024-05-03T12:21:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15277e1dda76e9a30cd4cd30228681900ff01e6a_02b7a543-bc97-413a-be76-947b23ae9414.webp?v=1714710085","variant_ids":[41883872952419]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23876384718947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15277e1dda76e9a30cd4cd30228681900ff01e6a_02b7a543-bc97-413a-be76-947b23ae9414.webp?v=1714710085"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883873181795,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31471478767715,"product_id":7408208674915,"position":9,"created_at":"2024-05-03T12:21:28+08:00","updated_at":"2024-05-03T12:21:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/685fcb330d172bb1423cf43ca505de78d84b1a3f_fa5e9f92-f580-44c5-90a8-8d216171719d.webp?v=1714710088","variant_ids":[41883873181795]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23876385177699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/685fcb330d172bb1423cf43ca505de78d84b1a3f_fa5e9f92-f580-44c5-90a8-8d216171719d.webp?v=1714710088"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88fa2e913d89015d4898637ef1e0f800847a546f_cd8f1f37-069e-44d4-9f3b-26d624fcadb1.webp?v=1714710069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeb24b1bdbda200f10bbb73ac821e69299688c2d_549d322b-407f-4e84-9a0d-836a9999ab74.webp?v=1714710071","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec288427fc0728f0a7e230634399cd7f65d0b987_c7f8afca-ca11-44d9-8106-fb66d6e8c5dd.webp?v=1714710073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d56815030ee58c20339ff1359795441fc655904_0c8943b9-752a-4427-96cf-7c195cfa2988.webp?v=1714710076","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89e845bbc863ac497a797670ff6e074f00758614_8f2f1b1e-3ddd-4fd1-b58c-84976bf6337d.webp?v=1714710078","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7277a38ff51d4de856904d4c1ab5bf52e4a5d813_c6688dfd-bebb-4755-ad1c-a630359462ce.webp?v=1714710081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a8cceea841331b3a50a4d2675a65c2ae52779e3_7d8da6aa-b4e3-465a-9cdb-b91cb427031f.webp?v=1714710083","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15277e1dda76e9a30cd4cd30228681900ff01e6a_02b7a543-bc97-413a-be76-947b23ae9414.webp?v=1714710085","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/685fcb330d172bb1423cf43ca505de78d84b1a3f_fa5e9f92-f580-44c5-90a8-8d216171719d.webp?v=1714710088","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50d26761daa8364f09c2f9a042e7454d1f273074_2a83f94b-c876-4712-a28c-7f7c82530364.webp?v=1714710090"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88fa2e913d89015d4898637ef1e0f800847a546f_cd8f1f37-069e-44d4-9f3b-26d624fcadb1.webp?v=1714710069","options":["color"],"media":[{"alt":null,"id":23876380950627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88fa2e913d89015d4898637ef1e0f800847a546f_cd8f1f37-069e-44d4-9f3b-26d624fcadb1.webp?v=1714710069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88fa2e913d89015d4898637ef1e0f800847a546f_cd8f1f37-069e-44d4-9f3b-26d624fcadb1.webp?v=1714710069","width":2000},{"alt":null,"id":23876381474915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeb24b1bdbda200f10bbb73ac821e69299688c2d_549d322b-407f-4e84-9a0d-836a9999ab74.webp?v=1714710071"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeb24b1bdbda200f10bbb73ac821e69299688c2d_549d322b-407f-4e84-9a0d-836a9999ab74.webp?v=1714710071","width":2000},{"alt":null,"id":23876381900899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec288427fc0728f0a7e230634399cd7f65d0b987_c7f8afca-ca11-44d9-8106-fb66d6e8c5dd.webp?v=1714710073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec288427fc0728f0a7e230634399cd7f65d0b987_c7f8afca-ca11-44d9-8106-fb66d6e8c5dd.webp?v=1714710073","width":2000},{"alt":null,"id":23876382326883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d56815030ee58c20339ff1359795441fc655904_0c8943b9-752a-4427-96cf-7c195cfa2988.webp?v=1714710076"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d56815030ee58c20339ff1359795441fc655904_0c8943b9-752a-4427-96cf-7c195cfa2988.webp?v=1714710076","width":2000},{"alt":null,"id":23876382916707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89e845bbc863ac497a797670ff6e074f00758614_8f2f1b1e-3ddd-4fd1-b58c-84976bf6337d.webp?v=1714710078"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89e845bbc863ac497a797670ff6e074f00758614_8f2f1b1e-3ddd-4fd1-b58c-84976bf6337d.webp?v=1714710078","width":2000},{"alt":null,"id":23876383408227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7277a38ff51d4de856904d4c1ab5bf52e4a5d813_c6688dfd-bebb-4755-ad1c-a630359462ce.webp?v=1714710081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7277a38ff51d4de856904d4c1ab5bf52e4a5d813_c6688dfd-bebb-4755-ad1c-a630359462ce.webp?v=1714710081","width":2000},{"alt":null,"id":23876384129123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a8cceea841331b3a50a4d2675a65c2ae52779e3_7d8da6aa-b4e3-465a-9cdb-b91cb427031f.webp?v=1714710083"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a8cceea841331b3a50a4d2675a65c2ae52779e3_7d8da6aa-b4e3-465a-9cdb-b91cb427031f.webp?v=1714710083","width":2000},{"alt":null,"id":23876384718947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15277e1dda76e9a30cd4cd30228681900ff01e6a_02b7a543-bc97-413a-be76-947b23ae9414.webp?v=1714710085"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15277e1dda76e9a30cd4cd30228681900ff01e6a_02b7a543-bc97-413a-be76-947b23ae9414.webp?v=1714710085","width":2000},{"alt":null,"id":23876385177699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/685fcb330d172bb1423cf43ca505de78d84b1a3f_fa5e9f92-f580-44c5-90a8-8d216171719d.webp?v=1714710088"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/685fcb330d172bb1423cf43ca505de78d84b1a3f_fa5e9f92-f580-44c5-90a8-8d216171719d.webp?v=1714710088","width":2000},{"alt":null,"id":23876385669219,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50d26761daa8364f09c2f9a042e7454d1f273074_2a83f94b-c876-4712-a28c-7f7c82530364.webp?v=1714710090"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50d26761daa8364f09c2f9a042e7454d1f273074_2a83f94b-c876-4712-a28c-7f7c82530364.webp?v=1714710090","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883872886883,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31471479292003,"product_id":7408208674915,"position":10,"created_at":"2024-05-03T12:21:30+08:00","updated_at":"2024-05-03T12:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50d26761daa8364f09c2f9a042e7454d1f273074_2a83f94b-c876-4712-a28c-7f7c82530364.webp?v=1714710090","variant_ids":[41883872886883]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23876385669219,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50d26761daa8364f09c2f9a042e7454d1f273074_2a83f94b-c876-4712-a28c-7f7c82530364.webp?v=1714710090"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883872952419,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31471478341731,"product_id":7408208674915,"position":8,"created_at":"2024-05-03T12:21:25+08:00","updated_at":"2024-05-03T12:21:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15277e1dda76e9a30cd4cd30228681900ff01e6a_02b7a543-bc97-413a-be76-947b23ae9414.webp?v=1714710085","variant_ids":[41883872952419]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23876384718947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15277e1dda76e9a30cd4cd30228681900ff01e6a_02b7a543-bc97-413a-be76-947b23ae9414.webp?v=1714710085"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883873181795,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31471478767715,"product_id":7408208674915,"position":9,"created_at":"2024-05-03T12:21:28+08:00","updated_at":"2024-05-03T12:21:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/685fcb330d172bb1423cf43ca505de78d84b1a3f_fa5e9f92-f580-44c5-90a8-8d216171719d.webp?v=1714710088","variant_ids":[41883873181795]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23876385177699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/685fcb330d172bb1423cf43ca505de78d84b1a3f_fa5e9f92-f580-44c5-90a8-8d216171719d.webp?v=1714710088"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883872886883,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31471479292003,"product_id":7408208674915,"position":10,"created_at":"2024-05-03T12:21:30+08:00","updated_at":"2024-05-03T12:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50d26761daa8364f09c2f9a042e7454d1f273074_2a83f94b-c876-4712-a28c-7f7c82530364.webp?v=1714710090","variant_ids":[41883872886883]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23876385669219,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50d26761daa8364f09c2f9a042e7454d1f273074_2a83f94b-c876-4712-a28c-7f7c82530364.webp?v=1714710090"}},"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: "停產" }