WooCommerce - excelling eCommerce
How to show product image @ checkout page (4 posts)

  1. achsanos
    Posted 1 year ago #

    At the checkout page are listed all the products, quantities and prices previously added to cart. I'm trying to make a function that also place the respectives image thumbs with them, but I'm not getting it. Does anybody could help me?


  2. daileycon
    Posted 1 year ago #

    This would be neat! Good idea.

  3. j0schi
    Posted 1 year ago #

    1. Copy the Template files from woocommerce to your theme
    2. Open up review-order.php
    3. search for

    <tr class="<?php echo esc_attr( apply_filters( 'woocommerce_cart_item_class', 'cart_item', $cart_item, $cart_item_key ) ); ?>">
    							<td class="product-name">

    4. insert the following code

    <?php								$thumbnail = apply_filters( 'woocommerce_in_cart_product_thumbnail', $_product->get_image(), $values, $cart_item_key ); echo $thumbnail;

    did it for my shop: example: http://etensi.de/kasse

  4. boutzamat
    Posted 6 months ago #

    and how do i link back to that product? i want to wrap the provided php in a link tag.. so if you click the image, you will go back to that product?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic