2

Please refer this following url http://www.trendycollections.in/kids-wear/boys-wear.html

All sorting is working Fine. But I have different issue. In the above url if i chose Price lowest under the sort by option then i will move to http://www.trendycollections.in/women-collections/sarees/designer-sarees.html, That category page also having Price lowest sorting.

If i chose price highest,Next category page also sorting by price highest

I think, i need to reset sort by option. I have set default sorting under system->config->catalog->front end->Product Listing Sort by as Best value. I can’t find where am i doing wrong here. if anybody know, please help me guys

0

1 Answer 1

7

Take a look at this. By default Magento remembers the sorting and limit parameters in session. So what you need to do is to tell it not to. This can be done easily by adding this line

<action method="disableParamsMemorizing" />

inside the toolbar block in your layout files. So look in your layout files for all occurrences of

<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">

and add inside this tag the line mentioned above.
Clear the cache when your are done.

5
  • Now, all are working fine! but now i have one more issue. when i select latest arrival, it display from oldest product. that means FIFO order. If even i have change the direction on url, it doesn't work. I can't find where is mistake arise from? Plz help me na
    – DRAJI
    Commented Aug 30, 2013 at 11:22
  • I think this is the subject of an other question.
    – Marius
    Commented Aug 30, 2013 at 11:25
  • ok, i will make new thread. Thank you! But it works fine some times. If i try again one more time,it goes to back(the above issue occur again)
    – DRAJI
    Commented Aug 30, 2013 at 11:31
  • magento.stackexchange.com/questions/7375/… --This is the new thread for above issue. If you know, Kindly save me
    – DRAJI
    Commented Aug 30, 2013 at 11:41
  • It will cause other problems like changing the display mode (grid/list) and page size, that will be lost. Commented May 18, 2017 at 0:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.