Hello Magento Friends,

In today’s blog, I will explain How to Open Hyvä Popup Modal in Magento 2.

Popup modals in Magento 2 can be utilized for various purposes, such as displaying promotional offers, subscription forms, product information, login forms, cart summaries, or any other important information that requires immediate attention from the user. They are often used to enhance the user experience, improve engagement, and encourage users to interact with the website or perform specific actions without disrupting their current browsing session.

Hyvä Themes for Magento 2 is a popular open-source theme that aims to provide a more modern and user-friendly frontend experience for Magento 2 stores. Check out Hyvä Compatible Magento 2 Extensions.

Let’s find out How to Open Hyvä Popup Modal in Magento 2.

Steps to Open Hyvä Popup Modal in Magento 2:

Step 1: First, we need to create a default.xml file

app/code/Vendor/Extension/view/frontend/layout/

And add the code as follows

Step 2: After that, create a header.phtml file

app/code/Vendor/Extension/view/frontend/templates/hyva/

Then add the code as below

Step 3: After that, we need to create a popup.phtml file.

app/code/Vendor/Extension/view/frontend/templates/hyva/

And add the code as follows

Output:

Hyva Popup Modal

Conclusion:

I hope this guide helps you successfully integrate the Hyvä Popup Modal into your Magento 2 store and improves your overall user engagement and sales. If you find difficulty in performing the above steps, you can connect with me through the comment section.

Share the tutorial with your friends to help them with Popup Modal for Hyvä Themes in Magento 2.

Happy Coding!

Click to rate this post!
[Total: 0 Average: 0]