Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
berenddeboer CreditAttribution: berenddeboer commentedThis module works perfectly. I suggest this gets turned into a real module.
Comment #2
rszrama CreditAttribution: rszrama at Centarro commentedNot 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.
Comment #3
leewillis77 CreditAttribution: leewillis77 as a volunteer commentedThanks 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!
Comment #4
rszrama CreditAttribution: rszrama at Centarro commentedThanks for the update, Lee! Will see what I can do to get it in / credit you for the Commerce 1.15 release. : )