Allow guest checkout for registered users

  • Posts: 7
  • Thank you received: 0
  • Hikashop Business
7 years 1 month ago #280624

We need to allow guest checkout for all users, even if they are "registered users" on our website.

We want to use registration ONLY to allow access to certain content (Archives), and to have all users -- whether their email is registered or not -- to use guest checkout.

Currently, they get an error message "(Email address is associated with a registered user. Please login to complete the transaction.)

Is there a workaround that would allow a registered user to use guest checkout regardless of whether they are a registered user or not?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
7 years 1 month ago #280625

Hi,

No, there is no workaround. That would require some custom coding.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
  • Hikashop Business
7 years 1 month ago #280659

Thanks - any thoughts on instructions we should provide to a programmer to create that type of custom coding? Pitfalls to avoid? Logic that might work?

Also - just checking - are you suggesting that we should hire a developer to create this custom code, or is it something that we might be able to hire your team to develop? (We need it very soon, however....)

Last edit: 7 years 1 month ago by bmiexpress.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
7 years 1 month ago #280675

Hi,

The modifications will probably be only in the "register" function of the file administrator/components/com_hikashop/classes/user.php
Maybe also in administrator/components/com_hikashop/helpers/checkout/login.php (but I'm not sure it would be necessary).
The ideal for a properly developed solution would be to develop a system plugin to instantiate an override class of the default class (look in the hikashop_get function of the file administrator/components/com_hikashop/helpers/helper.php for the specifics) extending from the default class. That way, you would be able to easily update your HikaShop, without having to reapply the changes each time.
I would recommend you contact a 3rd party developer. with these indications, a skilled PHP developer should have no problem doing it. Now if you're in a hurry, you might want to contact our partners since they are specialized in HikaShop customization and thus know better what to do.

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum