Cart shows different content when adding product

  • Posts: 2
  • Thank you received: 0
9 years 6 months ago #232782

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.4.42
-- Browser(s) name and version -- : Chrome 48.0.2564.116

Hi!

When I am trying to add some of my products the cart gets empty.
Products that do not have a specification is no problem they are added correctly to the cart. But some of the products (not all) with a specification on them will empty the cart (or more like starting a new cart).

The interesting part is that the products with specification that is added correctly to the cart, can be used to pull out the old cart when the cart has been empty by an product with specification that is missbehaving.

Let me explain by example:

Adding a pen will result in a cart with a pen.
After that adding a sweater in size large (specification) will result in a cart with a pen and a sweater.
After that adding a t-shirt in size large (specification) will result in a cart with only a t-shirt.
After that adding a pen will result in a cart with a t-shirt and a pen.
After that adding again a sweater in size large (specification) will result in a cart with a pen and 2 sweaters. (Back to the first cart.)
After that adding a t-shirt in size large (specification) will result in a cart with 2 t-shirt and a pen. (Back to second cart again.)
And so on....

What may cause this problem?

Best regards,
Mikael

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

  • Posts: 2
  • Thank you received: 0
9 years 6 months ago #232802

Problem solved!

It was an absolute path on some of the products that caused the problem. When I changed "Canonical URL" under the section SEO on these products to a relative path (e.g. removed

"http://domainname.com/"
) the problem went away. :)

Best regards,
Mikael

Last edit: 9 years 6 months ago by Tybalt.

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

  • Posts: 12953
  • Thank you received: 1778
9 years 6 months ago #232787

Hello Mikael,

it's most likely due to a caching issue. Make sure that there is no cache active on the hosted server, not in Joomla but also not on the server itself.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum