In my WooCommerce website I have a few products with the same price of 80$.
I want to add a Discount by the products quantity.
The logic is like that:
if (Products Quantity is 2){
// the original product price change from 80$ to 75$ each.
}
if(Products Quantity is 3 or more){
//the original product price change from 80$ to 70$ each.
}
for example,
if a customer pick 2 products, the original price will be
(80$ x 2)
=>160$
.
But after the discount, it will be:(75$ x 2)
=>150$
.
And…
if visitor pick 3 products, the original price will be
(80$ x 3)
=>240$
.
But after the fee, it will be:(70$ x 3)
=>210$
.
Any help, please?
Thanks