• Resolved mandeelectrical

    (@mandeelectrical)


    i have {{cart.product.table}} in my email to show the products, i have set the display image to true in the email template file, however the image is showing up very large. i have tried to change this but it is not taking effect. Can you help with this please?

    This is how i have the current template, changing the image size doesn’t seem to have any effect

    ` <?php
    echo wc_get_email_order_items( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    $order,
    array(
    ‘show_sku’ => $sent_to_admin,
    ‘show_image’ => true,
    ‘image_size’ => array( 2, 2 ),
    ‘plain_text’ => $plain_text,
    ‘sent_to_admin’ => $sent_to_admin,
    )
    );
    ?>

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘product image showing too large’ is closed to new replies.