Add Featured Image to Woocommerce Checkout

Home Forums Ticket Products Event Tickets Plus Add Featured Image to Woocommerce Checkout

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1191539
    Mike
    Participant

    It is possible to add a PRODUCTS image to the Woocommerce Checkout by adding this code into the /your_theme/woocommerce/checkout/review-order.php page:

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

    However, I want to add the FEATURED image from the Event, instead. Is there a comparable code/hook I use for this?

    Thanks!

    #1192068
    Cliff
    Member

    Hi Mike.

    This is very similar to your previous question.

    That line of code doesn’t look like the current version of WooCommerce. These are the templates displaying the thumbnail that you’d probably want customized:

    Other than filtering all those, it might be easier and more robust a solution to programatically set the ticket’s/product’s featured image to the same as the event’s featured image.

    You might want to add your vote to this existing feature request: https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/9581943-add-featured-ticket-header-image-as-woocommerce

    This allows us to gauge interest in this particular feature request, which helps us prioritize our development efforts.

    Thank you.

     

    #1192101
    Mike
    Participant

    Sorry for the double up. I was working on so many different aspects I forgot I already posted. LOL!

    I am working on a fix now, please leave the thread open so I can post my “how to” for other users, if I figure it out.

    #1192185
    Cliff
    Member

    Sounds great. I’ll close that other thread.

    Please note that threads get Closed automatically after a couple weeks of inactivity. If it does get Closed, please open a new thread, adding your current problem description and also linking back to this thread.

    Thank you!

    #1202094
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Add Featured Image to Woocommerce Checkout’ is closed to new replies.