News:

Support the VirtueMart project and become a member

Main Menu

Remove the Categories of main page

Started by marcioerli, August 16, 2012, 16:49:35 PM

Previous topic - Next topic

marcioerli

How do I remove the Categories of main page?

On my first page is showing up besides the featured products categories as well. I want get only the featured products.

http://www.minasbikeuai.com.br/

thank you

bytelord

Hello,

could you please be more specific...

Thanks
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

marcioerli

On my first page is showing up besides the featured products categories as well. I want get only the featured products.

http://www.minasbikeuai.com.br/

thank you

bytelord

Hello,

VM Home page settings for feature, top and last products can be configured from BE Configuration -> Templates -> VirtueMart Home Page Settings
In you use the vm modules just disable them if you don't need them ... is classic joomla module configuration ...

Also give a try to search in the forum and wiki page for VM to find other usefull information and try to play a little bit more with the BE to explore all its settings and parameters.


[attachment cleanup by admin]
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

marcioerli

Sorry for English. But that's not what I want.
Do not want to display the categories.

[attachment cleanup by admin]

bytelord

#5
Hi,

From Configuration -> templates -> Show Children Category and unchecked, this will hide categories in product view and category view.

If you want to hide categories from the VM home page then you should do the following:

From your custom VM template in joomla templates folder browse to your_template\html\com_virtuemart\virtuemart\default.php and using an editor remove or comment out the following line:

if ($this->categories) echo $this->loadTemplate('categories');


updated:

if your file does not exist in your custom template please copy the file from components\com_virtuemart\views\virtuemart\tmpl\default.php to your custom template folder
joomla_folder\templates\your_template\html\com_virtuemart\virtuemart

edit the file and remove or comment the line above.

Hope helps you out.

Regards,

Bytelord
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

marcioerli