WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. achsanos
    Member
    Posted 6 months 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?

    https://wordpress.org/plugins/woocommerce/

  2. daileycon
    Member
    Posted 6 months ago #

    This would be neat! Good idea.

  3. j0schi
    Member
    Posted 5 months 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

Reply

You must log in to post.

About this Plugin

About this Topic