WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Problem when adding "Remove item" on Content product page (3 posts)

  1. metallicamu
    Member
    Posted 11 months ago #

    Hi,
    I tried to add the "Remove item" on Content product page buy using this code on content_product.php

    echo apply_filters( 'woocommerce_cart_item_remove_link', sprintf('<a href="%s" class="remove" title="%s">&times;</a>', esc_url( $woocommerce->cart->get_remove_url( $cart_item_key ) ), __( 'Remove this item', 'woocommerce' ) ), $cart_item_key );

    But there is a problem like that: It will display as many "Remove item" as product on Cart beside the "Add to cart" button.
    Can someone help me?
    Thank you so much.

    http://wordpress.org/plugins/woocommerce/

  2. metallicamu
    Member
    Posted 11 months ago #

    Noone can help me?

  3. Willem-Siebe
    Member
    Posted 5 months ago #

    Hi,

    I tried to use that filter as well without succes, do you managed to get it working for you?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.