1+1=window

VIRTUEMART: To display both SHORT DESCRIPTION & PRODUCT DESCRIPTION in Browse page

Posted in Joomla by shanDB on April 29, 2009

Add the field you want to the SQL query in:
administrator/components/com_virtuemart/html/shop_browse_queries.php
on line 37 after `product_s_desc` add `product_desc`

Put the data in a variable in:
administrator/components/com_virtuemart/html/shop.browse.php
- after the product_s_desc version on line 392, add:
$product_description = $db_browse->f(“product_desc”);
- after the product_s_desc version on line 438, add:
$products[$i]['product_description'] = $product_description;

Use the $product_description variable in your browse_x.php template as needed. I used it on the folowing:
components/com_virtuemart/themes/default/templates/browse/browse_1.php

Don’t forget to wrap it in a DIV tag, so you can apply CSS styles to it..

One Response

Subscribe to comments with RSS.

  1. yeah!!!!!! said, on June 23, 2009 at 8:23 pm

    i love you!!!!!!!!!!!!!!!! thanx!!!!!!!!!!!!!!11


Leave a Reply