Short Description not visable

Commercial shopping Joomla template to easy create webshop with various extensions supported like ViruteMart, K2 and K2Store.
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
Wed Jun 19, 2013 11:17 am
Reply with quote
Report this post
Hello,
The short description is't visable on the product overview page (not the product detail page).

Is it possible to get the short description between the product name and the price. If so, how?

Thanks in advance.
User avatar
Fresh Boarder

GK User
Wed Jun 19, 2013 11:55 am
Reply with quote
Report this post
Just noticed you wanted for overview page. Do you mean in category layout?
If its category layout please add as below.

FOR CATEGORY LAYOUT>

File:/templates/gk_storebox/html/com_virtuemart/category/default.php
Line: 186
Which is below
Code: Select all
               <h3 class="catProductTitle"><?php echo JHTML::link($product->link, $product->product_name); ?></h3>

Replace with below. Change 40 to a number of characters you want to display.
Code: Select all
               <h3 class="catProductTitle"><?php echo JHTML::link($product->link, $product->product_name); ?></h3>
               <span><?php echo shopFunctionsF::limitStringByWord($product->product_s_desc, 40, '...') ?></span>


FOR PRODUCT DETAILS PAGE>

Please edit following file and add below code.

File:/templates/gk_storebox/html/com_virtuemart/productdetails/default.php
Line: 171
Which is below
Code: Select all
                  <div class="spacer-buy-area">

Replace with below. Change 40 to another character value if its too short for you.
Code: Select all
                        <div class="product-short-desc">
                        <?php echo shopFunctionsF::limitStringByWord($this->product->product_s_desc, 40, '...') ?>
                        </div>
                  <div class="spacer-buy-area">

If you don't want to limit characters then replace it with below code.
Code: Select all
                        <div class="product-short-desc">
                        <?php echo $this->product->product_s_desc ?>
                        </div>
                  <div class="spacer-buy-area">


See you around...
User avatar
Platinum Boarder

GK User
Wed Jun 19, 2013 12:42 pm
Reply with quote
Report this post
That did the trick. :)

Thank you.
User avatar
Fresh Boarder

GK User
Wed Jun 19, 2013 12:51 pm
Reply with quote
Report this post
No problem at all, see you around...
User avatar
Platinum Boarder


cron