WooCommerce – Negative(Add) Coupon Discount
This project was to create a custom solution that allow admin to add coupons that will add/increase the price on Cart and Checkout page when that coupon is used.
This required was for this client who has setup WooCommerce store for customer to sell their used products. So, he wanted to give customer some additional price on selling, i.e. 10% extra price. To achieve this a negative discount calculation feature was necessary and that was developed.
It includes features like:
- A Settings section on Edit coupon page of WooCommerce
- On Frontend, when user adds that coupon on frontend, it will add price to cart total
A Settings section on Edit coupon page of WooCommerce
On Backend side, gave option so admin can set specific coupons for this negative calculations.
Only those coupons will work in negative way, other will work as it is supposed to be normally.
On Frontend, when user adds that coupon on frontend, it will add price to cart total
When admin has set/enabled a coupon to have a negative discount, it will add price on cart/checkout total instead of reducing price.
This feature work with all type of Discount for coupons, i.e. Percentage, Cart Total, or fixed amount.