cancel
Showing results for 
Search instead for 
Did you mean: 

Layer, Pagination, Order by... PARAMETERS LINKS

SOLVED

Layer, Pagination, Order by... PARAMETERS LINKS

Hi,

 

I have a problem getting url from an item on layer.phtml, etc...

On a category list i can't filter by category, go to next page, order items by, ...

 

Example from the generated links:

 

links view from FireBug:

http://www.mystore.com/mycategory.html#%21cat=45

http://www.mystore.com/mycategory.html#%21p=2

http://www.mystore.com/mycategory.html#%21limit=15

http://www.mystore.com/mycategory.html#%21dir=asc&order=price

 

links view from explorer:

http://www.mystore.com/mycategory.html#!cat=45

http://www.mystore.com/mycategory.html#!p=2

http://www.mystore.com/mycategory.html#!limit=15

http://www.mystore.com/mycategory.html#!dir=asc&order=price

 

If i change '#%21' or '#!' by '?' it works correctly. Example:

http://www.mystore.com/mycategory.html?cat=45

 

How can I fix it?

1 REPLY

Re: Layer, Pagination, Order by... PARAMETERS LINKS

Solution

 

on command line:

 

grep -r '#!' * | more

Change or comment

return str_replace('?', '#%21', parent::getPageUrl($page));

by

return str_replace('?', '?', parent::getPageUrl($page));