- Posts: 13
- Thank you received: 1
Search display
12 years 6 months ago #154680
by jota2000
Search display was created by jota2000
Hi
This topic i'm searching for is already on the forum but it seems it doesn't work fully with my shop( seracengineering.co.uk ), when i use the filter function i get an empty result and of course that is not good for the customer , so i used the code on this forum to display "no results found", but depending on where i put it , it can blank me the pages or it will show the wording even if there are products on the search result. The code that i used was if(empty($this->rows)){
echo 'No Results Found';
}
With no luck ,can you help on this?
This topic i'm searching for is already on the forum but it seems it doesn't work fully with my shop( seracengineering.co.uk ), when i use the filter function i get an empty result and of course that is not good for the customer , so i used the code on this forum to display "no results found", but depending on where i put it , it can blank me the pages or it will show the wording even if there are products on the search result. The code that i used was if(empty($this->rows)){
echo 'No Results Found';
}
With no luck ,can you help on this?
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 6 months ago #154715
by Mohamed Thelji
Replied by Mohamed Thelji on topic Search display
Hello,
Note that this code should do the job if you put it on the "listing" / "listing_div" file of the "product" view of your front-end template through the page "Hikashop->Display->Views".
Note that this code should do the job if you put it on the "listing" / "listing_div" file of the "product" view of your front-end template through the page "Hikashop->Display->Views".
Please Log in or Create an account to join the conversation.
Time to create page: 0.050 seconds