Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How to change the contents of the all products display?

How to change the contents of the all products display?

Locked

Started by gibsons on 21 Oct 2006, 4:23 PM · Views: 1,342

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
21 Oct 2006, 4:23 PM
#1
gibsons avatar

gibsons

New Zenner

Join Date:
Oct 2006
Posts:
16
Plugin Contributions:
0

Post #1 by gibsons

I'd like to be able to customize what is shown for each product in the all products display. For example, I would like to have a button to write a review, display reviews, etc... Any ideas?

The best in new and original science fiction and fantasy novels
www.kingtigerbooks.com

21 Oct 2006, 4:59 PM
#2
kobra avatar

kobra

Black Belt

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

Post #2 by kobra

These desired items are not native in the display that you wnat them in.
The functions exist but elsewhere and one would have to custom code the particular display to include them.

Zen-Venom Get Bitten

23 Oct 2006, 12:22 AM
#3
gibsons avatar

gibsons

New Zenner

Join Date:
Oct 2006
Posts:
16
Plugin Contributions:
0

Post #3 by gibsons

Thanks for the quick reply.

I'm not afraid of a little code. Where would I put that code?

The best in new and original science fiction and fantasy novels
www.kingtigerbooks.com

23 Oct 2006, 12:39 AM
#4
kobra avatar

kobra

Black Belt

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

Post #4 by kobra

You did not post about what you wanted to add to this diplsay but where you probably want to start is with /includes/templates/template_default/templates/tpl_modules_products_all_listing.php

And then look for what might exist in other displays that you want to include and can copy or move or create your own php get statements to retreive from the DB the info you want.

And I actually have no idea what I just stated as I am terrible at php but I always excelled at "cut & paste"

Zen-Venom Get Bitten

23 Oct 2006, 12:46 PM
#5
gibsons avatar

gibsons

New Zenner

Join Date:
Oct 2006
Posts:
16
Plugin Contributions:
0

Post #5 by gibsons

That looks like exactly what I need. Thanks!

BTW, remember, Cut & Paste Programming is actually an Anti-Pattern! :D

The best in new and original science fiction and fantasy novels
www.kingtigerbooks.com