Woocommerce: a gobal cart discount (after coupons, taxes and shipping costs were added)

En curso Publicado hace 3 años Pagado a la entrega
En curso Pagado a la entrega

We need a discount of 5% to the total cart amount in our Woocommerce shop. It sounds trivial. However, all plugins that I tested apply the dicount to the product price excluding shipping costs and sometimes even excluding taxes. We need a discount after to the total amount including taxes etc.

Example:

Product price: 100 USD (including VAT)

Coupon added by customer: -10 USD

Product price: 100-10=90 USD

Shipping: 10 USD

Total amount: 100 USD

New discount: 5%

Amount to pay: 95 USD.

Please note: A hidden coupon is not the solution. The coupon function must be available. The product prices on the product details page, archive etc. should remain the same. The discount should only be seen in the checkout.

I would prefer a code snippet for the functions.php. However, if a (free) plugin will do the job, I'm ok with that.

PHP WordPress WooCommerce

Nº del proyecto: #26378985

Sobre el proyecto

10 propuestas Proyecto remoto Activo hace 3 años

10 freelancers están ofertando un promedio de €38 por este trabajo

jonyahmed105

Hi Pay only when the job done.

€60 EUR en 1 día
(183 comentarios)
6.7
SeMaX18

Hi, I am a wordpress expert and I can do this job successfully and quickly. I have rich experience 10+ years in web development and I can say that's exactly what I specialize in. You will satisfied on my work. I am rea Más

€50 EUR en 2 días
(15 comentarios)
4.3
jeojeoelllll

I can add the code for a discount after to the total amount. I have plenty of experience working on wordpress / woocommerce themes, websites and plugins

€50 EUR en 3 días
(10 comentarios)
3.5
mukeshfunday1996

I have a great experience in wordpress. I have more than 5 years exp. I work in PHP, WordPress, CI, Laravel etc. I can do this discount functionality for your website. I will provide you 100% solution for it. Thanks

€24 EUR en 2 días
(0 comentarios)
0.0