How can I remove image magnifier for bundle products only.


You have to override etc/view.xml in your extension and add this code

<vars module="Magento_Bundle">
    <var name="gallery">
        <var name="allowfullscreen">false</var> <!-- Turn on/off fullscreen (true/false) -->

You can also refer this links:


Disable product magnification / zoom in Magento 2

May be it will work.

  • I've overridden view.xml in my custom theme unlike Luma theme. Also, added above code in the file. but its not working and still showing magnifier. – Deeps Nov 14 '16 at 12:47
  • have you tried 2nd link for all type of product remove magnifier. – chirag Nov 14 '16 at 12:48
  • yes, i have tried it but it removes magnifier from all product types. I just want to remove it for bundle products. – Deeps Nov 14 '16 at 12:49
  • try my updated answer. – chirag Nov 14 '16 at 12:54
  • No. that is also not working :( – Deeps Nov 14 '16 at 14:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.