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())"</a>`` I really appreciated if I can be helped please, i know it is a simple code but i can't solve the code.

Member Avatar
Member Avatar
+0 forum 1

The End.