Hikaskop filter search

  • Posts: 92
  • Thank you received: 3
  • Hikashop Business
3 weeks 23 hours ago #310333

-- url of the page with the problem -- : lebasport.nl and hikashop.com
-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.11
-- PHP version -- : 7+
-- Browser(s) name and version -- : firefox latest, chtome, Safari

Hi,

When a "product page" is displayed the Hikashop filter search doesn't work. This is also on the hikashop.com page see the image attachement.

• i have disabled the module display in the product page, so the customer has to go back to the product listing or disable the search text.
• today installed the latest patch of Hikashop buss 4.2.1
regards,

Marius

Attachments:

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

  • Posts: 66849
  • Thank you received: 9881
  • MODERATOR
3 weeks 10 hours ago #310351

Hi,

I'm not able to reproduce the problem on our demo website.
When I go to a product page, enter the text "porsche" in the search box on the left and click on the "filter" button, I get this page:
monosnap.com/file/ni7fZUESAFh46zc02wHCVM62ig4RU1
Which is the products listing result page of the search I made.
It seems to work just fine from what I could test. So I must be missing some information to reproduce the problem.
Could you provide more information on what you're doing ? Can you confirm that you have the issue with "Chrome" (I'm using Chrome on my end) ?

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

  • Posts: 92
  • Thank you received: 3
  • Hikashop Business
3 weeks 9 hours ago #310353

hi Nicolas,

Yes when in a normal presentation of a product page the search is good working, but when it is a product page that was "searched" then it stops.

In the demo i searched "stiletto" and looked in the found productpage, then search on "grey" no progress any more.
This in Chrome, Google Chrome is up-to-date
Versie 76.0.3809.132 (Officiële build) (64-bits)

So my client want that a customer always can keep on searching as much he will. Ohterwise the customer has to make more clicks.
Will you look again,
nice day,
Marius

Attachments:

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

  • Posts: 66849
  • Thank you received: 9881
  • MODERATOR
3 weeks 3 minutes ago #310361

Hi,

Thanks, I was able to reproduce the problem on my end.
Change the line:

if(!$this->params->get('force_redirect',0) || $Itemid == $this->params->get('itemid')) {
to:
if(!$this->params->get('force_redirect',0) || ($Itemid == $this->params->get('itemid') && $task == 'listing')) {
in the file components/com_hikashop/views/product/view.html.php and that should fix the problem.
I've applied the change to the master website of the demo website. It should be working fine on the live demo website in a few hours.

The following user(s) said Thank You: mariussport

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

  • Posts: 92
  • Thank you received: 3
  • Hikashop Business
2 weeks 6 days ago #310393

Thank you,
Searching works now perfect! (and fast)

close this topic.

beste regards,

Marius

The following user(s) said Thank You: nicolas

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

Time to create page: 0.061 seconds
Powered by Kunena Forum