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)
-   -   moving details area above description in product.tpl (https://forum.x-cart.com/showthread.php?t=38054)

toolexperts 03-05-2008 07:32 AM

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?

toolexperts 03-05-2008 09:40 AM

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

balinor 03-05-2008 09:48 AM

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.

toolexperts 03-05-2008 10:29 AM

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?

balinor 03-05-2008 10:34 AM

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.

toolexperts 03-05-2008 10:38 AM

Re: moving details area above description in product.tpl
 
would that be done using <tr>? Sorry not the best at code.....

balinor 03-05-2008 10:39 AM

Re: moving details area above description in product.tpl
 
<tr><td colspan="2">description here</td></tr>

toolexperts 03-05-2008 11:06 AM

Re: moving details area above description in product.tpl
 
Ok now the quantity selector is down at the bottom by itself....

balinor 03-05-2008 11:08 AM

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.

toolexperts 03-06-2008 08:16 AM

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


All times are GMT -8. The time now is 05:42 PM.

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