{"id":17089878,"date":"2023-09-30T07:54:10","date_gmt":"2023-09-30T07:54:10","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=topic&#038;p=17089878"},"modified":"2023-09-30T12:08:39","modified_gmt":"2023-09-30T12:08:39","slug":"the-woocommerce-mini-cart-is-always-empty-and-does-not-update-when-litespeed-is","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/the-woocommerce-mini-cart-is-always-empty-and-does-not-update-when-litespeed-is\/","title":{"rendered":"The woocommerce mini cart is always empty and does not update when Litespeed is"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi, my website shows a problem on the woocommerce mini cart.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The mini cart is inserted via the woocommerce cart menu widget in the site header.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the Litespeed Cache plugin is activated, the mini cart always appears empty and even if you add products to the cart it does not update.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While if I deactivate the plugin, everything works correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I leave you the link to my site to verify the error: <a href=\"https:\/\/theanimalshop.it\/\">https:\/\/theanimalshop.it\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To replicate the problem, just go to a product page (for example this one: <a href=\"https:\/\/theanimalshop.it\/trasportino-per-gatti-pratiko\/\">https:\/\/theanimalshop.it\/trasportino-per-gatti-pratiko\/<\/a>) and add the product to the cart. At this point, if you click the mini cart icon, it will be empty.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The problem occurs both with a logged in user and as a guest.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/ibb.co\/t3nCCWs\" alt=\"\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The report sending code is:<br \/>Report number: EYVONZMW<br \/>Report date: 09\/30\/2023 07:43:22<\/p>\n","protected":false},"template":"","class_list":["post-17089878","topic","type-topic","status-publish","hentry","topic-tag-cart","topic-tag-checkout","topic-tag-empty","topic-tag-minicart","topic-tag-not-found"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17089878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17089878\/revisions"}],"predecessor-version":[{"id":17090178,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17089878\/revisions\/17090178"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17089878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}