Buy me a coffee

Click Add to Cart > Show a Form Popup

#1. First, you need to edit the Site Footer

Click Add To Cart Show A Form Popup 01 Min

#2. Add a Form Block

Click Add To Cart Show A Form Popup 02 Min

#3. Click Design > Enable Lightbox

Click Add To Cart Show A Form Popup 03 Min

Click Content > Edit Form Fields

Click Add To Cart Show A Form Popup 04 Min

You can place any fields that you want.

Click Add To Cart Show A Form Popup 05 Min

and remember to enter your email in Storage > Notification

Click Add To Cart Show A Form Popup 06 Min

#4. Use this code to Custom CSS box to hide the Form Lightbox button in the Footer

footer.sections button.lightbox-handle {
visibility: hidden !important;
}

Click Add To Cart Show A Form Popup 07 Min

#5. Use this code to Code Injection > Footer to open Form Lightbox when clicking the Add to Cart button.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $('div.sqs-add-to-cart-button').on("click", function(event){
  	event.preventDefault();
    $('button.lightbox-handle')[0].click();
  })
})
</script>

Click Add To Cart Show A Form Popup 08 Min

#6. Result

When users click the add to cart button, it will add the product to the cart + open form lightbox

Click Add To Cart Show A Form Popup 09 Min