4presta February 10, 2023 You don't have to. Just create one function and that's it. 😉 You can simply hide the default cart button and add your own to your module on the product page. You can even use AJAX add to cart.