Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Add Table Row to Product Listing

Add Table Row to Product Listing

Locked

Views: 1,427

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
6 Feb 2010, 9:15 PM
#1
chrismarie avatar

chrismarie

New Zenner

Join Date:
Apr 2009
Location:
Chicago, IL
Posts:
45
Plugin Contributions:
0

Add Table Row to Product Listing

Hi all,
I'm trying to get the manufacturer's name in it's own row above the product image as opposed to being located in a table cell next to it. I've been doing some serious modding of the product_listing.php file trying to figure this out, but the solution escapes me.

My test build is here, and in order to give you an idea of what I'm trying to accomplish, I added a TR in the tpl_tabular_display.php file which I will delete once I figure out how to mod the product listing. That was purely for the sake of example, but it says "Manufacturers Name Here" where I'd like the manufacturers name to go.

Thanks in advance for any help!

  • oh yeah, I've hidden the product listing row headings with CSS
6 Feb 2010, 9:22 PM
#2
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Add Table Row to Product Listing

You might want to try a mod called flexible product listing which will do this for you.

6 Feb 2010, 9:39 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Add Table Row to Product Listing

It is not in Free Addons, but attached to a thread post. styling product listing pages with column layout grid, post 50.

6 Feb 2010, 9:46 PM
#4
chrismarie avatar

chrismarie

New Zenner

Join Date:
Apr 2009
Location:
Chicago, IL
Posts:
45
Plugin Contributions:
0

Re: Add Table Row to Product Listing

Am I taking crazy pills or is this mod insanely hard to find?

Edit: that explains it :) I was furiously searching the forums and downloads while you were writing that

6 Feb 2010, 11:07 PM
#5
chrismarie avatar

chrismarie

New Zenner

Join Date:
Apr 2009
Location:
Chicago, IL
Posts:
45
Plugin Contributions:
0

Re: Add Table Row to Product Listing

Great mod - I wish I had found it before I tried to customize this stuff myself.

I know I'm probably being dense here, but how can I use it to turn the manufacturer' name cell into it's own row?

6 Feb 2010, 11:40 PM
#6
chrismarie avatar

chrismarie

New Zenner

Join Date:
Apr 2009
Location:
Chicago, IL
Posts:
45
Plugin Contributions:
0

Re: Add Table Row to Product Listing

Oooh, duh! I was being incredibly dense! I just switched it to column mode - wow, what a great mod!!! The thing that kills me is that I had stumbled upon the thread that had the download in it days ago, I just didn't read far enough into it to find the download and just searched the Add-Ons instead. If I could go back in time and get the hours back...

Thanks so much guys.

16 Mar 2010, 12:30 PM
#7
bikeforce avatar

bikeforce

New Zenner

Join Date:
Sep 2009
Posts:
73
Plugin Contributions:
0

Re: Add Table Row to Product Listing

What happens if you want to add a table heading also and have a sort filter on it - does this mod do this? If now does anyone have any suggestions?

24 Mar 2010, 4:43 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Add Table Row to Product Listing

The mod won't put anything into the product listing that isn't already there - it just allows you to arrange the elements as you like.

If you are talking about a sort filter at the top of the whole listing table/grid, that is a completely separate question and will not be accomplished with this mod even by tweaking it.