Example:
User goes through checkout and uses code "GCC" in checkout, includes password during checkout so as to create a new account in my store.
GCC applies a 15% discount per standard module configuration
but use of coupon code "GCC" also affects the creation of their account, in that it assigns a role (pre-existing in the store): "GCC" as well.
I would have this role set-up to receive the the same discount every time the user checks out, without needing the keycode..
Comments
Comment #1
wodenx commentedUbercart already creates an account in your store for every customer. Can't you just add a rule that responds to "customer completes checkout" that uses the "order has a coupon applied" condition to assign a role to the user? And then use the automatic discount feature to give a discount to any user with that role?