- Posts: 30
- Thank you received: 0
After deleting from the cart it will not add again
- nathankeenmelb
-
Topic Author
- Offline
-- Joomla version -- : 3.3.3
Hi,
One one of my products (the book), if I add it to the cart, then delete it from the cart, I cannot add it again.
It simply returns to the same page (rather than going to the checkout), or, if I have another 'product' - my 'donation' - in the checkout it goes to the checkout shopping cart but does not add the book again.
If I then add two books, it will add two books, though it will not automatically go to the shopping cart. But if I delete that, it will not let me add two books from that point either.
The donation does not behave in this way, and works fine.
I'll send you admin details via the contact page.
Please Log in or Create an account to join the conversation.
Thanks to give us your HikaShop version number, a valid one
Do you have any cache enabled ? If it is, thanks to disable it in the Joomla settings, plugin, etc.
Cache is not compatible with ecommerce systems, as it's fully dynamic content.
Please Log in or Create an account to join the conversation.
- nathankeenmelb
-
Topic Author
- Offline
- Posts: 30
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Thanks to give us your HikaShop version number, a valid one
Do you have edited any views related on the cart ?
Please Log in or Create an account to join the conversation.
- nathankeenmelb
-
Topic Author
- Offline
- Posts: 30
- Thank you received: 0
Edited views - I'm afraid if I answer this, you'll simply next ask, what customisations? This is what I have given you access to my admin for. I don't know what it is you are looking for.
All the views under 'cart' have not been edited; in the view 'checkout', the cart files have not been edited; but under the view 'product', the cart file had been edited. I don't know what change was made there. I removed it, but this did not solve the problem.
Please Log in or Create an account to join the conversation.
The access you gave are not working. I am not able to see your front-end with the credentials I got.
That's why Xavier asked you for some information about the HikaShop version number (HikaShop 3.0.2 does not exists)
And about the view override ; you can see them in the "Display > View" panel.
www.hikashop.com/support/support/documen...-display.html#layout
But the question was also in order to know if you have modified manually a file.
More than the file modification, if we can't know which HikaShop version you are using, it will be difficult to know if the problem you got is known, solved, etc.
So please, provide us some useful information about your website and your configuration.
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.
- nathankeenmelb
-
Topic Author
- Offline
- Posts: 30
- Thank you received: 0
I will re-send front-end and back-end details.
Please Log in or Create an account to join the conversation.
Thanks for your version number.
For your security, please update HikaShop to the 2.3.3 version ; we made a security first two days ago.
www.hikashop.com/support/support/documen...ashop-changelog.html
www.hikashop.com/index.php?option=com_co...&view=article&id=269
The version number is also displayed in the HikaShop footer and is accessible in the HikaShop configuration (first tab, at the bottom).
I will improve the way it is displayed for the next release (it is displaying the internal version number ; I will also display the public one).
The problem you got is that, your server or a plugin is adding specific header for the "updatecart" hikashop link, so when you try to add the same product with the same quantity, the browser to not call the page, it use it from his cache.
If you change the quantity, you can add the product once again..
What I can recommend you and I can't tell you that it will work at 100% ; is to edit the HikaShop product controller.
File : components/com_hikashop/controllers/product.php
Replace
So removing the feature that force the browser to cache all pages will be a better solution.
But we can't help you for that.
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.
- nathankeenmelb
-
Topic Author
- Offline
- Posts: 30
- Thank you received: 0
Please Log in or Create an account to join the conversation.
I was having what appears to be the same problem.
When I added an item it worked fine.
If I deleted an item, and try to add it again I get the "the Cart is Empty" notice.
If I purchase an item - and go through the checkout completely, then come back for a new transaction and try to purchase it again, it gives me the 'cart is empty' notice.
This appeared to only be happening on products where I had set the 'Maximum quantity per order' to "1".
NOTE: I thought It also strange that this appears to have just started happening after a server upgrade to PHP 5.4.33
No other changes had been made to site.
I disabled all caching, disabled my CDN, which were all installed and working fine prior to the PHP upgrade. (per instructions here and in other tickets)
Still didn't work.
I removed all htaccess speed optimization directives (which again were installed and working prior to the PHP 5.4.33 upgrade).
Once I disabled the speed optimization it stated to work again.
I then re-endabled the caching (memcache) and CDN (cloudflare) and all is working properly now.
SO ... I would recommend looking at any speed optimization directives you have in your htaccess file first when trying to track down this sort of issue.
I find it strange that you (HS) are saying that we MUST disable all caching and CDN from the entire site. This just isn't a functional solution for large sites - esp. those that have lots of content that we use HS to sell access to the content. We need the CDN and caching to make the content areas of the site work properly.
Also, I know that for Joomla modules you can specifically disable caching for their contents, so I would think that you could do that for entire component (as long as the caching was properly integrated/configured within Joomla).
In addition, based on testing here, it appears that it does work properly to use caching and CDN (if you have them set-up properly).
Please Log in or Create an account to join the conversation.
- nathankeenmelb
-
Topic Author
- Offline
- Posts: 30
- Thank you received: 0
For this IE issue, we forced htm / html documents to reload, with htaccess directives set to 1 second.
I have discovered that the following htaccess directives work, allowing most things to be sped up:
Please Log in or Create an account to join the conversation.
We are not saying that you MUST disable all caching and CDN from your website in order to use HikaShop.
What we are saying is that such issues come from optimization systems like caching/CDN, etc which are not configured/integrated to work well with the cart system. And so, if you're experiencing issues with the cart, then it's highly likely that the issue comes from something related to the caching/CDN/etc on your website/web server and that's where you should look.
Please Log in or Create an account to join the conversation.
Thanks for clearing that up.
Of course, now something else on the cart broke!
[I think our HS has been down more than up lately ... although the blame doesn't go on HS - most likely server configs I'm guessing.]
Please Log in or Create an account to join the conversation.