Post by robertbramel » Thu Oct 13, 2011 12:08 am

On the product pages the sort option is currently set to "Default". I need to set it to "Name (A-Z)". How can I make it stay at "Name(A-Z)"?

Newbie

Posts

Joined
Wed Oct 12, 2011 11:54 pm

Post by 4bco » Thu Oct 13, 2011 8:19 am

open: catalog/controller/product/category.php

find:

Code: Select all

          if (isset($this->request->get['sort'])) {
             $sort = $this->request->get['sort'];
          } else {
             $sort = 'p.sort_order';
          }
replace with:

Code: Select all

      if (isset($this->request->get['sort'])) {
         $sort = $this->request->get['sort'];
      } else {
         $sort = 'pd.name';
      }
The default sort order is now a-z....

Simon recently helped with the just this topic, so I hope that I can now help you.... :)

Custom Website Design from BCO ~ Building Companies Online
If we were of assistance to you, please help my family in return with a small donation.


New member

Posts

Joined
Wed Jun 29, 2011 11:40 pm
Who is online

Users browsing this forum: No registered users and 11 guests