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

#   when customer empties cart they are logged out

##

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

Less More

- Posts: 90
- Thank you received: 0
-
-

13 years 7 months ago [\#99974](#99974) by [tanyatanya](/forum/user/513-tanyatanya "View tanyatanya's Profile")  *[when customer empties cart they are logged out](/forum/4-how-to/80618-when-customer-empties-cart-they-are-logged-out#99974 "i'm finding that if a customer empties their cart that they are automatically logged out - is there a way to change this? They really need to be kept logged in unless they click 'log out' or after it times out.  kind regards, Tanya")* was created by *[tanyatanya](/forum/user/513-tanyatanya "View tanyatanya's Profile")*

i'm finding that if a customer empties their cart that they are automatically logged out - is there a way to change this? They really need to be kept logged in unless they click 'log out' or after it times out.

kind regards,
Tanya

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#99979](#99979) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[when customer empties cart they are logged out](/forum/4-how-to/80618-when-customer-empties-cart-they-are-logged-out#99979 "i'm finding that if a customer empties their cart that they are automatically logged out - is there a way to change this? They really need to be kept logged in unless they click 'log out' or after it times out.  kind regards, Tanya")*

Hi,

There is no such option in HikaShop.
The logout is not done while the user want to empty his cart.

We would require more precise information about it because we do not reproduce it.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 90
- Thank you received: 0
-
-

13 years 7 months ago [\#99988](#99988) by [tanyatanya](/forum/user/513-tanyatanya "View tanyatanya's Profile")  Replied by *[tanyatanya](/forum/user/513-tanyatanya "View tanyatanya's Profile")* on topic *[when customer empties cart they are logged out](/forum/4-how-to/80618-when-customer-empties-cart-they-are-logged-out#99988 "i'm finding that if a customer empties their cart that they are automatically logged out - is there a way to change this? They really need to be kept logged in unless they click 'log out' or after it times out.  kind regards, Tanya")*

hi,

it does it on my website here:

[ www.spaldingfasteners.co.uk/](https://www.spaldingfasteners.co.uk/)

-log in
-add an item to the cart
-proceed to checkout
-delete the item from the cart either in the checkout or in the mini cart on the left
-the user is logged out

if you require any more information please let me know

kind regards,
Tanya

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#100042](#100042) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[when customer empties cart they are logged out](/forum/4-how-to/80618-when-customer-empties-cart-they-are-logged-out#100042 "i'm finding that if a customer empties their cart that they are automatically logged out - is there a way to change this? They really need to be kept logged in unless they click 'log out' or after it times out.  kind regards, Tanya")*

Hi,

What I see is that, when a product is removed from the cart, the user is redirected to the HTTP version of the website when previously on HTTPS.
By changing the domain, I think that the session is lost or is destroyed. That's why the user is logout after that.
Please check your joomla configuration, specially for the default url of the website. If "http" is mentioned in the configuration, it would explain why HikaShop make a redirection to an HTTP url.

Best regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

13 years 7 months ago [\#100379](#100379) by [sholloway](/forum/user/231-sholloway "View sholloway's Profile")  Replied by *[sholloway](/forum/user/231-sholloway "View sholloway's Profile")* on topic *[when customer empties cart they are logged out](/forum/4-how-to/80618-when-customer-empties-cart-they-are-logged-out#100379 "i'm finding that if a customer empties their cart that they are automatically logged out - is there a way to change this? They really need to be kept logged in unless they click 'log out' or after it times out.  kind regards, Tanya")*

The analysis of the problem is correct, I think. However, the setting is in the Hikashop configuration not the Joomla configuration. See 'System - Configuration' in the 'Cart' section. There is a field specifically for the url to go to after emptying the cart.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#100389](#100389) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[when customer empties cart they are logged out](/forum/4-how-to/80618-when-customer-empties-cart-they-are-logged-out#100389 "i'm finding that if a customer empties their cart that they are automatically logged out - is there a way to change this? They really need to be kept logged in unless they click 'log out' or after it times out.  kind regards, Tanya")*

Hi,

I do not talk about the HikaShop configuration but the Joomla one.
There is a "live_site" option in the configuration.php file which indicate the "live url" of the website. I suppose that the url contains "http://" and not "https://".

Regards

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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