Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - FashionMart (SKU# FLEX-00008)

TOPIC: How can i remove the switchview functionallity ?

How can i remove the switchview functionallity ? 9 years 3 months ago #11524

Hi,
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 ? 9 years 3 months ago #11555

Hi,

You can hide the switchView icons through this CSS file (to any CSS file):
.switch_thumb {display:none !important;}

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:

/templates/YOUR_TEMPLATE/html/com_virtuemart/category/default.php
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



regards.
Last Edit: 9 years 3 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.100 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo