Home Forums Plugins WooCommerce Abandoned Cart Recovery get produt image from the cart instead from the product

get produt image from the cart instead from the product

  • Author
    Posts
  • #46524

    Hi!

    Some plugins add changes on product image when is added to the cart.

    Please, can you get the image from woocommerce cart?

    http://hookr.io/filters/woocommerce_cart_item_thumbnail/

    This it the method used by the cart.php (woocommerce file that manage the cart):

    $thumbnail = apply_filters( ‘woocommerce_cart_item_thumbnail’, $_product->get_image(), $cart_item, $cart_item_key );

    Thank you!

You must be logged in to see replies to this topic. Click here to login or register