Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Removing "sort by" dropdown menu filter

Removing "sort by" dropdown menu filter

Locked

Views: 2,883

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
14 Feb 2009, 11:31 AM
#1
susan767 avatar

susan767

New Zenner

Join Date:
Feb 2009
Posts:
23
Plugin Contributions:
0

Removing "sort by" dropdown menu filter

Hi,

I was able to customize most of the features from admin,
but I can't seem to remove the "sort by" dropdown menu filter from my "New Products" and "Featured Product" page.

Is there a way I can do this from admin?

Thanks,

Susan

14 Feb 2009, 12:07 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Removing "sort by" dropdown menu filter

A link to this page??

Zen-Venom Get Bitten

14 Feb 2009, 9:14 PM
#3
susan767 avatar

susan767

New Zenner

Join Date:
Feb 2009
Posts:
23
Plugin Contributions:
0

Re: Removing "sort by" dropdown menu filter

kobra:

A link to this page??

The following image is what I'm referring to.
I don't have an URL because I haven't purchased a domain name yet and working on a local server.

Thanks,

Susan

15 Feb 2009, 1:12 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Removing "sort by" dropdown menu filter

If there is a switch I can not find it right now but ###### this to your stylesheet.css

#sorter {
        display: none;
        }

Zen-Venom Get Bitten

15 Feb 2009, 1:37 AM
#5
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Removing "sort by" dropdown menu filter

admin/Configuration/Product Listing...
set Include Product Listing Alpha Sorter Dropdown to false

Not sure if this works for featured and new product listings.

Rob

Breakfast: the most important donut of the day.

15 Feb 2009, 5:24 AM
#6
susan767 avatar

susan767

New Zenner

Join Date:
Feb 2009
Posts:
23
Plugin Contributions:
0

Re: Removing "sort by" dropdown menu filter

kobra:

If there is a switch I can not find it right now but ###### this to your stylesheet.css

#sorter {
display: none;
}


I appreciate the neat tip.
I initially did an override by going into tpl_featured_products_default.php and removing the following lines. It did the trick, but I didn't know if it was a good idea to override my template.
```php
<?php
  /**
   * require code to display the list-display-order dropdown
   */
  require($template->get_template_dir('/tpl_modules_listing_display_order.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_listing_display_order.php'); 
?>

rstevenson:

admin/Configuration/Product Listing...
set Include Product Listing Alpha Sorter Dropdown to false

Not sure if this works for featured and new product listings.

Rob

Rob,

I had tried that but it only removed the dropdown menu from my category listing and not from "New Products" and "Featured Products". Thanks anyway.

Susan

15 Feb 2009, 6:10 AM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Removing "sort by" dropdown menu filter

I initially did an override by going into tpl_featured_products_default.php and removing the following lines. It did the trick, but I didn't know if it was a good idea to override my template.
If doing this and using the override system then you are doing it exactly correctly....

Zen-Venom Get Bitten