Support » Plugin: Empty Cart Button for WooCommerce » Error 404 at cart button

  • thank you for your plugin.

    Automatic ‘Empty Cart’ button on cart page redirect to:
    “../carrito&empty-cart=clearcart” and get a 404 error,
    but the tag [wec_button] redirect to:
    “..//carrito?empty-cart=clearcart” and works fine…

    Thank you

Viewing 1 replies (of 1 total)
  • I got the same issue as this, I see the problem is in detecting the URL parameter. What I did:

    in “woo-empty-cart-button.php” file, replace:

    if ( empty( $_GET ) ) {

    with:

    if ( $_SERVER["QUERY_STRING"] == null ) {

    And it detects the parameter correctly.

Viewing 1 replies (of 1 total)
  • The topic ‘Error 404 at cart button’ is closed to new replies.