I added product thumbail on cart with this

function getCartItemThumbnail( $img, $cart_item ) {

    if ( isset( $cart_item['image'] ) ) {
        return '<img src="' . $cart_item['image'] . '" />';
    return $img;

add_filter( 'woocommerce_cart_item_thumbnail', 'getCartItemThumbnail', 11, 3 );

It's works fine.(attach 1) After the purchase i can't find that image on orders list, how to added the same image into order list ? i can't added the same image into orders list on backend. (attach 2)

Can anyone help me ?

Thanks Attach1 Attach2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.