I am using a PRO button to Add an item to the cart. This is to keep the styling common amongst the buttons on the site and because the PRO buttons offer so much intuitive styling (particles, layers, subheadings, graphics et al).
However, I’m using the standard href link on the button, for example: index.php/?add-to-cart=276
Whilst this works it clearly isn’t AJAX friendly as the standard woocommerce shortcode [add_to_cart id=276] doesn’t refresh the entire page - whereas the PRO add to cart button does.
Is there a way to get a custom PRO button not to refresh the page (I’ve tried searching for this already)?
See how ugly the standard button is below:
