I need to move the coupon field and button to the cart totals table, above the 'Proceed to Checkout' button. So far I move the portion of code in the php files, but the ajax is not working thus is not applying the discount.
Thanks.
I need to move the coupon field and button to the cart totals table, above the 'Proceed to Checkout' button. So far I move the portion of code in the php files, but the ajax is not working thus is not applying the discount.
Thanks.
Edit the cart.php file to remove the code that outputs the coupon code. Then edit the cart-total.php file and insert the function that outputs the coupon code on the checkout page.
In order for this to function it needs the wc-checkout script so enqueue that just for the cart page.