Adding product images to the WooCommerce checkout page orders helps to enhance the customer experience by providing visual confirmation of the products they are about to purchase.
add_filter( 'woocommerce_cart_item_name', 'ts_product_image_review_order_checkout', 9999, 3 ); function ts_product_image_review_order_checkout( $name, $cart_item, $cart_item_key ) { if ( ! is_checkout() ) return $name; $product = $cart_item['data']; $thumbnail = $product->get_image( array( '50', '50' ), array( 'class' => 'alignleft' ) ); return $thumbnail . $name; }
Output
The following output displays product thumbnails beside the respective cart item names in the order review section on the checkout page.
![](https://www.tychesoftwares.com/wp-content/uploads/2024/01/Display-product-images-on-Checkout-page-1024x1011.png)
The default checkout page doesn’t display product images as shown below.
![](https://www.tychesoftwares.com/wp-content/uploads/2024/01/default-checkout-page-1024x850.png)
Similar to the above customization, you can also display the product image in WooCommerce email notifications. Also, a product link that will act as a call to action is included in the product name.