How to add static description to all products that belong to a category?[SOLVED]

Started by CADO, February 23, 2014, 20:41:49 PM

Previous topic - Next topic

CADO

Hi guys.

I wish to have a static description below the product name (item's page view) and the standard product description on the bottom of the page as usual.

For example (see pic attached please), I have a category called "wedding cakes", all products inside this category will have a static description below the name of each product.

Regards

[attachment cleanup by admin]

jenkinhill

You are already using template overrides, assuming that the overrides include a [yourjoomlatemplate]/html/com_virtuemart/productdetails/default.php override file then make a copy of that file and edit the copy to add your additional description immediately under the product title. Name the edtited file as default2.php or whatever, and place it in your productdetails override directory. Then edit your category to use that new file as Default Product Details Page.

http://docs.virtuemart.net/tutorials/33-templating-layouts.html and http://www.ostraining.com/blog/joomla/overrides

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum