![]() |
Thumbnail full product description...
Does anyone know the code to display the full description underneath the thumbnail?
Didn't find any in the forum, the closest one was display "description" but, that's not what I want... Anyone? :arrow: :arrow: :?: |
{$product.fulldescr}
|
Quote:
Thanks for the feedback, but it doesn't work... at the products t.tpl I've tried to replace: {$products[product.fulldescr].descr|truncate:180:"...":true} with {$product.fulldescr} Nothing came up...should I modify anything else? :? |
Quote:
Looks to me like the full description is already being called into that template then, it's just being trucated at 180 characters. So get rid of that, simply change the "180" in the original statement to something large like 18000000. That should do it for you ;o) |
Quote:
I have tried playing with the code around and done what you said, but still nothing came up...any other ideas? :roll: |
If you are calling it in "products_t.tpl then even {$products[product.fulldescr].descr|truncate:180:"...":true} is not correct. Your section loop should be named "product" so that would make the array pointer be [product].
So your existing code should actually be Code:
{$products[product].descr|truncate:180:"...":true} To get what you want, you need Code:
{$products[product].fulldescr|truncate:180:"...":true} If you do not want the description truncated to 180 characters, then simply use Code:
{$products[product].fulldescr} |
Quote:
Thank you sooo much...it works! \:D/ |
Oooops
Quote:
Something went wrong...only certainly categories work, some categories got scewed up. Why will that be? 8O :? |
Well, I was going to look at your site, but it seems you ahve a larger issue. When I load the site I get this error right in the middle of the page:
Fatal error: Smarty error: [in menu.tpl line 6]: syntax error: unexpected {else} (Smarty_Compiler.class.php, line 452) in /home/petad2/public_html/store/Smarty-2.6.3/Smarty.class.php on line 1082 (of course the font is not Red, I just did that for effect... :) ) |
Quote:
Thanks, I have got my site fixed (finally)...I did quite a lot of modification with the X-cart template. Sometimes, it just went "strike" on me. |
All times are GMT -8. The time now is 11:06 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.