This commit is contained in:
2025-06-03 00:45:46 +02:00
2 changed files with 11 additions and 6 deletions

View File

@@ -41,12 +41,17 @@ $(document).ready(function()
lps_html_result += '<div class="lps-result-content"><div class="lps-result-title">' + result[i].name + '</div>';
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 += '<div class="lps-result-price">' + result[i].price + '</div>';
console.log(result[i])
}
{
if (
result[i].manufacturer_name != 'Gomarco' &&
!excludedIds.includes(Number(result[i].id_product))
) {
lps_html_result += '<div class="lps-result-price">' + result[i].price + '</div>';
console.log(result[i])
}
}
lps_html_result += '<div>';

View File

@@ -428,7 +428,7 @@
Zapraszamy do kontaktu
</a>
</br>
{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)) }
</br>
<a href="/kontakt" class="btn btn-primary add-to-cart">
Zapraszamy do kontaktu