Add discount; but also remove discount when clear cart button pressed
Hello,
(1) I followed your tutorial and added a discount field that would add a 10% discount when appropriate text entered and button pressed.
But also:
(2) would like the discount to be cleared if the user presses the "Clear Cart" button.
I have a session variable in place for the former, and have used the webAssist "Clear Session Values" option under the "Cookies" menu, which I thought would be appropriate.
But unfortunately, eCart does not seem to want to apply the discount at all, with the Clear Session Values in place.
I am not certain what I am doing wrong.
Relevant URL's in upcoming reply.
Thank you..