News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Product Short Description Cut Off

Started by aaronf, October 29, 2011, 21:17:05 PM

Previous topic - Next topic

aaronf

Hello everyone,
I've noticed that the default short product description cutoff in the category view on my VM2 installation has gotten a lot shorter than it was in 1.1.9. Is this something to do with my template, or can someone point me to how I can enlarge it? It cuts off at about 40 characters, and is way too short for me. Thanks!

Aaron

jjk

In the file ...\components\com_virtuemart\views\category\tmpl\default.php
around line 240: <?php echo shopFunctionsF::limitStringByWord($product->product_s_desc, 40, '...') ?>

But if you want to customize this view, use a renamed copy of 'default.php' to work with, i.e 'mydefault.php. Otherwise it will be overwritten, when you update to newer versions.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Kangelova

Ok, this solves one of my issues with  "short description". There's something else, however for which I didn't want to open a new discussion. I need to style the text a bit there. Nothing fancy, just header and info beneath - couple od lines. I noticed I can't apply any HTML rules on the short descriptions...some ideas will be really helpful.