• Hello, the remove item link is not the at all. The string exists in the php file, but nothing appears on the cart..

    This is the string that should exist in the mini-cart.php

    <?php echo apply_filters( 'woocommerce_cart_item_remove_link', sprintf('<a href="%s" class="remove" title="%s" data-product_id="%s" data-product_sku="%s">&times;</a>', esc_url( WC()->cart->get_remove_url( $cart_item_key ) ), __( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key ); ?>

    What could be the problem..?

    https://www.ads-software.com/plugins/woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    Have you used your browser dom inspector to see if the element is there, but hidden?

    Thread Starter ownya

    (@ownya)

    I guess it is from my theme Avada, Mike. It’s still not working on test environment with only woo and the theme… I don’t know if that is but, I am out of ideas…

    jessepearson

    (@jessepearson)

    Automattic Happiness Engineer

    It sounds like it is the theme. If you switch to TwentySixteen in your test environment, and it appears, it’s the theme. If that’s the case, you will need to contact the theme developer for assistance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘mini-cart.php The mini cart doesn't show remove item "x"’ is closed to new replies.