• Resolved charliexstanford

    (@charliexstanford)


    Hi there,

    Product images don’t appear on Trackship following emails.
    1) Transit
    2) Delivered
    3) Out for delivery

    But images appear on normal woocommerce processing, shipped, and partial shipping emails.

    Maybe because I have edited the default woocommerce email(email-order-details.php) like these –

    echo wc_get_email_order_items( $order, array( // WPCS: XSS ok.
    					'show_sku'      => $sent_to_admin,
    					'show_image'    => true,
    					'image_size'    => array( 100, 100 ),
    					'plain_text'    => $plain_text,
    					'sent_to_admin' => $sent_to_admin,
    				) );

    I tried to edit that code in Trackship’s email as well. ( wcast-email-order-details.php)

    But it didn’t work.

    Tracks emails don’t show product images.

    Please advise

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Zorem

    (@zorem)

    Hi @charliexstanford,

    We checked the TrackShip shipment status emails with changing the “‘show_image’=>true” in the wcast-email-order-details.php template and in the email product images appear. Maybe you are not editing that file properly. You need to change “‘show_image’=>true” at two places in the wcast-email-order-details.php template. We will add a hook or use the default WooCommerce email template for this so you don’t need to edit this file.

    Thanks,

    Thread Starter charliexstanford

    (@charliexstanford)

    Yea. it works now.

    There were two places, similar code that needed to be edited unlike the default woocommerce code which has only one time.

    Thanks for pointing that out. It is working as desired.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to show product images on Trackship emails’ is closed to new replies.