Items being dropped from shopping cart

  • Posts: 234
  • Thank you received: 4
11 years 10 months ago #117029

Hello

I have a problem that when I add an item to the shopping cart it will display it on the mini cart but when you click on "continue shopping" it drops the item out again. If you do get some items into the cart the number shown in the mini cart will vary as you move round the shop even when not adding an item to the cart. It is as though the cart is remembering some items and then forgetting them again.

Any help would be great since I just don't know where to start.

Thanks
Iain Gwynn
www.draganfly.co.uk

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

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #117044

Hi,

I tested it through your website, and it's working when you are in some URL, but when you add an item to your cart and you click on the "home" link of your breadcrumb it breaks your website.
What kind of breadcrumb module are you using ?

Note that this is an Hikashop issue and not Hikaserial :).

Last edit: 11 years 10 months ago by Mohamed Thelji.

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

  • Posts: 234
  • Thank you received: 4
11 years 10 months ago #117055

Hello

Thank you for the swift reply, I have turned off the breadcrumbs (Breadcrumbs advanced is the module name) It hasn't made a difference. Items drop out even when clicking back or even on the menu.

Yours
Iain

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

  • Posts: 26251
  • Thank you received: 4039
  • MODERATOR
11 years 10 months ago #117218

Hi,

I think you have some cache activated.
The cache store the complete page in order to give it faster the next time someone ask for it. It store the full page, including the cart. So we can't do anything because our component is not called at all to display the cart.

You have to turn of your Joomla cache (in the configuration AND the system cache plugin AND other cache extension/component).

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 234
  • Thank you received: 4
11 years 10 months ago #117258

Hello,

Thank you for that. I have turned both the Joomla System cache plugin and also the Configuration cache off and there is still a problem.

Yours
Iain

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

  • Posts: 13201
  • Thank you received: 2322
11 years 10 months ago #117339

Hi,

Thanks to give us a link to a product page in order to see from where the problem can come.

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

  • Posts: 234
  • Thank you received: 4
11 years 10 months ago #117348

It is any product and the web address is www.draganfly.co.uk

here is a product for you.

draganfly.co.uk/index.php/accessories-a-misc/product/5039-

Many thanks
Iain

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

  • Posts: 13201
  • Thank you received: 2322
11 years 10 months ago #117531

Hi,

I tried on the given product, and the product is added in the mini cart and stay in the mini cart, but when clicking on "Continue shopping" nothing happen, have you edited the view "checkout / notice" ?

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

  • Posts: 234
  • Thank you received: 4
11 years 9 months ago #117653

It should go back, if you opened it in a new tab then it can't go back as that is the first page. If you browse the site and then add to cart, it will navigate back a page.

Iain

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #117865

Hi,

I tried your website again, and it seems to be working like a charm.
I have added a product to the cart, then pressed "continue shopping", the item stayed in the cart and I go back to the previous page correctly.

It's possible that the way you are redirecting to the previous page influence the shopping cart, if you use a javascript.history.back it will go in the history of your browser and load a cart not updated, the best way is to save the url in session, and then redirect to this url when clicking on "continue shopping".

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

  • Posts: 234
  • Thank you received: 4
11 years 9 months ago #117919

Hello Xavier

I know, I have no idea how or why. I haven't done anything to the site. The continue shopping button is something that you guys helped me out in the past over and has been working fine. I recently installed an extra search form but couldn't see how this would make a difference.

How do I make the changes that you suggest?

Many thanks
Iain

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
11 years 9 months ago #118069

Hi,

I don't know what change you made but you can add such code if you want to add a back to previous page without the issue of the caching of the browser:

< a href="#" onclick="window.location='<?php $_SERVER['HTTP_REFERER']; ?>';return false;">Continue shopping</a>

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

Time to create page: 0.093 seconds
Powered by Kunena Forum