Add to cart on collection page Impulse 7.4

Hello, I want to add a ajax add to cart button on the collection page for Impulse 7.4. I followed some tutorials but none seem to work for this version.

I used the following code:

{% assign current_variant = product.selected_or_first_available_variant %}
{%- render 'product-form',
form_id: form_id,
product: product,
show_dynamic_checkout: block.settings.show_dynamic_checkout,
current_variant: current_variant
-%}

The issue is that I want the add to cart button to open the drawer, not to redirect on the cart page. How can I achieve this?

Does anybody have an answer?