Hi guys, its there any way to change the trigger of this button "add to cart" to run this link? I keep trying to figure out how to edit but it dosent work. :(.

Buttton: <button type="submit" name="add-to-cart" value="<?php echo esc_attr( $product->get_id() ); ?>" class="nm-simple-add-to-cart-button single_add_to_cart_button button alt">text1</button>

Link that i want to trigger from that button insted going to shop cart: `<a href="javascript:void(Tawk_API.toggle())"``

I really appreciated if I can be helped please, i know it is a simple code but i can't solve the code.

Sorry for reply, after all my research still cant manage how to solve this issue.

website its: https://dealer.moto24.ro