Closed (works as designed)
Project:
Ubercart
Version:
7.x-3.x-dev
Component:
Catalog
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2012 at 06:25 UTC
Updated:
12 May 2013 at 02:11 UTC
When caching the uc_catalog view, the add-to-cart button won't work and cart isn't updated.
The catalog pages have multiple products.
Turning cache off isn't a option, because then the performance of the catalog is very very slow.
Is their a sollution to get the add-to-cart button to work in a catalog view with caching on?
Comments
Comment #1
tr commentedPlease read and understand the discussion in #723804: Add To Cart in View won't work. Unless something has changed in Views in the intervening time, the status is still the same as described there.
Comment #1.0
tr commentedupdated urls
Comment #1.1
jawi commentedchanged url
Comment #2
philsward commentedSorry to re-open, but I too have noticed this symptom. Without cache, the page takes a good 6-8 seconds to load. With cache, it's around 2-3...
My only conceivable workaround is to get rid of the "add to cart" button and do my best to get people to view the product page so I can enable cache. I have a better chance of conversion with a fast loading page over not having the add to cart button...
Any thoughts on looking into this further? Maybe the button can be excluded from the cache or something?
Comment #3
DanZ commentedReading the linked issues, there isn't a simple solution to this problem. It looks like Drupal isn't meant to deal with cached dynamic forms.
It's just a wild guess, but you might be able to do something with Cart Links.
Comment #4
philsward commented@DanZ yeah, I had the same thought with cart links...
Thx for the response. If it isn't something easy to fix, I guess I'll find a workaround. Just sucks knowing it is a potential conversion killer :-/
Comment #4.0
philsward commentedremoved writing errors