Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Zoom Effect(SKU# FLEX-00005)

TOPIC: Disable Enlarge Picture Function does not work

Disable Enlarge Picture Function does not work 10 years 4 months ago #7782

I have disabled this feature: Enlarge Picture Function, and am using the zoom. The problem is when i zoom and then click on the image, the zoom turns off and now if i click again the image opens in a another window. how can i disable all the click functions and just have the zoom?
The administrator has disabled public write access.

Disable Enlarge Picture Function does not work 10 years 4 months ago #7828

Hi Alex,

Good point!. Looks like you found a bug on our template (CleanMart).
If you disable the "Enlarge Picture Function", this problem occurs.

There is an easy way to patch it, but it requires little coding modification. Don't worry, it is very easy enough to handle.

Open this PHP file:
//templates/YOUR_TEMPLATE/html/com_virtuemat/productdetails/default.php
(default.php or flexv2.php which ever layout you are currently using for product details page)

and look for these lines (around 190th line):
$('.mousetrap').live('click',function() {
	$('.FlexibleEnlargeView').click();
	$(this).remove();
	$('#flexible-zoom-big').remove();
	$('.flexible-zoom-lens').remove(); 
});

And remove them completely.
This will fix the problem.

Regards,
Support
Last Edit: 10 years 4 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.200 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