VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: pensieristupendi on September 29, 2020, 16:57:07 PM

Title: Delete zoom for product
Post by: pensieristupendi on September 29, 2020, 16:57:07 PM
Hi,
I would like to cancel zoom function in products because it gives me several problem specially in mobile version.
I checked plugins but there is nothing, so I don't know how to do it.
I found something in default_image.php file but I'm not so expert to set it. I attach a screenshot of the file.
Can Anyone help me please?

Thank you
Title: Re: Delete zoom for product
Post by: jenkinhill on September 29, 2020, 17:11:08 PM
VirtueMart does not have a zoom function, soI guess it is part of your template. Check template configuration, or it may be st up as a plugin.
Title: Re: Delete zoom for product
Post by: pensieristupendi on September 30, 2020, 13:59:48 PM
I checked but there isn't any plug in to turn off. Among teh files I found what i attached and this part of the template file but I don't know how to modify it
Title: Re: Delete zoom for product
Post by: GJC Web Design on September 30, 2020, 14:04:32 PM
that's just your css .. somewhere  you will be loading a JS file something like   $document->addScript($tempURL.'/js/jquery.elevateZoom-3.0.8.min.js');

probably in your   templates\your_template\html\com_virtuemart\productdetails\default_images.php
Title: Re: Delete zoom for product
Post by: pinochico on September 30, 2020, 14:56:36 PM
Sometimes is without plugin  - only in template.
I know some template's developer, who make it with this solution, but I don't use it - is not comfortable for me.

Who created your template?
Title: Re: Delete zoom for product
Post by: pensieristupendi on October 02, 2020, 09:04:59 AM
I finally found a file where to set "false" for not activate zoom

templates/your-template/js/prodstyle

Thank you
Title: Re: Delete zoom for product
Post by: pinochico on October 02, 2020, 13:06:18 PM
Secret template :)

Good to know for next...