tmpl=raw on second page from search result

  • Posts: 71
  • Thank you received: 1
4 years 11 months ago #317052

-- HikaShop version -- : 4.2.3

Hi,

When you do a search for mount on the homepage. Hikashop will generate a multipaged result. The first page looks good but the other pages will have the template removed. You can see in the URL that there is a parameter tmpl=raw. When you go directly to the same page or do a refresh after the search this parameter is not present in the link. What can we do too avoid this?

Best regards,

RG

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 11 months ago #317054

Hi,

When I use the search box at the top of your homepage to search "mount", I arrive on this page:
/zoek-resultaten/product/listing.html?limitstart=0&filter_Zoeken_13=mount
And if I go to the second page, I arrive on this page:
/zoek-resultaten/product/listing.html?limitstart=48&filter_Zoeken_13=mount&limit=48
I don't see the tmpl=raw parameter in the URL and the second page displays fine.
So I'm afraid I'm not able to reproduce the problem.

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

  • Posts: 71
  • Thank you received: 1
4 years 11 months ago #317097

Hi Nicolas,

You are right. Try searching a second time.

This message contains confidential information

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 11 months ago #317098

Hi,

Ah ok I see the issue on the second search yes.
That's because you have a view override which doesn't have the code modifications necessary for the pagination to work properly with the AJAX filtering.
Renaming the file templates/YOUR_TEMPLATE/html/com_hikashop/product/listing_div.php via FTP and it should then work fine.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum