From 0b7e73c0ef82f9caaf3333c2e6a75da2ca6d5dd8 Mon Sep 17 00:00:00 2001 From: Roman Pyrih Date: Mon, 2 Jun 2025 13:46:06 +0200 Subject: [PATCH 1/2] feat: Update product ID conditions for contact invitation --- .../views/templates/front/details/detail1526395446.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/leo_lulandia/modules/appagebuilder/views/templates/front/details/detail1526395446.tpl b/themes/leo_lulandia/modules/appagebuilder/views/templates/front/details/detail1526395446.tpl index 1ebbbce2..923aefbb 100644 --- a/themes/leo_lulandia/modules/appagebuilder/views/templates/front/details/detail1526395446.tpl +++ b/themes/leo_lulandia/modules/appagebuilder/views/templates/front/details/detail1526395446.tpl @@ -428,7 +428,7 @@ Zapraszamy do kontaktu
- {elseif in_array($product.id, array(23634, 23636, 23637, 34518, 34519)) } + {elseif in_array($product.id, array(23634, 23636, 23637, 34518, 34519, 31069, 31067, 34327, 31070)) }
Zapraszamy do kontaktu From 5d00e8450e63e462ed483a4ada5ecc0c22391c0a Mon Sep 17 00:00:00 2001 From: Roman Pyrih Date: Mon, 2 Jun 2025 15:41:26 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Wyszukiwarka=20usuwanie=20ceny=20konkretnyc?= =?UTF-8?q?h=20produkt=C3=B3w?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/leoproductsearch/views/js/leosearch.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/modules/leoproductsearch/views/js/leosearch.js b/modules/leoproductsearch/views/js/leosearch.js index ccb064b1..d1a3880e 100644 --- a/modules/leoproductsearch/views/js/leosearch.js +++ b/modules/leoproductsearch/views/js/leosearch.js @@ -41,12 +41,17 @@ $(document).ready(function() lps_html_result += '
' + result[i].name + '
'; + const excludedIds = [31069, 31067, 34327, 31070]; + if (typeof lps_show_product_price != 'undefined' && lps_show_product_price) - { - if (result[i].manufacturer_name != 'Gomarco') { - lps_html_result += '
' + result[i].price + '
'; - console.log(result[i]) - } + { + if ( + result[i].manufacturer_name != 'Gomarco' && + !excludedIds.includes(Number(result[i].id_product)) + ) { + lps_html_result += '
' + result[i].price + '
'; + console.log(result[i]) + } } lps_html_result += '
';