| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How do I cahnge the layout of the Product Page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Right now the layout of the product detail page is image on the left with the text and add to cart buttons on the right of the Image.
How do I make it so the image is on the top and the description and add to cart etc is UNDER the picture instead of NEXT to the picture? Any help would be greatly appreciated! Thanks John
__________________
x-cart-4.1.9 Gold |
|||||||
#2
|
|||||||
|
|||||||
![]() Hi John, that is skin1/customer/main/product.tpl. It is a table based layout, so you would need to open up that template and move the table cells around where you want them. A good html editor will help you to visualize the structure if you aren't familiar with html.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Quote:
awesome thanks!
__________________
x-cart-4.1.9 Gold |
|||||||
#4
|
|||||||
|
|||||||
![]() Quote:
Shseesh I though this would be easy - but i am not able to get the results I want. I need to have t he picture on the top and all the other stuff on the bottom. I can see the page is made up of table with a row with 2 colums... I guess what I need is 2 rows... if anyone has done this will you post your code... Thanks a ton!! ![]()
__________________
x-cart-4.1.9 Gold |
|||||||
#5
|
|||||||
|
|||||||
![]() You'd need one row that spans two columns for the image, and then the two columns beneath that. So:
<tr><td colspan="2">image code here</td></tr> <tr><td>column 1 info</td> <td>column 2 info</td></tr> You'll also notice there is a lot of Smarty built in, which is what X-Cart uses as the template engine. This creates a lot of if/then statements, which can also affect that table layout. I'd suggest reading this and perhaps learning a bit more about Smarty first: http://forum.x-cart.com/showthread.php?t=21529
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() Quote:
Thanks - that really helped me ![]() http://store.digitalguarddawg.com/home.php?cat=327
__________________
x-cart-4.1.9 Gold |
|||||||
#7
|
|||||||||
|
|||||||||
![]() i'm going about changing my products page, but the image used on my product page is a thumbnail not the full size image it's only in the detailed images that the fullsize image is used and i don't want to use the detailed images after i make these changes.
-swif
__________________
xCart 4.0.17 PHP 5.2.1 MySQL Server 4.0.26 MySQL Client 4.1.22 web Server: Apache/1.3.37 (Unix) mod_psoft_traffic/0.1 Vortech_PHP/0.1.0-p0 FrontPage/5.0.2.2623 mod_ssl/2.8.28 OpenSSL/0.9.7e-p1 |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|