I added my store. Also I created new group of users(Agent). And I would like, that all users who have not logged in as agents could not purchase products. How can I do it?

  • 1
    you can disable guest checkout from admin – Piyush Dec 21 '17 at 8:24
  • @Piyush can I do it programmatically? – Павел Кушнеревич Dec 21 '17 at 8:35
  • Yes you can do it programmatically also check this – Piyush Dec 21 '17 at 8:38
  • You mean with user (Agent) a Customer Group? And You want to block all other Group from the purchase? – Marcel Dec 21 '17 at 8:43
  • @Marcel I have only Agent, but if u non login u can't buy anything – Павел Кушнеревич Dec 21 '17 at 14:39

You can disable guest checkout in System>Configuration>Sales>Checkout>Checkout Options enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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