Product Icon

WooCommerce

Sell online with the flexible, customizable eCommerce platform designed to grow with your business. From your first sale to millions in revenue, Woo is with you. See why merchants trust us to power 3.4 million online stores.

Add discounts to the cart

Currently to add a discount to the cart you have to use `add_fee` , the problem is that taxes are always added to negative fees. This means that you have to subtract the tax from the cart total.

I think it would be a good idea to have an add_discount method which works like add fee, but apply a negative amount and does not apply taxes.

Author

frankastin2023

Current Status

Open

Last updated: September 1, 2023

1 comment

Log in to comment on this feature request.

  1. James Dowsing-Reynolds says:

    This would be mega helpful. Surprised this isn’t already part of core.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.