[Skip to main content](#vessel-content)

#   Quest checkout error while it is not guest checkout

##

- **[joris85](/forum/user/28344-joris85 "View joris85's Profile")**
- [![joris85's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28344.jpg)](/forum/user/28344-joris85 "View joris85's Profile") Topic Author
- [ Offline](/forum/user/28344-joris85)

Less More

- Posts: 190
- Thank you received: 9
-
-

6 years 2 months ago [\#323749](#323749) by [joris85](/forum/user/28344-joris85 "View joris85's Profile")  *[Quest checkout error while it is not guest checkout](/forum/27-checkout/900761-quest-checkout-error-while-it-is-not-guest-checkout#323749 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : GUEST&#95;CHECKOUT&#95;NOT&#95;POSSIBLE&#95;WITH&#95;USER&#95;GROUP&#95;AFTER&#95;PURCHASE=&quot;You cannot proceed to a guest checkout as some of the products in your cart require a registration to our website. Please register an account or remove these products from your cart in order to proceed.&quot;  Hi guys,  I have chosen Registration in the checkout options.   www.dropbox.com/s/6zz6lnvouev7m66/Scherm...%2015.25.16.png?dl=0  Though still i get the error that i can't go on. If i delete the error and just fill in the checkout i have an account and it works fine.  Url to add a product with usergroup:   bosenklimaat.nl/index.php?option=com&#95;hik...y=1&amp;cid=2&amp;Itemid=716  So it looks like there is a bug in this check and gives the error when not needed.")* was created by *[joris85](/forum/user/28344-joris85 "View joris85's Profile")*

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.21
-- PHP version -- : 7.4
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : GUEST_CHECKOUT_NOT_POSSIBLE_WITH_USER_GROUP_AFTER_PURCHASE="You cannot proceed to a guest checkout as some of the products in your cart require a registration to our website. Please register an account or remove these products from your cart in order to proceed."

Hi guys,

I have chosen Registration in the checkout options.
[ www.dropbox.com/s/6zz6lnvouev7m66/Scherm...%2015.25.16.png?dl=0](https://www.dropbox.com/s/6zz6lnvouev7m66/Schermafbeelding%202020-09-08%20om%2015.25.16.png?dl=0)

Though still i get the error that i can't go on.
If i delete the error and just fill in the checkout i have an account and it works fine.

Url to add a product with usergroup:
[ bosenklimaat.nl/index.php?option=com\_hik...y=1&amp;cid=2&amp;Itemid=716](https://bosenklimaat.nl/index.php?option=com_hikashop&ctrl=product&task=updatecart&quantity=1&cid=2&Itemid=716)

So it looks like there is a bug in this check and gives the error when not needed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMDc2MS1xdWVzdC1jaGVja291dC1lcnJvci13aGlsZS1pdC1pcy1ub3QtZ3Vlc3QtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joris85](/forum/user/28344-joris85 "View joris85's Profile")**
- [![joris85's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28344.jpg)](/forum/user/28344-joris85 "View joris85's Profile") Topic Author
- [ Offline](/forum/user/28344-joris85)

Less More

- Posts: 190
- Thank you received: 9
-
-

6 years 2 months ago [\#323760](#323760) by [joris85](/forum/user/28344-joris85 "View joris85's Profile")  Replied by *[joris85](/forum/user/28344-joris85 "View joris85's Profile")* on topic *[Quest checkout error while it is not guest checkout](/forum/27-checkout/900761-quest-checkout-error-while-it-is-not-guest-checkout#323760 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : GUEST&#95;CHECKOUT&#95;NOT&#95;POSSIBLE&#95;WITH&#95;USER&#95;GROUP&#95;AFTER&#95;PURCHASE=&quot;You cannot proceed to a guest checkout as some of the products in your cart require a registration to our website. Please register an account or remove these products from your cart in order to proceed.&quot;  Hi guys,  I have chosen Registration in the checkout options.   www.dropbox.com/s/6zz6lnvouev7m66/Scherm...%2015.25.16.png?dl=0  Though still i get the error that i can't go on. If i delete the error and just fill in the checkout i have an account and it works fine.  Url to add a product with usergroup:   bosenklimaat.nl/index.php?option=com&#95;hik...y=1&amp;cid=2&amp;Itemid=716  So it looks like there is a bug in this check and gives the error when not needed.")*

I did a display none on the message so people will not be confused.
.view-checkout #system-message-container {
display: none;
}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMDc2MS1xdWVzdC1jaGVja291dC1lcnJvci13aGlsZS1pdC1pcy1ub3QtZ3Vlc3QtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

6 years 2 months ago [\#323755](#323755) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Quest checkout error while it is not guest checkout](/forum/27-checkout/900761-quest-checkout-error-while-it-is-not-guest-checkout#323755 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : GUEST&#95;CHECKOUT&#95;NOT&#95;POSSIBLE&#95;WITH&#95;USER&#95;GROUP&#95;AFTER&#95;PURCHASE=&quot;You cannot proceed to a guest checkout as some of the products in your cart require a registration to our website. Please register an account or remove these products from your cart in order to proceed.&quot;  Hi guys,  I have chosen Registration in the checkout options.   www.dropbox.com/s/6zz6lnvouev7m66/Scherm...%2015.25.16.png?dl=0  Though still i get the error that i can't go on. If i delete the error and just fill in the checkout i have an account and it works fine.  Url to add a product with usergroup:   bosenklimaat.nl/index.php?option=com&#95;hik...y=1&amp;cid=2&amp;Itemid=716  So it looks like there is a bug in this check and gives the error when not needed.")*

Hi,

Indeed. I think that the issue can be fixed with this:
Add the code:
Code:

$hkUser = hikashop_loadUser(); if(empty($hkUser)) return;

after the code: Code:

$user = JFactory::getUser(); if(empty($user-&gt;guest)) return true;

in the file plugins/hikashop/group/group.php
That will skip the check on the user being a guest after the user went through the login view.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMDc2MS1xdWVzdC1jaGVja291dC1lcnJvci13aGlsZS1pdC1pcy1ub3QtZ3Vlc3QtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.071 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
