On Fashionmart product listing view, there is a functionallity than allow people to switch to another view.
I want to remove that function and also the second view (with one product / line).
I want it to be clean, without all the Jquery callbacks that could be done by this second view, during page loading.
Thanks a lot.
The administrator has disabled public write access.
How can i remove the switchview functionallity ?
6 years 9 months ago #11555
You can hide the switchView icons through this CSS file (to any CSS file):
so people won't be able to switch to ListView. But this doesn't change the fact that the ListView are being loaded in the background. So, this won't effect the page loading. Just, people won't be able to switch to ListView.
To disable loading the ListView, you should edit the PHP file. Open this PHP file:
or /templates/YOUR_TEMPLATE/html/com_virtuemart/category/flexv2.php (depends on what ever layout for category page you are using)
and find this DIV tag below and remove them completely. (backup first!!)
Attachment Pasted_Image_12_20_14__5_01_PM.png not found