Hi
http://www.chairimports.com.au/catalogue/table-tops/571/acajou-table-top-detail
If i click on the product image, it popups/zoom out; I want to remove this function
Can you please guide, I use joomla2.5 & VM 2.0.26d
Edit the product details override file to remove the modal/zoom links around the product image.
Quote from: jenkinhill on September 08, 2014, 15:13:49 PM
Edit the product details override file to remove the modal/zoom links around the product image.
I cannot find a way how to eliminate the zoom function on the product detail picture - can you be more specific? I just need a plain image there.
That answer was to a 2 year old question for VM2!!! There is no zoom function in the default VM 3.x product details template, just a fancybox popup. If you see something different then I guess you use a commercial template?
Yes, I mean that popup. I suppose it should show images in full size (= zoomed). I want to get rid of the popup.
In that case edit and override components/com_virtuemart/views/productdetails/tmpl/default_images.php unless you are already using overrides, in which case edit templates/[your joomla template]/html/com_virtuemart/productdetails/default-images.php
Well, I was not sure how to modify the JavaScript in default_images.php to leave just the plain image, so I used custom CSS:
div.main-image a {
pointer-events: none;
cursor: default;
}
Yes, a css override is a good way to do it.