Re: Popup window after clicking a button

Popup window after clicking a button

11 0 0

Hi, I need some help. I want to make it so that when I click on the "Contact us" button, a page opens in a small popup window. Can someone please help me? 




My theme: Colorblock v.14.0.0

I am using this Liquid code:

<a href="" class="button button--primary" onclick="window.location.href = this.href">Contact us</a>

function openInPopup(link) {


Reply 1 (1)

Shopify Partner
511 86 78



This can be done with a custom solution.



★ Looking for Dedicated Premium Coding Support? Join our unique "PREMIUM SUPPORT" service starting at 59 USD for 1 MONTH!
★ Get skilled Shopify developers at BUDGET-FRIENDLY RATES — explore for a rapid quote!
If my support was a lifeline for you, The COFFEE  
would be the anchor keeping me steady!
★ For Quick response --> WhatsApp | Email --> | Software Engineer - Specializing In Advanced E-Commerce Websites