Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Product Display pages

Product Display pages

Locked

Views: 915

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
2 Mar 2008, 3:04 PM
#1
andrew1810 avatar

andrew1810

New Zenner

Join Date:
Mar 2008
Posts:
4
Plugin Contributions:
0

Product Display pages

Hi,

I'm trying to edit the product display pages, but can't work out which page I need to edit, can anyone advise which page I should be changing?

Thanks

Andrew

2 Mar 2008, 3:15 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Product Display pages

When you say "edit" - do you mean you want to REMOVE things, change things around, re-shape the page ...???

The file you probably need to look at is tpl_product_info_display.php and this is in your includes/templates/template_default/templates/ ... folder.

FTP a COPY to your local drive.

Edit the COPY

FTP the changed file to your over-rides directory on your server:-

includes/templates/YOUR_TEMPLATE/templates/

2 Mar 2008, 3:21 PM
#3
andrew1810 avatar

andrew1810

New Zenner

Join Date:
Mar 2008
Posts:
4
Plugin Contributions:
0

Re: Product Display pages

A bit of both really, mainly just trying to alter the actual display so for one product, the buy-now button is moved a bit and for multiple products they are displayed horizontally like the category view rather than vertically.

Also, is it possible to have it display the same where there is only one product as when there are multiple ones:

http://development.itsolutionsuk.net/astrid/index.php?main_page=product_info&cPath=8&products_id=1

to look more like:

http://development.itsolutionsuk.net/astrid/index.php?main_page=index&cPath=5_9

Thanks

Andrew

2 Mar 2008, 3:42 PM
#4
andrew1810 avatar

andrew1810

New Zenner

Join Date:
Mar 2008
Posts:
4
Plugin Contributions:
0

Re: Product Display pages

I'm trying to change the design of the product display page to have them horizontally with a picture, instead of in a table as they are currently set out.

Also, is it possible to have categories with only 1 product display the same as if they had multiple products, or do I have to edit a different page for this?

Thanks

2 Mar 2008, 6:36 PM
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Product Display pages

You may wish to consider options in your ADMIN panel first. You can choose COLUMNAR display, or TABULAR display. I think it's in ADMIN>>>CONFIGURATION>>>LAYOUT SETTINGS.

This will change the presentation of products in the PRODUCT LISTING display config.

The relative positions of components can also be altered in ADMIN>>>CATALOG>>>PRODUCT TYPES>>>(select Product - General) then click EDIT LAYOUT button.

In the PRODUCT INFO display (where only ONE product is now shown, with all its detail) there are numerous ways to tweak the layout. Some of these settings are in ADMIN, and others are achieved by changing the CSS.

You can shift the fundamental ORDER of components by moving blocks of code in tpl_product_info_display.php as suggested earlier.

Look for divisions of code, dilineated by <!bof--> and <--eof> tags.

2 Mar 2008, 6:39 PM
#6
andrew1810 avatar

andrew1810

New Zenner

Join Date:
Mar 2008
Posts:
4
Plugin Contributions:
0

Re: Product Display pages

Excellent, thanks.

Will have a play now.

I'm getting used to most of it, but didn't think of checking the admin section for product layout.

Thanks for your help