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

moving details area above description in product.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-05-2008, 07:32 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default moving details area above description in product.tpl

Hi all, I am trying to move thesnippet of code that has the product details such as price, add to cart, add to wishlist above the description area in product.tpl, can someone offer advice on how to do this?
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #2  
Old 03-05-2008, 09:40 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default Re: moving details area above description in product.tpl

since I am not the greatest at explaining what I am trying to do I have afixed a jpg showing what I want to do.

http://216.75.30.97/skin1/images/move.JPG
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #3  
Old 03-05-2008, 09:48 AM
 
balinor balinor is offline
 

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

Default Re: moving details area above description in product.tpl

It would actually be easier to move the description instead of the rest. Just move this:

{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{ /if}

to where you want it to appear in the template.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 03-05-2008, 10:29 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default Re: moving details area above description in product.tpl

http://216.75.30.97/skin1/images/move1.JPGok I have moved it...now the text looks like this, how can i make it image wrap or start below the image?
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #5  
Old 03-05-2008, 10:34 AM
 
balinor balinor is offline
 

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

Default Re: moving details area above description in product.tpl

The image is in its own cell, so you'd need to create a new row that spans both cells if you want it to go all the way across.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 03-05-2008, 10:38 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default Re: moving details area above description in product.tpl

would that be done using <tr>? Sorry not the best at code.....
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #7  
Old 03-05-2008, 10:39 AM
 
balinor balinor is offline
 

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

Default Re: moving details area above description in product.tpl

<tr><td colspan="2">description here</td></tr>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 03-05-2008, 11:06 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default Re: moving details area above description in product.tpl

Ok now the quantity selector is down at the bottom by itself....
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #9  
Old 03-05-2008, 11:08 AM
 
balinor balinor is offline
 

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

Default Re: moving details area above description in product.tpl

You must have pasted the code too early then...make sure you add the new row after the closing </tr> of the main row.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #10  
Old 03-06-2008, 08:16 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default Re: moving details area above description in product.tpl

ok got it set right, however it acts like there is a box or something there preventing it from spreading out under the pic....to see what i mean http://216.75.30.97/environmental-testing/low-e-glass-detector/low-e-detector/tdgd.html
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
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:05 PM.

   

 
X-Cart forums © 2001-2020