Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Product description in GridView or MultiGrid View

Product description in GridView or MultiGrid View 9 years 6 months ago #10856

Hello.
Is there a way to show the product description, regular or short, in the GridView or MultiGrid view of the Category page?
Thank your for your help.

Eduardo Sanchez

VM2 Template - PureMart Your Version: 4.0
VirtueMart 2.6.10
Joomla! 2.5.20
PHP Version 5.3.28
The administrator has disabled public write access.

Product description in GridView or MultiGrid View 9 years 6 months ago #10864

Hi,

Yes you can with small custom coding modification. But are you sure about it? Because clearly there is no enough space on the GRID and MultiGRID view. It will definitely harm the user-experience.

But if you insist, you can add it by this method:

- Open this PHP file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/category/default.php[b/]
NOTE: default.php or flexv2.php depends on what ever layout you are currently using for category page layout

and add this PHP line:

<p class="product_s_desc">
    <?php echo $product->product_s_desc ?>
</p>

to where (inside the grid box) you want to display the short description. For example, if you want to show it before the "Product Price".... look for this DIV element:
<div class="product-price ........

which is the DIV element that wraps the product price. Then add the lines right before it.

Regards,
Support
Last Edit: 9 years 6 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.137 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo