Post by jokensigns » Tue Jan 26, 2016 7:46 pm

Was wondering if it was possible and how to disable the image popup on the product page? Don't need this feature, and would like to disable it.
OpenCart 2.1.0.1 is what I currently have installed.

Thanks
Ken

Newbie

Posts

Joined
Mon Feb 04, 2013 8:24 pm

Post by viethemes » Tue Jan 26, 2016 9:29 pm

To do that you can open file catalog\view\theme\default\template\product\product.tpl
find

Code: Select all

$(document).ready(function() {
	$('.thumbnails').magnificPopup({
		type:'image',
		delegate: 'a',
		gallery: {
			enabled:true
		}
	});
});
and remove it.

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm

Who is online

Users browsing this forum: No registered users and 3 guests