WooCommerce Adding Product Twice into Cart from URL’s Solved

I got same issue for one of my woo-commerce website so I have added hack to fix this. You can also try it might works for you too.

Add this code into you footer.php file

if(isset($_GET['add-to-cart'])) { 
wp_redirect( 'http://dev.chewigem.co.uk/wordpress/checkout' ); 
die; 
}

Leave a Reply

Your email address will not be published. Required fields are marked *

*


Skip to toolbar