A
A
Alexander Zhuravlev2017-07-20 12:11:58
WooCommerce
Alexander Zhuravlev, 2017-07-20 12:11:58

How to make in woocommerce that the discount of the coupon is added to the discount of the product?

Hello! It is necessary that when using a 60% coupon for a product with a discount, for example, 20%, the discount becomes 60% of the total amount, that is, 40% is added. It is necessary that the discount always becomes 60% of the total cost of the goods, and not as the default amount is taken with a discount and 60% is taken from it. How to implement this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maksym Davydchuk, 2017-07-20
@maksym1991

Found such a gist https://gist.github.com/frozonfreak/1458e5a43a8781... - did not check performance

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question