How to enable short description in category page

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Aug 03, 2013 9:34 am
Reply with quote
Report this post
Hi everyone,

I have one question about how to enable product short description in category page. By default there is only picture, name, price, tax and stock level. By I really need short description too because it is very important for me.

Thanks for help.
User avatar
Fresh Boarder

GK User
Sat Aug 03, 2013 10:44 am
Reply with quote
Report this post
HI,
it needs a little category view customization (modification in php files).
:?: Are you talking about, for example, this view: http://demo.gavick.com/joomla25/storebo ... en-s-polos


p.s.
Are you really need VM, maybe K2 will be good enough to present a view of catalog.
User avatar
Platinum Boarder

GK User
Sat Aug 03, 2013 10:57 am
Reply with quote
Report this post
Our template overrides default VM template, here: templates\gk_storebox\html\com_virtuemart

If you want to add short description under product picture add this code :

Code: Select all
<span class="product_s_desc">
<?php echo shopFunctionsF::limitStringByWord ($product->product_s_desc, 40, '...') ?>
</span>


inside this file: templates\gk_storebox\html\com_virtuemart\category\default.php
User avatar
Platinum Boarder

GK User
Sat Aug 03, 2013 11:01 am
Reply with quote
Report this post
If I may suggest, choose line 201 after "<?php endif; ?> "
where.png


Result (I have tested this)
result.png
User avatar
Platinum Boarder

GK User
Sat Aug 03, 2013 11:05 am
Reply with quote
Report this post
thank you many times for your help, this is what I exactly wanted to know
User avatar
Fresh Boarder

GK User
Thu Nov 06, 2014 9:23 am
Reply with quote
Report this post
Thanks,
That will help me too. :D
Kris
User avatar
Expert Boarder


cron