Woocommerce add-to-cart empty?

When I click on add to cart as guest cart always says “empty”. How to fix that?

Joe Perry Asked on November 27, 2015 in WordPress.
Add Comment
1 Answer(s)
Best answer

When I click on add to cart as guest cart always says “empty”. How to fix that?

You can resolve that either by disabling the ” Enable AJAX add to cart buttons on archives ” from Settings -> Products tab or by adding a simple code in your server configuration file. Look for:

$uri $uri/ /index.php

and add ” ?$args” after the index.php. The code should look like:

$uri $uri/ /index.php?$args

John Rogers Answered on November 27, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.