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

Product Description Under Picture

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-05-2005, 02:20 AM
 
jgilford jgilford is offline
 

Member
  
Join Date: Aug 2005
Posts: 18
 

Default Product Description Under Picture

Greetings!
Thanks in advance for your time, I have found nearly all the answers to my questions in this forum, it is an awesome resource for X-Cart users!

I've been looking for a post that could explain how to place the product description under the picture (product details page) instead of aligned to the side of the photo, could someone point me in the right direction?

Thanks so much!!
__________________
Shea Sensations (not live)
www.sheabutter-skincare.com
X Cart Gold+ V 4.5.4
Reply With Quote
  #2  
Old 11-05-2005, 02:56 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default

The easy bit is that you need to edit skin1/customer/product.tpl

The next bit though depends on your html / table editing skills.

You basically need to rebuild the table so that the rows and columns are in the right order. If you can do that you will solve it; but it isn't a straightforward tick a box and it's done.

Give me a shout back if you need some more help.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 11-07-2005, 10:33 AM
  eaglemobiles's Avatar 
eaglemobiles eaglemobiles is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 167
 

Default Hi,

I havae searched allot in forum for the same mod I want to put text under the image but I cant make it, I will be very grateful if any could help.

Thanks
__________________
X-Cart Gold 4.3.2
X-Cart Gold 4.4.1
Unix

High Quality CCTV DVRs & Cameras
http://www.eaglemobiles.co.uk/CCTV
Reply With Quote
  #4  
Old 11-07-2005, 11:44 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default

Hi,

OK, what sort of help exactly do you need? Have you tried editing the template or is that where you need help?
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #5  
Old 11-07-2005, 12:48 PM
  eaglemobiles's Avatar 
eaglemobiles eaglemobiles is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 167
 

Default HI

Thanks for replly, I dont know which tpl i need to edit and what code i need to use to put text under the detail image.
__________________
X-Cart Gold 4.3.2
X-Cart Gold 4.4.1
Unix

High Quality CCTV DVRs & Cameras
http://www.eaglemobiles.co.uk/CCTV
Reply With Quote
  #6  
Old 11-07-2005, 03:17 PM
 
jgilford jgilford is offline
 

Member
  
Join Date: Aug 2005
Posts: 18
 

Default

Thanks for your help, here is what I tried:

customer/product.php


<TABLE border="0" width="100%">
<FORM name="orderform" method="post" action="cart.php?mode=add" onsubmit="javascript: return FormValidation();">
<TR>
<TD valign="top" align="left" rowspan="2" width="100">
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"}
</TD>
<TD valign="top">
<SPAN class=>
{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{ /if}
</SPAN>



I copied the code in bold to the table above it, it worked somewhat. The text was under the picture but in a column instead of the length of the picture. I wish I had more time to look at it but I won't for a couple more days. I'll post what I try next on Friday.
Thansk again,
__________________
Shea Sensations (not live)
www.sheabutter-skincare.com
X Cart Gold+ V 4.5.4
Reply With Quote
  #7  
Old 11-07-2005, 04:00 PM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Its just basic HTML. The cell above the code you posted is two column

Code:
<TD valign="top" align="left" rowspan="2" width="100">

and the cell that is part of the code that you posted is only one column

Code:
<TD valign="top">

You need to make the cell in the code you moved to two column
Reply With Quote
  #8  
Old 11-17-2005, 01:26 AM
 
geliebear geliebear is offline
 

Newbie
  
Join Date: Apr 2004
Posts: 3
 

Default Product Description Under Picture

Hi there,

I am very new to this, I also am trying to have the product picture at the top and the description below the picture could someone please explain to me what i have to do to make this happen?

Thanks you guys are great!
__________________
X-cart Gold 4.17
Reply With Quote
  #9  
Old 11-17-2005, 01:57 AM
 
jgilford jgilford is offline
 

Member
  
Join Date: Aug 2005
Posts: 18
 

Default

Here are my changes to this section:


<TR>
<TD valign="top" align="left" rowspan="2" width="390">
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"}



<SPAN class=>
{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{ /if}
</SPAN>




The text is under the picture but the price and options are spaced a little too far for me, I can live with that for now...
Thanks!!
__________________
Shea Sensations (not live)
www.sheabutter-skincare.com
X Cart Gold+ V 4.5.4
Reply With Quote
  #10  
Old 11-17-2005, 02:16 AM
 
geliebear geliebear is offline
 

Newbie
  
Join Date: Apr 2004
Posts: 3
 

Default Product Description Under Picture

Thank very much jgilford that works great!!
__________________
X-cart Gold 4.17
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 03:37 PM.

   

 
X-Cart forums © 2001-2020