Support » Fixing WordPress » Add to Cart in wooCommerce just relode page and the cart is still empty

  • Resolved workingminds

    (@workingminds)


    When I click on “add to cart” in the product page nothing happens. It just reloads the page but no item is added to the cart.

    When I´m logged in as administrator it works fine.
    The cart also works if I click on “Add to cart” in the product listing overview.
    if i do the paypal-checkout it also works.

    I installed some plugins
    – avada theme
    – german market plugin
    – facebook for woocommerce
    – paypal checkout
    – stripe gateway

    I tried to
    – disabled all plugins
    – tried another theme
    – disabled nginx-cache
    – cleard / deactivated cache
    – tried different browsers
    – tried on mobile devices
    – deactivated Ajax in woocommerce product settings

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steve Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    I recommend asking at https://wordpress.org/support/plugin/woocommerce/#new-post so the plugin’s developers and support community can help you with this.

    Thread Starter workingminds

    (@workingminds)

    I found the solution.

    I´m running this site on a plesk-controlled webserver running nginx.
    If the wordpress-permalinks are activated you have to do the following steps:

    – disable proxy settings for nginx in the plesk-domain-administration
    – disable nginx cache
    – add the following code to the nginx configuration:

    if (!-e $request_filename){
    	rewrite ^(.*)$ /index.php break;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add to Cart in wooCommerce just relode page and the cart is still empty’ is closed to new replies.