Skip to main content

Error with search filter

More
8 years 4 months ago - 8 years 4 months ago #292615 by Pgva
Hi,
on a category if "search" return "no product found", the search "box" disappear and there's no way to display back
all the products of the category. I've try cleaning history, caches.....no way...
The only way to back to normal, is restart the computer
I certainly miss something here...

Thanks in advance
Last edit: 8 years 4 months ago by Pgva.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #292626 by nicolas
Replied by nicolas on topic Error with search filter
Hi,

It's probably an issue with the settings of the filter module.
Please provide a link to the page so that we can have a look at the problem.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago - 8 years 4 months ago #292658 by Pgva
Replied by Pgva on topic Error with search filter
Hi, thanks for getting back quickly
here is the link to the store, type anything on the search box like 1235678.... and you'll see
problem "stick" on the page the search was done, changing to another category, search box is available
weird...

dominicanamberfossils.com/en/store/amber-jewelry/necklaces

I add a pic of the filter settings as well in case...
Last edit: 8 years 4 months ago by Pgva.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #292660 by nicolas
Replied by nicolas on topic Error with search filter
Hi,

You didn't select any column in the "apply on" setting of your filter. So you're filter is searching on nothing and thus no products match.
I would also recommend turning on the "redirect POST mode" setting in the HikaShop configuration.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #292702 by Pgva
Replied by Pgva on topic Error with search filter
Hi thanks for getting back

Exactly, even without any fields selected on the "Apply on" options, performed search return a result with any valid product name or product code.
As per your recommendation, I add fields on "Apply on" (Product name & Product code) Nothing change, if there's no product matching with the info entered on the search field, filters disappear on the specific category search was performed with no other option to get them back than restart the computer....
I also turn on the "redirect post mode" according to your recommendations as well.....it stays same exactly...

Any other thought?

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #292704 by nicolas
Replied by nicolas on topic Error with search filter
Hi,

It could come from a view override.
Check whether you have the file templates/YOUR_TEMPLATE/html/com_hikashop/product/listing.php
If you do, try renaming it in order to deactivate it and see if that helps.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago - 8 years 4 months ago #292734 by Pgva
Replied by Pgva on topic Error with search filter
Hi. there's no com_hikashop folder in the template/html one
See enclosed the html folder structure as well as errors displayed in the chrome inspector

Thanks
Last edit: 8 years 4 months ago by Pgva.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #292788 by nicolas
Replied by nicolas on topic Error with search filter
Hi,

Then edit the file "listing" of the view "product" via the menu Display>Views and change the code:
Code:
if(!empty($html)){ if($this->module) echo $mainInfo; if(!empty($htmlFilter) && $ctrl == 'category') echo $htmlFilter;
to:
Code:
if(!empty($htmlFilter) && $ctrl == 'category') echo $htmlFilter; if(!empty($html)){ if($this->module) echo $mainInfo;

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #292829 by Pgva
Replied by Pgva on topic Error with search filter
Hi, checking on View / Specific template / Product / listing I don't find any code matching the one you request to change.
See enclosed the most similar I found.

Thanks

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #292831 by nicolas
Replied by nicolas on topic Error with search filter
Hi,

It should be here:
monosnap.com/file/xXpWMGdy6wgxS1KJXENksEIzGISSLe
unless you don't have the latest version of Hikashop but an old version.
The following user(s) said Thank You: Pgva

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #292909 by Pgva
Replied by Pgva on topic Error with search filter
Hi
With your indications, I found the code and change it.
Now it seems not rendering any errors.
Thanks for your help.

Please Log in or Create an account to join the conversation.

Time to create page: 0.245 seconds
Powered by Kunena Forum