![]() |
Image placement in product details
In product details on the customer end, is there a way of having the image appear at the top of the item description rather than the side. It seems that when the image is on the side, it squeezes the description into a tight column.
|
Sure, here's what you need to do in product.tpl (might vary slightly in your version, this code is from 4.0.11 - so make a backup first!):
Replace this: Code:
<TD valign="top" align="left" rowspan="2" width="100"> with this: Code:
<TD valign="top"> |
balinor,
Is there a way of just eliminating the image? The more I thought about it the more that made sense than relocating the image. I am planning on creating the item descriptions in my html editor and then copying the code into x-cart products and into my eBay store auction items. I will be putting the image in the description via html. BTW, the template you are editing... is is the customer>main>product.tpl? Thanks for your help. |
Sure, just remove or comment out this part:
Code:
{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"} Yes, customer/main/product.tpl |
balinor,
while I got your attention, do you use the Smarty Template editor? I've gone to their website "http://smarty.php.net/" and downloaded their product but I'm not sure exactly what it is supposed to do. Is it similar to an html editor or totally different? |
Sorry, can't say as I have ever used it.
|
balinor,
Thank you for your help. |
All times are GMT -8. The time now is 03:41 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.