Categories

Featured templates

VirtueMart 2.x. How to change default products listing view (up to VirtueMart 2.0.18)

Ray Taylor July 13, 2012
Rating: 5.0/5. From 3 votes.
Please wait...

In this tutorial you will learn how to change default products listing view in VirtueMart 2.x templates

Note, this tutorial is applicable to the VirtueMart 2.0.2-VirtueMart 2.0.18 templates only.

In this example will change the products listing view from 1 – 2 – 3, to 3 -2 – 1, in other words, will make third listing default one.

We need to edit the components\com_virtuemart\views\category\tmpl\default.php file

Find the following piece of script: id=”tabs”Swap “first” and “three” classes

After that is done, we should replace content of “product_list” div with content of “product_list3” div

Save this file and reload your site to see the changes.

Feel free to check the detailed video tutorial below:

VirtueMart 2.x. How to change default products listing view
This entry was posted in VirtueMart Tutorials and tagged default, listing, products, VirtueMart. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket