Hi, thank you very much for the detailed info, now I understand and seems I found the problem, if you are able to edit files on your server, go to:
administrator/components/com_phocacart/libraries/phocacart/search/search.php
and on line cca 441 change
FROM:
TO:
This should solve the problem with "All" - only items which will have all selected parameters will be displayed.
Let me know if this works for you.
Jan
administrator/components/com_phocacart/libraries/phocacart/search/search.php
and on line cca 441 change
FROM:
Code:
if (I18nHelper::isI18n()) { $where .= " INNER JOIN #__phocacart_specifications AS s2bx" . $i . " ON s2x" . $i . ".product_id = s2x" . $i . ".product_id AND " . $v;} else { $where .= " INNER JOIN #__phocacart_specifications AS s2x".$i." ON s2x" . $i . ".product_id = s2x".$i.".product_id AND ". $v;}
Code:
if (I18nHelper::isI18n()) { $where .= " INNER JOIN #__phocacart_specifications AS s2bx" . $i . " ON s2x0.product_id = s2x" . $i . ".product_id AND " . $v;} else { $where .= " INNER JOIN #__phocacart_specifications AS s2x".$i." ON s2x0.product_id = s2x".$i.".product_id AND ". $v;}
Let me know if this works for you.
Jan
Statistics: Posted by Jan — 31 May 2025, 01:13