I need to check the validity of the coupon code on the check / cart page with the server side code.
Magento already comes with a similar on-site check. However, I need to add it to find out if the user is connected or not: what would be the best way to expand / redefine this action in Magento?
I know that I can copy the PHP controller file to the folder tree /app/code/local/ , but I'm wondering if there is a better way to do this.
Johnt source share