I have searched everywhere and got no answers, hopefully I will get the answer here.
Here is my situation:
I give customer an option to get free shipping or local shipping, both created using table rate shipping plugin.
For every 6 items and its folds, customers can choose between free shipping and local shipping.
If they choose local shipping, there is a discount code that can be applied to reduce the price, and if they choose the free shipping option, they should not get that discount, but I still can't figure out how to do it.
What i need is, when customers already applied a discount code, and change their mind and decided to choose the free shipping option, then when the tick the radio button for the free shipping option, the system would automatically remove the discount amount applied.
Anyone experiencing with this situation? or you are an expert that willing to help? Please help me out.
Also if there is a plugin to do this, please kindly let me know too.