I would like to put in a request for a Login button, where the checkout button would be, for Commerce when setup for instances, when a store requires that one must be logged in and a member to purchase from the site. Otherwise if setup for logged in users only to use, users will only see a view cart button, thought a log in link would add userfriendlyness.
Obviously sites that do not require someone to be logged in to purchase would not require such functionality as they are already shown a checkout button, in which case it would be hindrance instead if the login button could not be removed or even automatically removed. So a "log in button", would only need to be enabled on sites set up for "logged in" purchasing only.
Comments
Comment #1
rszrama commentedDo you suppose this could become part of the Checkout Login module instead?
Comment #2
jlhs commentedI guess a module would be the most ideal Ryan, that way the module would dictate if the user login was to be shown or not (Requiring a simpler setup I presume).
As for the http://drupal.org/project/commerce_checkout_login Checkout Login module. Thanks for pointing this out. It looks real useful and see myself using it soon. Since the module seems to be orientated around anonymous users, would perhaps a separate module just for making the link for logged in users be the go (Unless the checkout login module has a framework in it, that is already a base for such functionality?), a module dedicated to setups that only allow purchases from logged in users? I would write the module myself, but am not at a module writing level. But anyhow. Thought the log in link (Button), might be an interesting concept to throw out there, if it happens to be of interest to others.
Comment #3
rszrama commentedIt could easily be an option added to the Checkout Login module I think. Those buttons / links are defined and access controlled via a hook, so Checkout Login can provide them disabled by default and when enabled only show them if the permissions are such that login is required before checkout. That should accomplish it, right?
Comment #4
jlhs commentedIt sounds like it would accomplish it. It sounds like the Checkout Login module would be the base for such functionality from what you have said, particularly with the permissions being checked or not.
Comment #5
rszrama commentedGreat, let's move this feature request there and see what happens. : )
Comment #6
legolasboClosing this as a duplicate of #2009986: Add capability to require login for existing and new users which has been more active.
Comment #7
legolasbo