We have a specific user flow for checkout : #1632544: User flow for login and checkout process

We want to have :

  1. That process to be enabled by default on the no demo store content
  2. A checkbox that says : "Allow checkout for anonymous users."

Comments

vasike’s picture

2. A checkbox that says : "Allow checkout for anonymous users."

at this moment the "access checkout" is enabled by default.
i could find 2 places where this is set:
- commerce_kickstart_install function in "commerce_kickstart.install" file
- in commerce_kickstart_user.features.user_permission.inc as user permission feature, this module is enabled by default no matter we have any option about demo content or other extras checked

the question is: where should we have implemented
as it is now, in both places or just one (an which)?

vasike’s picture

Status: Active » Needs review

commit for 1. ( User flow for login and checkout process enabled by default) - https://code.drupalcommerce.org/#/c/229/

vasike’s picture

commit for 2. (A checkbox that says : "Allow checkout for anonymous users.") - https://code.drupalcommerce.org/#/c/230/

vasike’s picture

1. and 2. merged and completed on https://code.drupalcommerce.org/#/c/229/

guguss’s picture

@vasike : Actually it's a commit and not a merge yet ;)

Actually, it's not doing what we need yet ! I commented the commit on Gerrit.

vasike’s picture

in the previous commits, i changed the "access checkout" permission for anonymous.
i thought that the http://drupal.org/project/commerce_checkout_redirect replace the access denied for Anonymous users with a redirection to login.
maybe this could be a bug for this module, if there's no "access checkout" permission for anonymous.
this should be checked.

i removed all the permissions stuff and keep only the Commerce Checkout Redirect dependency for NOT("Allow checkout for anonymous users.")
https://code.drupalcommerce.org/#/c/229/

bojanz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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