nahlik Posted November 26, 2013 Share Posted November 26, 2013 (edited) Hi all, I’m new to PrestaShop and this forum is really great. I have already solved many problems just browsing existing threads. But for this one I haven’t found anything: I want to completely disable the zooming function and remove the zooming button-like additions to the images on all product pages. TIA for any help where and how can I do it. Edited November 28, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 27, 2013 Share Posted November 27, 2013 preferences > products and set this option to no: Link to comment Share on other sites More sharing options...
nahlik Posted November 27, 2013 Author Share Posted November 27, 2013 Thanks for the answer, but this option I know and it’s not my problem. I want to completely disable BOTH zooming options, as BOTH are irrelevant in case of my products. I want an image only to be displayed without ANY zooming option or link on it. I’ve tried to hide various promissing things in poduct.css but every time the whole image block disappeared or was misplaced. I wonder if it is at all possible in the theme css or must be done somewhere deeper. Link to comment Share on other sites More sharing options...
nahlik Posted November 27, 2013 Author Share Posted November 27, 2013 (edited) Eureka! I ‘ve found the solution myself. If someone else wanted to do the same, here is the receipt: In product.css:in #pb-right-column #image-block #view_full_size .span_link {… ...)add line:visibility: hidden; In product.js:disable (or remove) these lines:// add a link on the span 'view full size' and on the big image$('#view_full_size, #image-block img').click(function(){('#views_block .shown').click();});The topic can be marked as solved Edited November 28, 2013 by nahlik (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 28, 2013 Share Posted November 28, 2013 thank you for posting solution thread marked as [solved] with regards, Milos Link to comment Share on other sites More sharing options...
StuartShaw Posted January 13, 2016 Share Posted January 13, 2016 Not to necro this thread but I found a more ideal solution to be the following: @media only screen and (max-width: 450px){.zoomWindow{visibility:hidden;[spam-filter] This provided greater control of when the zoom stops based on device type (the zoom function is pants on many mobiles). Link to comment Share on other sites More sharing options...
desger99 Posted August 2, 2018 Share Posted August 2, 2018 Hello @nahlik, Where can I find product.css and product. js in my files? I used to know where they were in prestashop 1.6, but here seem to be different. Maybe because of my theme - Warehouse... I will appreciate any help. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now