| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Thumbnail full product description... | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() 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? ![]() ![]() ![]()
__________________
_____________ Capture Your Mini-Me Look! - X-CART Gold (Current Version) V4.6 - Reboot - CDSEO |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() {$product.fulldescr}
|
|||||||||
#3
|
|||||||||
|
|||||||||
![]() 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? ![]()
__________________
_____________ Capture Your Mini-Me Look! - X-CART Gold (Current Version) V4.6 - Reboot - CDSEO |
|||||||||
#4
|
|||||||
|
|||||||
![]() 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)
__________________
Instinctual 8,000 feet up in the Rocky Mountains of Colorado X-Cart Versions 3.5.x - 4.0.x IF you xcart, THEN you prosper, ELSE you fail. ELSEIF xcart fails, THEN you fix it, all the WHILE {loop}\'ing {section}\'s to feed your $smarty mind. |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Quote:
I have tried playing with the code around and done what you said, but still nothing came up...any other ideas? ![]()
__________________
_____________ Capture Your Mini-Me Look! - X-CART Gold (Current Version) V4.6 - Reboot - CDSEO |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() 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:
To get what you want, you need Code:
If you do not want the description truncated to 180 characters, then simply use Code:
|
|||||||||
#7
|
|||||||||
|
|||||||||
![]() Quote:
Thank you sooo much...it works! \ ![]()
__________________
_____________ Capture Your Mini-Me Look! - X-CART Gold (Current Version) V4.6 - Reboot - CDSEO |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() Quote:
Something went wrong...only certainly categories work, some categories got scewed up. Why will that be? ![]() ![]()
__________________
_____________ Capture Your Mini-Me Look! - X-CART Gold (Current Version) V4.6 - Reboot - CDSEO |
|||||||||
#9
|
|||||||||
|
|||||||||
![]() 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... ![]() |
|||||||||
#10
|
|||||||||
|
|||||||||
![]() 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.
__________________
_____________ Capture Your Mini-Me Look! - X-CART Gold (Current Version) V4.6 - Reboot - CDSEO |
|||||||||
|
|||
X-Cart forums © 2001-2020
|