Product not added to cart This action only works when the use of cookies is acc.

  • Posts: 40
  • Thank you received: 2
1 year 6 months ago #351221

-- HikaShop version -- : 4.7.2
-- Joomla version -- : 4.2.9
-- Browser(s) name and version -- : Chrome Android

I've migrated my website from joomla 3 to joomla 4. Everything seems fine, but I'm running into one problem. When I try to add a product to my cart on Chrome for Android I get the following message (I translated it from Dutch to English, so it might be different in English)

"Product not added to cart. This action only works when the use of cookies is accepted."

On Chrome for desktop (windows) it works without any problems.

Last edit: 1 year 6 months ago by Dijkshoorn.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 6 months ago #351227

Hi,

I tried on your website with my smartphone on Android with Chrome and it worked fine too.
Could it be that there is something on your Chrome blocking javascript or cookies or something like that ?
I think it might be an issue limited to your smartphone Chrome settings and not something which can be dealt with on the server side.

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

  • Posts: 40
  • Thank you received: 2
1 year 6 months ago #351307

I'm sorry, I missed your reply.

I think I entered the wrong website, I can't check.. It's on the development site.

Thank you for your quick reply.

Last edit: 1 year 6 months ago by Dijkshoorn.

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
1 year 6 months ago #351312

Hello,

Unfortunately, I process a test with your last provided Url link, and on my android smartphone, and everything works as expected.
We can now only be something on your Chrome blocking javascript or cookies, and so is only on your smartphone?

Regards

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

  • Posts: 40
  • Thank you received: 2
1 year 6 months ago #351325

Thanks for checking. That's strange, it still won't let me add products to my cart on chome for android. I've checked the cookie and java settings on my phone but they seem to be fine (for accepting cookies). On desktop I can add products. I'll continue to look, if you guys have any other ideas I'd gladly hear them.

Edit: I think I found the solution in this thread. I'll see if I can make this work. Seems difficult.
www.hikashop.com/forum/checkout/902071-p...to-cart-cookies.html

Edit 2: When I add https in front of the url everything works fine. This solves the problem.

Last edit: 1 year 6 months ago by Dijkshoorn.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum