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)
-   -   Text wrap around thumbnail (https://forum.x-cart.com/showthread.php?t=12947)

mikezoch 03-22-2005 06:20 AM

Text wrap around thumbnail
 
Looking for a text wrap mod for the product drescription area.

In the main description area - there is a thumbnail of the product with an area to the right for product description. I would like to add a line unber the thumbnail - then continue product description the full width of the product description area. under this I would like likes to Product Lables (PDF files) - I have the code for the product labels and it works like I want, but getting the text to wrap to full width under the thumb nail is proving to be more than my ability.

thumb nail product description
thumb nail product description
thumb nail product description
thumb nail product description
----------------------------------------------
product description product description
product description product description
product description product description
product description product description
product description product description
product description product description
product description product description
product description product description

Product labels
----------------------------------------------
Flavor/Type Size SKU#
----------------------------------------------
product one medium 0001
product label

product two medium 0002
product label

product three medium 0003
product label

product four medium 0004
product label

balinor 03-22-2005 06:35 AM

Please don't post requests in the Custom Mods area, it is for COMPLETED mods only. Be sure to read the forum descriptions and stickies prior to posting. Thanks :)

mikezoch 04-13-2005 07:02 PM

I have figured this one out on my own - I think. I have REM'ed out a section of the CUSTOMER\MAIN\PRODUCT.TPL

<!---
<TR>
<TD valign="top" align="left" rowspan="2">
{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>
--->

The reason - so I can keep the ICON on the PRODUCT LIST view, but not in the PRODUCT DESCRIPTION view. I have used the following code in the Detailed Description to make the text flow around the product image

<!---
Begin Product Description code
--->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>[img]/herbal-xpress/xcart/images/2cans_SWF1_med.jpg[/img]</td>
<td width="399">
<h1>Formula 1 Nutritional Shake Mix</h1>
<h2>Key Benefits</h2>
<ul>[*]Five delicious flavors.[*]Up to 20 essential vitamins and minerals, plus health-enhancing herbs.[*]9 grams of soy protein and a healthy source of fiber.[/list]</td>
</tr>
</table>


So the PRODUCT LIST view looks like this:
http://www.herbal-xpress.com/herbal-xpress/xcart/home.php?cat=257

and the PRODUCT DESCRIPTION looks like this:
http://www.herbal-xpress.com/herbal-xpress/xcart/home.php?cat=257


All times are GMT -8. The time now is 11:00 PM.

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