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

#   Issues with checkout

##

- **[hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")**
- [![hoken30's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1757-hoken30 "View hoken30's Profile") Topic Author
- [ Offline](/forum/user/1757-hoken30)

Less More

- Posts: 25
- Thank you received: 0
-
-

15 years 7 months ago -  15 years 7 months ago [\#11992](#11992) by [hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")  *[Issues with checkout](/forum/4-how-to/11992-issues-with-checkout#11992 "Newbie with Hikashop please bear with me :)  Noticed a few issues with my checkout process and would appreciate any help:  1. Cart is not cleared after order is complete 2. I have to press the 'Next' button twice on the Address and Payment steps, not sure why this is happening? My flow is currently set as follows: login,address&#95;shipping,payment&#95;confirm&#95;coupon&#95;cart&#95;status&#95;fields,end. 3. How can I bypass the 'Login' step of the flow if user is already logged in? Currently it takes the user to the login step but there is no content displayed.")* was created by *[hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")*

Newbie with Hikashop please bear with me ![:)](/media/kunena/emoticons/3.png ":)")

Noticed a few issues with my checkout process and would appreciate any help:

1. Cart is not cleared after order is complete
2. I have to press the 'Next' button twice on the Address and Payment steps, not sure why this is happening? My flow is currently set as follows: login,address_shipping,payment_confirm_coupon_cart_status_fields,end.
3. How can I bypass the 'Login' step of the flow if user is already logged in? Currently it takes the user to the login step but there is no content displayed.

Last edit: 15 years 7 months ago by [hoken30](/forum/user/1757-hoken30 "View hoken30's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExOTkyLWlzc3Vlcy13aXRoLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#11994](#11994) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Issues with checkout](/forum/4-how-to/11992-issues-with-checkout#11994 "Newbie with Hikashop please bear with me :)  Noticed a few issues with my checkout process and would appreciate any help:  1. Cart is not cleared after order is complete 2. I have to press the 'Next' button twice on the Address and Payment steps, not sure why this is happening? My flow is currently set as follows: login,address&#95;shipping,payment&#95;confirm&#95;coupon&#95;cart&#95;status&#95;fields,end. 3. How can I bypass the 'Login' step of the flow if user is already logged in? Currently it takes the user to the login step but there is no content displayed.")*

Which version of Hikashop are you using ?
Could you give a link to your shop so that we can see the problem ?

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

- **[hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")**
- [![hoken30's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1757-hoken30 "View hoken30's Profile") Topic Author
- [ Offline](/forum/user/1757-hoken30)

Less More

- Posts: 25
- Thank you received: 0
-
-

15 years 7 months ago -  15 years 7 months ago [\#11999](#11999) by [hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")  Replied by *[hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")* on topic *[Re: Issues with checkout](/forum/4-how-to/11992-issues-with-checkout#11999 "Newbie with Hikashop please bear with me :)  Noticed a few issues with my checkout process and would appreciate any help:  1. Cart is not cleared after order is complete 2. I have to press the 'Next' button twice on the Address and Payment steps, not sure why this is happening? My flow is currently set as follows: login,address&#95;shipping,payment&#95;confirm&#95;coupon&#95;cart&#95;status&#95;fields,end. 3. How can I bypass the 'Login' step of the flow if user is already logged in? Currently it takes the user to the login step but there is no content displayed.")*

Test User-
Login: pcb_test // password

My Hikashop version: 1.4.8

Last edit: 15 years 7 months ago by [hoken30](/forum/user/1757-hoken30 "View hoken30's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExOTkyLWlzc3Vlcy13aXRoLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#12004](#12004) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Issues with checkout](/forum/4-how-to/11992-issues-with-checkout#12004 "Newbie with Hikashop please bear with me :)  Noticed a few issues with my checkout process and would appreciate any help:  1. Cart is not cleared after order is complete 2. I have to press the 'Next' button twice on the Address and Payment steps, not sure why this is happening? My flow is currently set as follows: login,address&#95;shipping,payment&#95;confirm&#95;coupon&#95;cart&#95;status&#95;fields,end. 3. How can I bypass the 'Login' step of the flow if user is already logged in? Currently it takes the user to the login step but there is no content displayed.")*

I could not reproduce the problems you're talking about on your website.

1. The cart was cleared after each purchase
2. I didn't had to press next twice
3. login view was bypassed automatically when logged in

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

- **[hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")**
- [![hoken30's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1757-hoken30 "View hoken30's Profile") Topic Author
- [ Offline](/forum/user/1757-hoken30)

Less More

- Posts: 25
- Thank you received: 0
-
-

15 years 7 months ago [\#12005](#12005) by [hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")  Replied by *[hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")* on topic *[Re: Issues with checkout](/forum/4-how-to/11992-issues-with-checkout#12005 "Newbie with Hikashop please bear with me :)  Noticed a few issues with my checkout process and would appreciate any help:  1. Cart is not cleared after order is complete 2. I have to press the 'Next' button twice on the Address and Payment steps, not sure why this is happening? My flow is currently set as follows: login,address&#95;shipping,payment&#95;confirm&#95;coupon&#95;cart&#95;status&#95;fields,end. 3. How can I bypass the 'Login' step of the flow if user is already logged in? Currently it takes the user to the login step but there is no content displayed.")*

hmm that's bizarre, I just tried again myself and couldn't reproduce it either...some kinda phantom bug? ![:P](/media/kunena/emoticons/14.png ":P")

Cool, I appreciate the quick response and your help Nicolas. I'll let you know if I see it again, so weird..

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

- **[hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")**
- [![hoken30's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1757-hoken30 "View hoken30's Profile") Topic Author
- [ Offline](/forum/user/1757-hoken30)

Less More

- Posts: 25
- Thank you received: 0
-
-

15 years 7 months ago [\#12014](#12014) by [hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")  Replied by *[hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")* on topic *[Re: Issues with checkout](/forum/4-how-to/11992-issues-with-checkout#12014 "Newbie with Hikashop please bear with me :)  Noticed a few issues with my checkout process and would appreciate any help:  1. Cart is not cleared after order is complete 2. I have to press the 'Next' button twice on the Address and Payment steps, not sure why this is happening? My flow is currently set as follows: login,address&#95;shipping,payment&#95;confirm&#95;coupon&#95;cart&#95;status&#95;fields,end. 3. How can I bypass the 'Login' step of the flow if user is already logged in? Currently it takes the user to the login step but there is no content displayed.")*

If you're still here, do you know why I'm getting this error when I logout? I think it's a Joomla problem, not Hikashop, but thought I'd just run it by you ![:)](/media/kunena/emoticons/3.png ":)")

Fatal error: Class 'hikashop' not found in /home/kennethpho/www/www/Joomla/plugins/user/hikashop.php on line 80

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExOTkyLWlzc3Vlcy13aXRoLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#12018](#12018) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Issues with checkout](/forum/4-how-to/11992-issues-with-checkout#12018 "Newbie with Hikashop please bear with me :)  Noticed a few issues with my checkout process and would appreciate any help:  1. Cart is not cleared after order is complete 2. I have to press the 'Next' button twice on the Address and Payment steps, not sure why this is happening? My flow is currently set as follows: login,address&#95;shipping,payment&#95;confirm&#95;coupon&#95;cart&#95;status&#95;fields,end. 3. How can I bypass the 'Login' step of the flow if user is already logged in? Currently it takes the user to the login step but there is no content displayed.")*

That's a bug which we found yesterday in the latest release. We published a new build of that version with the fix but you apparently installed it before we published that new build: [ www.hikashop.com/support/forum/4-how-to/...m.html?lang=en#11818](http://www.hikashop.com/support/forum/4-how-to/10244-how-to-integrate-third-party-tracking-system.html?lang=en#11818)
You can either download the new version of the install package and install it over your current version or add that fix to solve the problem.

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

- **[hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")**
- [![hoken30's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1757-hoken30 "View hoken30's Profile") Topic Author
- [ Offline](/forum/user/1757-hoken30)

Less More

- Posts: 25
- Thank you received: 0
-
-

15 years 7 months ago [\#12043](#12043) by [hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")  Replied by *[hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")* on topic *[Re: Issues with checkout](/forum/4-how-to/11992-issues-with-checkout#12043 "Newbie with Hikashop please bear with me :)  Noticed a few issues with my checkout process and would appreciate any help:  1. Cart is not cleared after order is complete 2. I have to press the 'Next' button twice on the Address and Payment steps, not sure why this is happening? My flow is currently set as follows: login,address&#95;shipping,payment&#95;confirm&#95;coupon&#95;cart&#95;status&#95;fields,end. 3. How can I bypass the 'Login' step of the flow if user is already logged in? Currently it takes the user to the login step but there is no content displayed.")*

I checked my hikashop.php as per the thread u linked, and mine already has the fix. Is there something else I'm missing?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExOTkyLWlzc3Vlcy13aXRoLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#12048](#12048) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Issues with checkout](/forum/4-how-to/11992-issues-with-checkout#12048 "Newbie with Hikashop please bear with me :)  Noticed a few issues with my checkout process and would appreciate any help:  1. Cart is not cleared after order is complete 2. I have to press the 'Next' button twice on the Address and Payment steps, not sure why this is happening? My flow is currently set as follows: login,address&#95;shipping,payment&#95;confirm&#95;coupon&#95;cart&#95;status&#95;fields,end. 3. How can I bypass the 'Login' step of the flow if user is already logged in? Currently it takes the user to the login step but there is no content displayed.")*

You error is on line 80, but if you have the modification I talk about in the other thread, the line $userClass = hikashop::get('class.user'); on which you get the error should be on line 81. So that means that the modification is not applied.

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

- **[hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")**
- [![hoken30's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1757-hoken30 "View hoken30's Profile") Topic Author
- [ Offline](/forum/user/1757-hoken30)

Less More

- Posts: 25
- Thank you received: 0
-
-

15 years 7 months ago -  15 years 7 months ago [\#12049](#12049) by [hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")  Replied by *[hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")* on topic *[Re: Issues with checkout](/forum/4-how-to/11992-issues-with-checkout#12049 "Newbie with Hikashop please bear with me :)  Noticed a few issues with my checkout process and would appreciate any help:  1. Cart is not cleared after order is complete 2. I have to press the 'Next' button twice on the Address and Payment steps, not sure why this is happening? My flow is currently set as follows: login,address&#95;shipping,payment&#95;confirm&#95;coupon&#95;cart&#95;status&#95;fields,end. 3. How can I bypass the 'Login' step of the flow if user is already logged in? Currently it takes the user to the login step but there is no content displayed.")*

ok i see discrepencies now, what function is this supposed to be in? Is it supposed to be in here:

function onAfterDeleteUser($user, $success, $msg){
if($success===false) return false;
if(!include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')) return true;
$userClass = hikashop::get('class.user');
$user_id = $userClass-&gt;getID($user,'email');

Because i noticed the $user_id line, is different on the right side than what you posted on that thread. Should I replace that too? or is this the wrong line? I can't find the following second line specified in the thread you linked:

$user_id = $userClass-&gt;getID($user,'cms');

UPDATE:
I don't think I changed anything, but now it looks like it's working as well suddenly...strange. I'm seeing things today, lol. Thanks again for your help Nicolas

Last edit: 15 years 7 months ago by [hoken30](/forum/user/1757-hoken30 "View hoken30's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExOTkyLWlzc3Vlcy13aXRoLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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.070 seconds

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