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

#   Chrome sessions issue on cart

##

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

Less More

- Posts: 38
- Thank you received: 2
-
-

5 years 5 months ago [\#332991](#332991) by [donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")  *[Chrome sessions issue on cart](/forum/27-checkout/902666-chrome-sessions-issue-on-cart#332991 "-- HikaShop version -- : 4.4.2 &#91;2105201232&#93; -- Joomla version -- : 3.9.26 -- PHP version -- : 7.4.16 -- Browser(s) name and version -- : Chrome 91.0.4472.77 (Official Build) (64-bit)  We are in the process of setting up Hika on a new site that we are building. We have experience with Hika and have been using it on various client's sites for about 10 years, so we are familiar with it. The new version is having difficulty on Chrome. The issues occur for all of my staff in several different countries. Here is the issue: On Chrome browser: Go to Products page Make selections Add to cart Go to Cart via menu item (Cart Display menu item type - public acl) Delete item from cart (using trash icon) You can do this a few times with no issue. Then Go to admin Log in to backend Go to front of site Go to products (we tested always using the same product and selections) Make selections Add to Cart Cart module at top of site still shows that the cart is empty even though the popup message says that the item has been added. Try to go to cart Some attempts to go to the cart will bounce you back to the product page like a redirect, other attempts bounce to the login suggesting permissions issue . This issue exists only within Chrome. If we log out of admin and try to go through the original steps again the issue persists. Suggesting something is caching or carrying over from the session. Please advise.")* was created by *[donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")*

-- HikaShop version -- : 4.4.2 [2105201232]
-- Joomla version -- : 3.9.26
-- PHP version -- : 7.4.16
-- Browser(s) name and version -- : Chrome 91.0.4472.77 (Official Build) (64-bit)

We are in the process of setting up Hika on a new site that we are building. We have experience with Hika and have been using it on various client's sites for about 10 years, so we are familiar with it. The new version is having difficulty on Chrome. The issues occur for all of my staff in several different countries. Here is the issue:
On Chrome browser:
Go to Products page
Make selections
Add to cart
Go to Cart via menu item (Cart Display menu item type - public acl)
Delete item from cart (using trash icon)
You can do this a few times with no issue.
Then
Go to admin
Log in to backend
Go to front of site
Go to products (we tested always using the same product and selections)
Make selections
Add to Cart
Cart module at top of site still shows that the cart is empty even though the popup message says that the item has been added.
Try to go to cart
Some attempts to go to the cart will bounce you back to the product page like a redirect, other attempts bounce to the login suggesting permissions issue .
This issue exists only within Chrome.
If we log out of admin and try to go through the original steps again the issue persists. Suggesting something is caching or carrying over from the session.
Please advise.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0LzkwMjY2Ni1jaHJvbWUtc2Vzc2lvbnMtaXNzdWUtb24tY2FydD90bXBsPW1hcmtkb3du) 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: 86358
- Thank you received: 14293
-
-

