D
D
Dmitry Krupin2017-12-06 23:35:49
Electronic commerce
Dmitry Krupin, 2017-12-06 23:35:49

How to skip checkout page if product price is 0 in woocommerce?

The task at the time of placing the order is to check the amount of "total" if it is 0, then you need to skip further processing and once proceed to the actions after placing and paying for the order.
If it’s clearer, then I have a free, virtual product, and when I buy it, I don’t really need anything from the user, and I really don’t want to force him to see the payment form.
Is there a hook to check this? Tried googling but couldn't find anything relevant.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
oh, 2017-12-07
well @AnneSmith

look at this
https://www.skyverge.com/blog/how-to-simplify-free...
and google translate to help if you don't know English

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question