This question already has an answer here:

How to remove the zoom feature on hover on the product image in product view page?
I have tried below code, but it is not working.

<var name="gallery">
    <var name="allowfullscreen">false</var> <!-- Turn on/off fullscreen (true/false) -->
<var name="magnifier">
   <var name="enabled">false</var> <!-- Turn on/off magnifier (true/false) -->

marked as duplicate by Raphael at Digital Pianism, Siarhey Uchukhlebau, liyakat, Rakesh Jesadiya, Qaisar Satti Apr 19 '17 at 7:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.