5 years 5 months ago [\#332993](#332993) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Chrome sessions issue on cart](/forum/27-checkout/902666-chrome-sessions-issue-on-cart#332993 "-- HikaShop version -- : 4.4.2 &#91;2105201232&#93; -- Joomla version -- : 3.9.26 -- PHP version -- : 7.4.16 -- Browser(s) name and version -- : Chrome 91.0.4472.77 (Official Build) (64-bit)  We are in the process of setting up Hika on a new site that we are building. We have experience with Hika and have been using it on various client's sites for about 10 years, so we are familiar with it. The new version is having difficulty on Chrome. The issues occur for all of my staff in several different countries. Here is the issue: On Chrome browser: Go to Products page Make selections Add to cart Go to Cart via menu item (Cart Display menu item type - public acl) Delete item from cart (using trash icon) You can do this a few times with no issue. Then Go to admin Log in to backend Go to front of site Go to products (we tested always using the same product and selections) Make selections Add to Cart Cart module at top of site still shows that the cart is empty even though the popup message says that the item has been added. Try to go to cart Some attempts to go to the cart will bounce you back to the product page like a redirect, other attempts bounce to the login suggesting permissions issue . This issue exists only within Chrome. If we log out of admin and try to go through the original steps again the issue persists. Suggesting something is caching or carrying over from the session. Please advise.")*

Hi,

First, there are several javascript errors on your pages:
[ i.imgur.com/l0rwqhB.png](https://i.imgur.com/l0rwqhB.png)
This might lead to HikaShop's javascript not being initialized and then not working properly in some cases.
If I look at the lines pointed by these errors, they seem to come from the template/menu system you're using.

If the cart module is not being refreshed after an add to cart but that the notification popup works, this normally means that the add to cart worked, but either:
- the cart module's javascript didn't register to the add to cart system to refresh itself after the add to cart is done. This possibility could be checked by looking at the xhr requests in the network tab of the developer tools of the browser. if there is a request for the cart module to be refreshed, but that it returns an empty cart, then it means that it is not this possibility as the javascript is working fine. If you don't see the request for the cart module refresh, then that would indicate a problem on the server side, not the javascript.
- the user session was lost at the end of the add to cart AJAX request, so that when the AJAX request is done on the server side, the system doesn't see the cart anymore and thus it still displays an empty cart. That would also explain why the cart menu redirects you back to the products or the login form (based on the situation it will either think that the cart is not available because it is empty and thus will direct to the products listing, or it will think that the cart is not available because it is linked to a user account and the customer needs to login to access it).

I looked a bit at the situation with Chrome on my end, but I wasn't able to reproduce the issue. I suppose it's because I can't do the step "Go to admin &gt; Log in to backend" since I don't have such an access on your website.
Did you check the issue on other browsers ?

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

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

Less More

- Posts: 38
- Thank you received: 2
-
-

5 years 5 months ago [\#333000](#333000) by [donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")  Replied by *[donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")* on topic *[Chrome sessions issue on cart](/forum/27-checkout/902666-chrome-sessions-issue-on-cart#333000 "-- HikaShop version -- : 4.4.2 &#91;2105201232&#93; -- Joomla version -- : 3.9.26 -- PHP version -- : 7.4.16 -- Browser(s) name and version -- : Chrome 91.0.4472.77 (Official Build) (64-bit)  We are in the process of setting up Hika on a new site that we are building. We have experience with Hika and have been using it on various client's sites for about 10 years, so we are familiar with it. The new version is having difficulty on Chrome. The issues occur for all of my staff in several different countries. Here is the issue: On Chrome browser: Go to Products page Make selections Add to cart Go to Cart via menu item (Cart Display menu item type - public acl) Delete item from cart (using trash icon) You can do this a few times with no issue. Then Go to admin Log in to backend Go to front of site Go to products (we tested always using the same product and selections) Make selections Add to Cart Cart module at top of site still shows that the cart is empty even though the popup message says that the item has been added. Try to go to cart Some attempts to go to the cart will bounce you back to the product page like a redirect, other attempts bounce to the login suggesting permissions issue . This issue exists only within Chrome. If we log out of admin and try to go through the original steps again the issue persists. Suggesting something is caching or carrying over from the session. Please advise.")*

Yes, I checked on Firefox and it works fine. The issue persists for all my staff members on Chrome. Template is protostar, menu is Joomla basic core. I will check to make sure that there isn't a scripting issue with the template. The only third party piece used on the site besides Hika is SP PageBuilder, will check for a possible conflict there as well and will report back.

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

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

Less More

- Posts: 38
- Thank you received: 2
-
-

5 years 5 months ago [\#333002](#333002) by [donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")  Replied by *[donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")* on topic *[Chrome sessions issue on cart](/forum/27-checkout/902666-chrome-sessions-issue-on-cart#333002 "-- HikaShop version -- : 4.4.2 &#91;2105201232&#93; -- Joomla version -- : 3.9.26 -- PHP version -- : 7.4.16 -- Browser(s) name and version -- : Chrome 91.0.4472.77 (Official Build) (64-bit)  We are in the process of setting up Hika on a new site that we are building. We have experience with Hika and have been using it on various client's sites for about 10 years, so we are familiar with it. The new version is having difficulty on Chrome. The issues occur for all of my staff in several different countries. Here is the issue: On Chrome browser: Go to Products page Make selections Add to cart Go to Cart via menu item (Cart Display menu item type - public acl) Delete item from cart (using trash icon) You can do this a few times with no issue. Then Go to admin Log in to backend Go to front of site Go to products (we tested always using the same product and selections) Make selections Add to Cart Cart module at top of site still shows that the cart is empty even though the popup message says that the item has been added. Try to go to cart Some attempts to go to the cart will bounce you back to the product page like a redirect, other attempts bounce to the login suggesting permissions issue . This issue exists only within Chrome. If we log out of admin and try to go through the original steps again the issue persists. Suggesting something is caching or carrying over from the session. Please advise.")*

We have cleared all errors reported in dev tools and within Joomla's error reporting but the issue persists. We ran an xhr test in both chrome dev and firefox and both results were the same (see attached). However, firefox showed the item in the cart and Chrome did not. FF allows us to go to the checkout, chrome redirects to the product page. I feel like the user session is being lost. Any ideas of why that would happen in chrome? Is there a way that I can send a super user login to you privately so that you could help us determine why this is happening.

- [ ![2021-05-28&#95;15-28-13.jpg](/forum/attachment/52822) ](/forum/attachment/52822 "...8&#95;15-28-13.jpg") [ ](/forum/attachment/52822?download=1 "...8&#95;15-28-13.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0LzkwMjY2Ni1jaHJvbWUtc2Vzc2lvbnMtaXNzdWUtb24tY2FydD90bXBsPW1hcmtkb3du) 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: 86358
- Thank you received: 14293
-
-

5 years 5 months ago [\#333024](#333024) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Chrome sessions issue on cart](/forum/27-checkout/902666-chrome-sessions-issue-on-cart#333024 "-- HikaShop version -- : 4.4.2 &#91;2105201232&#93; -- Joomla version -- : 3.9.26 -- PHP version -- : 7.4.16 -- Browser(s) name and version -- : Chrome 91.0.4472.77 (Official Build) (64-bit)  We are in the process of setting up Hika on a new site that we are building. We have experience with Hika and have been using it on various client's sites for about 10 years, so we are familiar with it. The new version is having difficulty on Chrome. The issues occur for all of my staff in several different countries. Here is the issue: On Chrome browser: Go to Products page Make selections Add to cart Go to Cart via menu item (Cart Display menu item type - public acl) Delete item from cart (using trash icon) You can do this a few times with no issue. Then Go to admin Log in to backend Go to front of site Go to products (we tested always using the same product and selections) Make selections Add to Cart Cart module at top of site still shows that the cart is empty even though the popup message says that the item has been added. Try to go to cart Some attempts to go to the cart will bounce you back to the product page like a redirect, other attempts bounce to the login suggesting permissions issue . This issue exists only within Chrome. If we log out of admin and try to go through the original steps again the issue persists. Suggesting something is caching or carrying over from the session. Please advise.")*

Hi,

One thing I can think of would be a plugin which synchronizes the backend and frontend user session, or that you have activated the "Shared Sessions" setting of the joomla configuration.
In that case, when you login in the backend, it's normal that it wipes out the frontend user session with the cart. And maybe there is a bug between this mechanism and the cookies handling on Chrome (or a Chrome extension that you all have installed).
So I would recommend to check on that.
If that doesn't help, you can provide a backend access via our contact form along with a link to this thread so that we can try to reproduce the issue on your website and check your backend settings:
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)
Maybe that would allow us to figure something out.

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

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

Less More

- Posts: 38
- Thank you received: 2
-
-

5 years 5 months ago [\#333077](#333077) by [donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")  Replied by *[donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")* on topic *[Chrome sessions issue on cart](/forum/27-checkout/902666-chrome-sessions-issue-on-cart#333077 "-- HikaShop version -- : 4.4.2 &#91;2105201232&#93; -- Joomla version -- : 3.9.26 -- PHP version -- : 7.4.16 -- Browser(s) name and version -- : Chrome 91.0.4472.77 (Official Build) (64-bit)  We are in the process of setting up Hika on a new site that we are building. We have experience with Hika and have been using it on various client's sites for about 10 years, so we are familiar with it. The new version is having difficulty on Chrome. The issues occur for all of my staff in several different countries. Here is the issue: On Chrome browser: Go to Products page Make selections Add to cart Go to Cart via menu item (Cart Display menu item type - public acl) Delete item from cart (using trash icon) You can do this a few times with no issue. Then Go to admin Log in to backend Go to front of site Go to products (we tested always using the same product and selections) Make selections Add to Cart Cart module at top of site still shows that the cart is empty even though the popup message says that the item has been added. Try to go to cart Some attempts to go to the cart will bounce you back to the product page like a redirect, other attempts bounce to the login suggesting permissions issue . This issue exists only within Chrome. If we log out of admin and try to go through the original steps again the issue persists. Suggesting something is caching or carrying over from the session. Please advise.")*

We do use SP Pagebuilder and I think it does have some of that functionality. So, we uninstalled and re-installed SP Pagebuilder and the problem has disappeared. Thank you for your help solving this.

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

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

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