Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Product description customizing

Product description customizing

Views: 1,297

Results 1 to 8 of 8
4 Feb 2010, 3:04 AM
#1
dudemaaan avatar

dudemaaan

New Zenner

Join Date:
Feb 2010
Posts:
49
Plugin Contributions:
0

Product description customizing

1.3.8 my site is https://www.wannaspeed.com

If you go here http://www.wannaspeed.com/catalog/index.php?main_page=product_info&cPath=65&products_id=180

I don't like the product description layout. I've been trying to find ways to customize it from the admin, but i get so lost and it takes me 30 mins just to do something simple like remove the category image.

What I want is the drop down options menu to be near the add to cart button. And the description to be below everything else.

Kinda like it is here:
http://www.rx7store.net/product_p/gt35r%20kit.htm

4 Feb 2010, 5:21 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Product description customizing

What I want is the drop down options menu to be near the add to cart button. And the description to be below everything else.
For options use attributes
https://www.zen-cart.com/tutorials/index.php?article=57
For rearranging this is in a copy of tpl_product_info_display.php and this file is well commented and in blocks of code that can be re-ordered and then tweaked with CSS

4 Feb 2010, 6:29 AM
#3
dudemaaan avatar

dudemaaan

New Zenner

Join Date:
Feb 2010
Posts:
49
Plugin Contributions:
0

Re: Product description customizing

I've already added product attributes to the product. the problem is the product attribute selection is all the way on the other side of the add to cart. Now i'm having a different issue after adding a bunch of attributes to one product my whole page stopped loading and zen cart wont even load up..

4 Feb 2010, 10:26 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Product description customizing

Lots you can do with the stylesheet. Adding these to the stylesheet will move the attribute selection under the add to cart button and the other two boxes to the left, one under the other.

#productAttributes {float:right;}
#productTellFriendLink {float:left;}

The best idea is to get the Web Developer plugin for Firefox, so you can find the id and class names of the various page elements.

4 Feb 2010, 11:42 AM
#5
dudemaaan avatar

dudemaaan

New Zenner

Join Date:
Feb 2010
Posts:
49
Plugin Contributions:
0

Re: Product description customizing

Yeah I have the web developer for firefox as well as firebug. Both work well. I've done quite a bit for having no experience, this is my first website I've ever done. Started about 3 weeks ago with dreamweaver. And only a few days with zen cart. PHP is definitely more complex, but the layout and adding of products is so much nicer. turned out my server was down earlier is why my page stopped loading

7 Feb 2010, 7:06 AM
#6
dudemaaan avatar

dudemaaan

New Zenner

Join Date:
Feb 2010
Posts:
49
Plugin Contributions:
0

Re: Product description customizing

Thanks for the help stevesh your suggestions worked nicely. Now can anyone tell me how i can make the attributes sit above the add to cart button? Currently they are below the add to cart and it seems kinda backwards.

7 Feb 2010, 7:46 AM
#7
dudemaaan avatar

dudemaaan

New Zenner

Join Date:
Feb 2010
Posts:
49
Plugin Contributions:
0

Re: Product description customizing

Alright I did it. Reread what kobra wrote, found the file and made some edits. At first it just jumbled them all in the middle, but I moved the add to cart below the write a review and then it sat nice.

question: If i copy the add to cart code block in tpl_product_info_display.php and have it appear twice, one in the top and one in the bottom, will it make an add to cart button appear in both places?

7 Feb 2010, 9:01 AM
#8
dudemaaan avatar

dudemaaan

New Zenner

Join Date:
Feb 2010
Posts:
49
Plugin Contributions:
0

Re: Product description customizing

Zencart is awesome! once you understand what to edit and practice you can do about anything. Between the stylesheet & tpl_product_info_display you can do all sorts of things to the product layout. I did some dumb stuff just to try it out. As long as you keep a backup of the file there's nothing to lose.

I use firefox with developer addon, a good text editor, and an FTP program. I'm getting pretty crafty navigating between all of them.