What's New
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.
Tagged: search
Hi,
I don’t what is happened but the search display only 1 page with search results.
For example the shop has much more as 40 books with the word “сказки” in the products name
but the search results page display only first page with 40 products.
Prestashop 1.7.2.4, Transformer 4.2.6.
Best regards, Viaceslav.
Hi,
a couple of days ago, the search was still working fine and produced search results with pagination.
I thought about what changes were made on the site the last couple of days and immediately thought that you helped me to make it so that only those products with a number greater than 0 were displayed in the search results.
Here https://www.sunnytoo.com/forums/topic/how-to-hide-the-products-with-quantity-equal-0
Then I tried to upload to the site again the original yet unmodified PS 1.7.2.4 file /classes/Search.php and splitting the search results into pages again worked fine.
I attach 2 files Search.php – one before the changes and the other with the changes you proposed.
If you compare both files in the WinMerge program, you will immediately see where and what changes are made.
I am sure that you will be able to solve this problem.
Best regards, Viaceslav
Hi,
thank you.
I attached here one zip file with original PS 1.7.2.4 Search.php
and one with modification which you suggested that the search should show only products with quantity greater than 0.
Best regards, Viaceslav.
You must be logged in to reply to this topic.