Hello Magento Friends?,

Today I will help you How to show product magnification/zoom in product view page for your Magento 2 store. Also, check out the last blog published How to add Dynamic CSS Using Page Assets in Magento 2. Let’s Dive In?


In online business, the product images matter a lot. The images should be clear to view from the customer’s perspectives. And including the zoom option would be better to recognize the product by the customers. This will help you in converting the users to the customers and also helps in improving customer experience.

Steps to show product magnification/zoom in product view page:

Step 1: Firstly, navigate to the below path and change code accordingly.


And find below code  :

And replace below code :

That’s it. After changing the code run Magento clean and flush command.


Therefore by applying the above steps you will be able to show product magnification/zoom in the product view page. If any problems I will be happy to hear in the comment section below. Do share the article with your developer friends.

Happy Coding?

Click to rate this post!
[Total: 9 Average: 4.7]