On my woocommerce single product pages I have added a duplicate “Add to cart” button,Now Two Add to cart button in single product page.if it was possible when someone clicks the first add to cart button and gets redirected to the checkout page that we could have the payment option of “First Payment Gateway” open as the default?Same as i want someone clicks the second add to cart button and gets redirected to the checkout page that we could have the payment option of “Second Payment Gateway” open as the default
Asked
Active
Viewed 836 times
1
-
were you able to resolve this? I am looking to do the same thing. – Danish Muneer Mar 03 '20 at 16:59
1 Answers
0
You can override checkout.js and achieve this.
Have a look here: How To Prevent Woocommerce from selecting default payment method on Checkout page?

Community
- 1
- 1

Vidish Purohit
- 1,048
- 11
- 20