Error with search filter

  • Posts: 29
  • Thank you received: 0
  • Hikashop Business
3 months 1 week ago #292615

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

Attachments:
Last Edit: 3 months 1 week ago by Pgva.

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

  • Posts: 63031
  • Thank you received: 9058
  • MODERATOR
3 months 1 week ago #292626

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.

  • Posts: 29
  • Thank you received: 0
  • Hikashop Business
3 months 1 week ago #292658

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...

Attachments:
Last Edit: 3 months 1 week ago by Pgva.

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

  • Posts: 63031
  • Thank you received: 9058
  • MODERATOR
3 months 6 days ago #292660

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.

  • Posts: 29
  • Thank you received: 0
  • Hikashop Business
3 months 6 days ago #292702

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?

Attachments:

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

  • Posts: 63031
  • Thank you received: 9058
  • MODERATOR
3 months 5 days ago #292704

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.

  • Posts: 29
  • Thank you received: 0
  • Hikashop Business
3 months 5 days ago #292734

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

Attachments:
Last Edit: 3 months 5 days ago by Pgva.

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

  • Posts: 63031
  • Thank you received: 9058
  • MODERATOR
3 months 5 days ago #292788

Hi,

Then edit the file "listing" of the view "product" via the menu Display>Views and change the code:

	if(!empty($html)){
		if($this->module) echo $mainInfo;
		if(!empty($htmlFilter) && $ctrl == 'category')
			echo $htmlFilter;
to:
	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.

  • Posts: 29
  • Thank you received: 0
  • Hikashop Business
3 months 4 days ago #292829

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

Attachments:

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

  • Posts: 63031
  • Thank you received: 9058
  • MODERATOR
3 months 3 days ago #292831

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.

  • Posts: 29
  • Thank you received: 0
  • Hikashop Business
3 months 2 days ago #292909

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.106 seconds
Powered by Kunena Forum