- Posts: 234
- Thank you received: 4
Items being dropped from shopping cart
13 years 3 months ago #117029
by mad-q
Items being dropped from shopping cart was created by mad-q
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
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.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 3 months ago - 13 years 3 months ago #117044
by Mohamed Thelji
Replied by Mohamed Thelji on topic Items being dropped from shopping cart
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
.
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: 13 years 3 months ago by Mohamed Thelji.
Please Log in or Create an account to join the conversation.
13 years 3 months ago #117055
by mad-q
Replied by mad-q on topic Items being dropped from shopping cart
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
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.
13 years 3 months ago #117218
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Items being dropped from shopping cart
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,
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.
Please Log in or Create an account to join the conversation.
13 years 3 months ago #117258
by mad-q
Replied by mad-q on topic Items being dropped from shopping cart
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
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.
13 years 3 months ago #117339
by Xavier
Replied by Xavier on topic Items being dropped from shopping cart
Hi,
Thanks to give us a link to a product page in order to see from where the problem can come.
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.
13 years 3 months ago #117348
by mad-q
Replied by mad-q on topic Items being dropped from shopping cart
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
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.
13 years 3 months ago #117531
by Xavier
Replied by Xavier on topic Items being dropped from shopping cart
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" ?
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.
13 years 3 months ago #117653
by mad-q
Replied by mad-q on topic Items being dropped from shopping cart
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
Iain
Please Log in or Create an account to join the conversation.
13 years 3 months ago #117865
by Xavier
Replied by Xavier on topic Items being dropped from shopping cart
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".
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.
13 years 3 months ago #117919
by mad-q
Replied by mad-q on topic Items being dropped from shopping cart
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
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.
13 years 3 months ago #118069
by nicolas
Replied by nicolas on topic Items being dropped from shopping cart
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:
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:
Code:
< 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.105 seconds