Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / N00b needs some help with PHP

N00b needs some help with PHP

Locked

Views: 911

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
18 Jun 2008, 7:15 PM
#1
txmagnum avatar

txmagnum

New Zenner

Join Date:
Dec 2007
Posts:
17
Plugin Contributions:
0

N00b needs some help with PHP

Ok I have my zen cart fairly well setup but the text is a little confusing. I am using the column grid layout with dividers and I want to switch the placement of the text.

This is the way it is right now:

this is how I want it to look:

Any help on that one?

Second the display of the products are cunfusing as well..

this is now:

And what I want:

Thank you for any help...

18 Jun 2008, 7:20 PM
#2
averagecanuck avatar

averagecanuck

New Zenner

Join Date:
Jun 2008
Posts:
7
Plugin Contributions:
0

Re: N00b needs some help with PHP

I don't know if it will help as I am a noob as well but have you tried using Firefox and isntalling the web developer tools. then press ctrl+shift+f . Once you do that click on the items you want to re-arrange and the mene will tell you where they are. Search for those items with the admin tool and move them accordingly.

23 Jun 2008, 5:11 PM
#3
txmagnum avatar

txmagnum

New Zenner

Join Date:
Dec 2007
Posts:
17
Plugin Contributions:
0

Re: N00b needs some help with PHP

Anyone able to help on this, the google way did not work.

23 Jun 2008, 5:31 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: N00b needs some help with PHP

You don't need any code changes for the listing; you just need to reorder the elements in
Configuration > Product Listing > Display "whatever element"

0 is off, any other number is the display order.

For the product info page, edit /includes/templates/your_template/templates/tpl_product_info_display.php and move the add to cart code block above the product description code block. Blocks are identified by <!--bof xxxx--> and <!--eof xxxx--> comments. Then in your stylesheet, add or change #cartAdd to float: right;

You may also need to eliminate a <br class="clearBoth" /> at some point if the add box won't go above the level of the bottom of the image.