0

i want to apply coupon code automatically for logged in customer when it comes view cart page .when page loaded it is automatically applied.if user is not logged in than they want to add manually for that one.

1 Answer 1

0

use two shopping cart - rules,

1) for connected users select only the usergroup of register users, without code and the promo you like apply.

2) promo with code and assigned only for the group "NOT LOGGED IN" with a code and the promo you like apply.

the two will swicth when the user is connected because change of usergroup, i hope you assing a usergroup to your registered customers

2
  • yes you are right but i want suppose i create coupon like DIXIT15 FOR 15% Off it is automatic display DIXIT15 is applied but when in your case no coupon is display i want to display this coupon already applied Commented Aug 10, 2016 at 8:34
  • 1
    that seems some hard to write with a observer, but i thing a easy bypass is create a no value product put a image say Promo and in small description put your msg, and add this product to shopping cart with the promo for connected users, well you can add this product in the two promo to keep the same UX
    – Pablote
    Commented Aug 10, 2016 at 8:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.