admin管理员组

文章数量:1384630

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

本文标签: pluginsHow to add product thumbnail on orders list on backend