I'm setting up a new webshop in virtuemart 2 (1.9.8G / J1.7) and I was wondering where I could edit the length of the displayed intro text in the category view.
I'm able to limit the number of shown products to a specific number, but not the amount of intro words.
thx in advance!
Hmm it is just at template thing. The function is already used to cut the texts on the browsepage
I found the solution was in my templates folder html/com_virtuemart/category/default.php
<?php // Product Short Description
if(!empty($product->product_s_desc)) { ?>
<p class="product_s_desc">
<?php echo shopFunctionsF::limitStringByWord($product->product_s_desc, 40, '...') ?>
</p>
<?php } ?>
Just change 40 to the amount that you want (this is characters not words).
Hope this helps someone.