#2122783: don not redirect to checkout, if i redirect to front page after login using rules
It seems we can have conflicts with other redirections for user login.

So we need a user property for the case when the user is on checkout (redirect) process so the conflicts could be avoided.

Comments

  • vasike committed 19f6c8c on
    Issue #2305205 by vasike: Add user property to indetify the user is on...
vasike’s picture

Status: Active » Needs work

There is a commit that should solve this issue.

Solution:

  • new "commerce_checkout_redirect" user property - within hook_entity_property_info_alter()
  • set the new property for user login - within hook_user_login() on top thanks to hook_module_implements_alter()

to do : There should also some info about this on the project page.

vasike’s picture

Status: Needs work » Fixed

info added both on project page and README file.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.