X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Modify Product Page layout (https://forum.x-cart.com/showthread.php?t=45864)

EandR 02-26-2009 02:13 PM

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

balinor 02-26-2009 03:32 PM

Re: Modify Product Page layout
 
Moving to the 4.2 template editing forum

cflsystems 02-26-2009 04:38 PM

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

EandR 02-26-2009 05:33 PM

Re: Modify Product Page layout
 
Thanks Steve,

"IT WORKS", Thanks Very much.

Ellenor:D

Chad_Austin 07-07-2009 06:57 PM

Re: Modify Product Page layout
 
I have the same issue but I cannot find "product page product.tpl" :)

Anyone?

Thanks in advance.

cflsystems 07-07-2009 07:35 PM

Re: Modify Product Page layout
 
It is located in skin1/customer/main

Chad_Austin 07-07-2009 08:17 PM

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

cflsystems 07-08-2009 05:38 AM

Re: Modify Product Page layout
 
PM sent

3dxhobbies 01-04-2010 09:48 PM

Re: Modify Product Page layout
 
does this work for 4.3?

3dxhobbies 01-14-2010 12:16 AM

Re: Modify Product Page layout
 
anyone??


All times are GMT -8. The time now is 08:07 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.