Jump to content

Change the number of items per page on search results displays 404 NOT FOUND


lxanth

Recommended Posts

Hello,

 

As the topic subject suggest, I have the following issue:

- Do a search on my e-shop

- Then change the number of products displayed per page

* The system responds with a 404 NOT FOUND page.

 

Here is what I came up with.

 

The initial search is displayed with the following url just fine.

https://www.myshop.com/module/wtblocksearch/catesearch?fc=module&module=wtblocksearch&....

 

but when I change the number of products using the dropdown option, the url changes to

https://www.myshop.com/module/categorysearch/catesearch?fc=module&module=wtblocksearch&....

and I get the 404 NOT FOUND page.

 

As far as I understand the theme was shipped with a set of modules called watertheme (WT). The search url suggests that such a module is being used for the search results.

 

I'd appreciate if you could help where I should start looking for a fix on this.

 

Link to comment
Share on other sites

FIXED

 

The issue was found on the file

/modules/wtblocksearch/views/templates/front/nbr-product-page.tpl

 

specifically had to change the form action from:

<form action="{$link->getModuleLink('categorysearch', 'catesearch', array(), true)|escape:'html':'UTF-8'}" method="get" class="nbrItemPage">

 

to

<form action="{$link->getModuleLink('wtblocksearch', 'catesearch', array(), true)|escape:'html':'UTF-8'}" me
thod="get" class="nbrItemPage">

 

and it worked.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...