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.
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.
12 freelancer đang chào giá trung bình €38 cho công việc này
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
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