Request: better e-commerce compatibility
-
Hi,
Even though it is possible to exclude cart/checkout pages (like for Woocommerce is done by default) through the Exclude URLs field, all other pages are still cached even when someone has added something to his/her cart.
The result is that sometimes visitors see items in the cart widget (or header cart section, depending on the theme) that do not belong to them. For instance a new visitor might see the cart thingy in the header say “You have 1 item in your cart” (cached page) but when that visitor then reviews his cart, it will be empty (non-cached page).
To prevent this from happening, Hummingbird should not cache anything when the visitor has (in case of Woocommerce) the “wc_items_in_cart” cookie set. Easy Digital Downloads uses “edd_items_in_cart” and MarketPress would be “mp_items_in_cart”.
I guess other ecommerce plugins have their own version ending with “_items_in_cart” so that might be something to work with to make it listen to more than just one shopping cart plugin?
The topic ‘Request: better e-commerce compatibility’ is closed to new replies.