Making Submit Button also an Add to Cart button

Hi all, we have Gravity forms and WooCommerce set up to integrate with one another currently. Since we do not have payment options set up yet, we used Gravity Forms as a popup, and pull the Page Title as the product name to autofill that field.

Now, I’m wondering if when they click “submit”, is it possible to add the product to cart?

I saw a workaround to redirect them to the cart page and use the link ?add-to-cart=product-id , but that would mean that i would have to input every single product id and conditional logics. Hoping there’s a better solution that you could share.

Thank you!

Are you already using this plugin:

I believe it does what you’re asking.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.