Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Modify Product Page layout

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-26-2009, 02:13 PM
 
EandR EandR is offline
 

Member
  
Join Date: Feb 2009
Posts: 17
 

Question Modify Product Page layout

I am sure this is something simple but as a newbe I can not work it out.
I want to change the lay out of the product page product.tpl
I want the picture to display on the left, as it is, details, options, Add to cart on the right of the picture, fine worked this out, but I can not get the product description to display the full width of the box underneath the picture and product details.

Could some one help please, I am sure it is simple and I am overlooking something!!!!

Many thanks Ellenor
__________________
x-cart pro 4.2.0
www.itsourstore.com.au
Reply With Quote
  #2  
Old 02-26-2009, 03:32 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Modify Product Page layout

Moving to the 4.2 template editing forum
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-26-2009, 04:38 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Modify Product Page layout

Find this code in product.tpl
Code:
<p class="descr">{$product.fulldescr|default:$product.descr}</p>
and comment it out with {* *}

Then find this code
Code:
<div class="clearing"></div> </div> {/capture} {include file="customer/dialog_product.tpl" title=$product.producttitle|escape content=$smarty.capture.dialog}
and just before it (or after <div class="clearing"></div>) insert
Code:
<p class="descr">{$product.fulldescr|default:$product.descr}</p>

Yo may have to play with it before you get it to display just the way you want it
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #4  
Old 02-26-2009, 05:33 PM
 
EandR EandR is offline
 

Member
  
Join Date: Feb 2009
Posts: 17
 

Thumbs up Re: Modify Product Page layout

Thanks Steve,

"IT WORKS", Thanks Very much.

Ellenor
__________________
x-cart pro 4.2.0
www.itsourstore.com.au
Reply With Quote
  #5  
Old 07-07-2009, 06:57 PM
 
Chad_Austin Chad_Austin is offline
 

Advanced Member
  
Join Date: May 2009
Posts: 53
 

Default Re: Modify Product Page layout

I have the same issue but I cannot find "product page product.tpl"

Anyone?

Thanks in advance.
__________________
X-Cart Gold 4.2.1
Add-ons:
X-Configurator
Neon lights
Add-on: X-SpecialOffers
Add-on: X-Magnifier
Add-on: X-AOM
Add-on: Fancy Categories
Reply With Quote
  #6  
Old 07-07-2009, 07:35 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Modify Product Page layout

It is located in skin1/customer/main
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 07-07-2009, 08:17 PM
 
Chad_Austin Chad_Austin is offline
 

Advanced Member
  
Join Date: May 2009
Posts: 53
 

Default Re: Modify Product Page layout

Hi Steve,

If you're willing to help me with this, I'll be glad to donate to a paypal account BEFORE you help. Just send me your email addy to infoshow@chadaustin.com

I just need to know what template/php areas I need to modify, and how to mod them.

My current product page shown here:
http://www.chadaustin.com/images/examples/screenshot_productpage_now.jpg

shows that the "product details" are in a column to the right of "product picture", and the "options" & "add to cart" are underneath "product details".

My client wants this instead:
http://www.chadaustin.com/images/examples/screenshot_productpage_then.jpg

where the "options" & "add to cart" are in a column to the right of "product picture", and the "product details" are underneath, stretched out to an width equal of "product picture" and "options" combined.

Hopefully, the images I linked will do a better job of illustrating my point.Let me know if you have any questions.

Thanks,
Chad
381-7896
__________________
X-Cart Gold 4.2.1
Add-ons:
X-Configurator
Neon lights
Add-on: X-SpecialOffers
Add-on: X-Magnifier
Add-on: X-AOM
Add-on: Fancy Categories
Reply With Quote
  #8  
Old 07-08-2009, 05:38 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Modify Product Page layout

PM sent
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #9  
Old 01-04-2010, 09:48 PM
 
3dxhobbies 3dxhobbies is offline
 

Member
  
Join Date: Jan 2006
Posts: 19
 

Default Re: Modify Product Page layout

does this work for 4.3?
__________________
thanks
Reply With Quote
  #10  
Old 01-14-2010, 12:16 AM
 
3dxhobbies 3dxhobbies is offline
 

Member
  
Join Date: Jan 2006
Posts: 19
 

Default Re: Modify Product Page layout

anyone??
__________________
thanks
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:01 AM.

   

 
X-Cart forums © 2001-2020