Forums / Templates, Stylesheets, Page Layout / Removing the Sort(Top) Row from the Product Listing

Removing the Sort(Top) Row from the Product Listing

Locked

Views: 1,674

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
12 Apr 2008, 9:21 PM
#1
slee avatar

slee

New Zenner

Join Date:
May 2007
Posts:
6
Plugin Contributions:
0

Removing the Sort(Top) Row from the Product Listing

I am trying to get rid of the top row from a product listing, the heading row that allows sorting. I've been able to remove the text itself by commenting out lines in /includes/modules/product_listing.php, but a blank box the size of the product boxes remains. Can anyone point me to the code that inserts this row?

12 Apr 2008, 9:26 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Removing the Sort(Top) Row from the Product Listing

slee:

I am trying to get rid of the top row from a product listing, the heading row that allows sorting. I've been able to remove the text itself by commenting out lines in /includes/modules/product_listing.php, but a blank box the size of the product boxes remains. Can anyone point me to the code that inserts this row?

Hard to take a shot in the dark, Post a link to the page please, so I can view the problem

I believe this is what you are talking about..
Product Info Page
A. Filter Results
1. admin panel/ configuration/ Product Listing/ Include Product Listing Alpha Sorter Dropdown
2. set to false

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

12 Apr 2008, 11:05 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Removing the Sort(Top) Row from the Product Listing

Yup, a link to the site always makes it easier - do you mean the sort options that are in the product listing header (price+,etc)?

13 Apr 2008, 7:02 PM
#4
slee avatar

slee

New Zenner

Join Date:
May 2007
Posts:
6
Plugin Contributions:
0

Re: Removing the Sort(Top) Row from the Product Listing

i mean the whole top row of the listing which contains column headers that allow you to sort. it looks like there might be options to get rid of it if i update (on 1.3.0 now), i will try that.

sry i have no link, the site is all password protected as per client's request

2 Sep 2010, 2:31 PM
#5
sarahl avatar

sarahl

Zen Follower

Join Date:
May 2004
Location:
UK
Posts:
471
Plugin Contributions:
0

Re: Removing the Sort(Top) Row from the Product Listing

includes/modules/product_listing.php

save as

includes/modules/YOURTEMPLATE/product_listing.php

edit around line 80 to comment out part below

  if ( ($column_list[$col] != 'PRODUCT_LIST_IMAGE') ) {
#    $lc_text = zen_create_sort_heading($_GET['sort'], $col+1, $lc_text);
  }

This will remove the clickable sort functionality

1.3.9a version