Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2007
    Posts
    9
    Plugin Contributions
    0

    Default Hide Sort Order dropdown on all pages

    Is it possible to hide Sort Order dropdown on all pages so customers can't select sort order? (All products, New products, Product list).

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Hide Sort Order dropdown on all pages

    Quote Originally Posted by webform View Post
    Is it possible to hide Sort Order dropdown on all pages so customers can't select sort order? (All products, New products, Product list).
    W,

    includes/ templates/ custom/ templates/ css/ stylesheet.css

    Add this following declaration to the sheet.
    1. sorter {display:none;}

  3. #3
    Join Date
    Sep 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Hide Sort Order dropdown on all pages

    Cool thanks! I will try it!

  4. #4
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Hide Sort Order dropdown on all pages

    Quote Originally Posted by webform View Post
    Cool thanks! I will try it!
    Let me know if she works..

  5. #5
    Join Date
    Sep 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Hide Sort Order dropdown on all pages

    Nope it didn't work!

    Maybe i should just find the right template and comment out the sort form - Just have to find the right template

  6. #6
    Join Date
    Sep 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Hide Sort Order dropdown on all pages

    Well i think i got it to work now

    Added a "sorter" with display:none to my stylesheet and wrapped the template tpl_index_product_list.php content in my "sorter".

    Thanks for pointing me in the right direction!

  7. #7
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: Hide Sort Order dropdown on all pages

    If you use the solution above but put a pound sign before it - that will work with just using the css

    #sorter {display:none;}

    Quote Originally Posted by webform View Post
    Nope it didn't work!

    Maybe i should just find the right template and comment out the sort form - Just have to find the right template

  8. #8
    Join Date
    Sep 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Hide Sort Order dropdown on all pages

    That was what i did - The problem was the "the sorter" class was not defined in the templates so i just added it!

  9. #9
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: Hide Sort Order dropdown on all pages

    Ah! Gotcha! I guess I must be running a different version of Zencart or your template was revised or something, because it worked for me without having to do anything to the template. I am using the standard 1.3.8a - so was happy as a pig in mud that the css code worked!


    Quote Originally Posted by webform View Post
    That was what i did - The problem was the "the sorter" class was not defined in the templates so i just added it!

 

 

Similar Threads

  1. Zones Sort order in create account dropdown
    By Nick1973 in forum General Questions
    Replies: 2
    Last Post: 18 Sep 2015, 03:23 PM
  2. v150 Creating an option to hide the sort products dropdown within the admin
    By hawkwynd in forum Customization from the Admin
    Replies: 0
    Last Post: 21 Jun 2012, 06:09 PM
  3. Sort Order - All - sort by a-z (show a - c, etc)
    By kiermasz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Jun 2008, 09:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg