Forums / Templates, Stylesheets, Page Layout / Product Layout Changes - Need Help!

Product Layout Changes - Need Help!

Locked
Results 1 to 9 of 9
This thread is locked. New replies are disabled.
10 May 2006, 00:48
#1
emtecmedia avatar

emtecmedia

Zen Follower

Join Date:
May 2005
Posts:
108
Plugin Contributions:
0

Product Layout Changes - Need Help!

Hi all,

I only have a limited knowledge of PHP and I have been trying to modify the layout of my products within my shop for a couple of days now. I have managed to get the product info display page looking ok but i am having massive troubles trying to get the product listing page looking how i want it to.

I have found a site which has the exact layout I want to achieve:

Product Listing Example:
http://www.jewelrysupply.com/swarovski/swarovski_bead.html

Product Info Display Example:
http://www.jewelrysupply.com/index.php?main_page=product_info&cPath=35_433&products_id=516

I specifically want to display the Qty Discount attribute/table on the product listing page like in the examples above, but cannot figure out how to go about it.

I am using Zen Cart Ver. 1-2-7-d. can someone please help me in getting my product layout correct? Is there any modules/addons/templates out there that I can use?

Cheers,
Brad.
10 May 2006, 01:40
#2
nepton avatar

nepton

New Zenner

Join Date:
May 2006
Posts:
40
Plugin Contributions:
0

Re: Product Layout Changes - Need Help!

I would say contact the company that has the layout you would like and see if the will either give or sell it to you. That is your best bet with out paying someone to create a template like that for you.
-nepton
10 May 2006, 02:32
#3
nepton avatar

nepton

New Zenner

Join Date:
May 2006
Posts:
40
Plugin Contributions:
0

Re: Product Layout Changes - Need Help!

**** Do Not Advertise on the Zen Cart Site *******
10 May 2006, 05:07
#4
emtecmedia avatar

emtecmedia

Zen Follower

Join Date:
May 2005
Posts:
108
Plugin Contributions:
0

Re: Product Layout Changes - Need Help!

Hi,

I thought about contacting them but I was hoping that modifying the template would be an achievable thing.

Can anyone else shed some light on it?

Brad.
10 May 2006, 08:30
#5
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Product Layout Changes - Need Help!

The file you need to modify is the following:

includes -> templates -> YOUR CUSTOM TEMPLATE -> templates -> tpl_product_info_display

You just have to find the section(s) you want to change and them move them around until you get the look you want. Using v1.2.7 is a little more difficult because of the tables. But if you upgrade to v1.3.0.1 things are a lot easier because the sections are clearly labeled with <!--BOF xxx--> and <!--EOF-->.

Making changes in this template file and your CSS stylesheet, you can get the look you want.
10 May 2006, 09:22
#6
emtecmedia avatar

emtecmedia

Zen Follower

Join Date:
May 2005
Posts:
108
Plugin Contributions:
0

Re: Product Layout Changes - Need Help!

Thanks for the reply. I have already started altering this file and have had good progress doing so but I cannot figure out how to get the Qty Discount attribute onto the product listing page, its on the product info display page by default which is great.

I have figured out which block of code it actually is, but trying to copy and paste that into product_listing.php doesnt work, plus I dont understand where to put it in that file.

If there is anyone out there that is confident they can create this layout for me then I am happy to contract them to do it.

Please help me someone :O

Brad.
11 May 2006, 23:17
#7
emtecmedia avatar

emtecmedia

Zen Follower

Join Date:
May 2005
Posts:
108
Plugin Contributions:
0

Re: Product Layout Changes - Need Help!

Is there anyone out there that can shed some light on this?
11 May 2006, 23:28
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Product Layout Changes - Need Help!

This peice of code is generated by several calls ...

You have to more or less recreate these calls prior to the tpl_ call that actually displays the info ...

This is not a 1 minute lesson ...

search for: $products_id_current and quantity_discount ... as the peices and parts are in the peices of code that contain these ...

If you look in the tpl_product_info_display.php you can find the final peice that displays this information ... then use it to hunt backwards to find the other calls and make your own little peice to place this anywhere you need it per product ...
02 Mar 2007, 04:03
#9
vivaraquel avatar

vivaraquel

Zen Follower

Join Date:
Sep 2004
Posts:
305
Plugin Contributions:
0

Re: Product Layout Changes - Need Help!

Hi there emtecmedia.

Did you manage to get it done? I would like to display the discount info on the products lsitings page as well.

Thanks.