• Resolved Matt Knowles

    (@aestheticdesign)


    In previous versions of the email.order.items.php template I was able to suppress the extra lines that showed the variants. They’re already included in the item description so the client wants to get rid of them to make the order list easier to read.

    In the new version 9.8.0 I can’t figure out where to make the change I made in earlier versions.

    Current display:

    Product A, Small Red X 2 = $50.00

    Product A Variation X 1 = $20.00

    – Color: Red – Size: Small

    Product B X 2 = $50.00

    Product B 1, Small Red X 1 = $20.00

    – Color: Red – Size: Small

    Desired display:

    Product A, Small Red X 2 = $50.00
    Product B, Small Red X 2 = $50.00

    Can someone provide the lines in the code that control the extra variable line?

    I saw that there was a bug report filed for this back in 2022 but didn’t understand the work around and I’m not sure if it even applies to the 9.8.0 version of the template.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @aestheticdesign,

    Thanks for reaching out!

    I can see how having a cleaner order email layout would be helpful for your client. The additional variation lines are part of how WooCommerce currently structures the email-order-items.php template, and customizing or removing those details would require editing the template file directly.

    Since custom code changes like this fall outside our support scope, we recommend consulting a developer for tailored assistance. Alternatively, you’re welcome to ask in our WooCommerce Community Slack where many developers and store builders hang out and share solutions.

    Plugin Support Kay U a11n

    (@kingsleyinfo)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved.

    If you have a few minutes, we’d love if you could leave us a review: https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Customizing Admin New Order Email’ is closed to new replies.