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
版权声明:本文标题:plugins - How to add product thumbnail on orders list on backend? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744483307a2608297.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论