VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: oodya on June 28, 2018, 21:31:16 PM

Title: Add information below products at bottom of the page
Post by: oodya on June 28, 2018, 21:31:16 PM
Hello,

I'm not sure if I am missing something, but was wondering if someone can help.

I have a category and I would like to add some text beneath the products on the main category page.  E.g. I have product 1, product 2, product 3 which shows in category 1.  If I then wanted to add some text at the bottom of the category, but only on the category page and not the products page is that possible?

Thank you in advance.

Oodya
Title: Re: Add information below products at bottom of the page
Post by: Jörgen on June 28, 2018, 21:51:01 PM
Edit Your template for the category or the categories file and add the text You want. You could also add  module with the text in Your Joomla template and lock this to the category view, but that probably needs the module manager from Regular labs. I use this, but it is Your choice.

Jörgen @ Kreativ Fotografi
Title: Re: Add information below products at bottom of the page
Post by: oodya on June 28, 2018, 22:42:50 PM
Hello,

Would you have to have a guide or step by step instructions for this?

Sorry and thanks.

Oodya
Title: Re: Add information below products at bottom of the page
Post by: Jörgen on June 29, 2018, 00:25:30 AM
If You do not have any override for VM category, go to Your Joomla template and choose Create Overrides (This is probably best explained by a joomla tutorial, GOOGLE)
Then choose com_virtuemart ->category to create the override file.
You can edit the files in Joomla template management but often better to edit the files under
templates/your_template/html/com_virtuemart/category/

Probably the categories.php file or the /sublayouts/categories.php

Add som echo lines to see what comes where :)

regards

Jörgen @ Kreativ Fotografi