We have a few clients who have plain text order notification emails. Currently there is no token that contains a suitable representation of the line items to include in a plain text email.

We're currently working around this by implementing our own tokens - see https://github.com/leewillis77/commerce_plaintext_order_summary

I'm opening this issue to see if something similar could be implemented into the core Commerce Line Item module, or if this would be better kept as a standalone module (In which case I'll look at moving it over to d.o).

Comments

berenddeboer’s picture

Status: Active » Reviewed & tested by the community

This module works perfectly. I suggest this gets turned into a real module.

rszrama’s picture

Status: Reviewed & tested by the community » Active

Not sure how I missed this before, but I'd be happy to see these tokens get added to Commerce and Commerce Shipping respectively. Going to set this to Active b/c we'll need a patch derived from that module that actually applies to Commerce itself.

leewillis77’s picture

Thanks for the comments both.

I'm no longer working with Drupal on a regular basis, so I won't have the time to turn this into a patch, or to move the module across to d.o.

Of course, anyone willing to do so is free to take the code posted here as the basis for that!

rszrama’s picture

Thanks for the update, Lee! Will see what I can do to get it in / credit you for the Commerce 1.15 release. : )