Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David Peck 615 posts 1646 karma points c-trib
    Sep 17, 2014 @ 18:55
    David Peck
    0

    Email template containing order details

    When a user complete's an order we'd like to send them an email. This appears to be straightforward to do through Merchello, but I'd like the confirmation email to include details of their order. Are there some placeholders that you can add to the email template to identify where the order details should be injected?

    I apologise if this is well documented, however I can't find anything on this. However someone must have run in to this before.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Sep 20, 2014 @ 16:53
    Rusty Swayne
    0

    Hey David - No, this is not well documented at all. The good news is we now have someone completed devoted to documentation so over the next few months you should things in that arena flush out nicely =)

    The order confirmation that we have setup has the following

      {{BillToName}}
      <p><b>Your address</b><br />
      {{BillToAddress1}}<br />
      {{BillToAddress2}}<br />
      {{BillToLocality}}, {{BillToRegion}} {{BillToPostalCode}}</p>
      <p>Email : {{BillToEmail}}<br />
      Phone : {{BillToPhone}}</p>
      <p>Invoice Number : {{InvoiceNumber}}</p>
      <p><b>Items Purchased:</b></p>
      <table>
      {{IterationStart[Invoice.Items]}}
      <tr>
      <td>{{Item.Name}}</td>
      <td>{{Item.Sku}}</td>
      <td>{{Item.UnitPrice}}</td>
      <td>{{Item.Quantity}}</td> 
      <td>{{Item.TotalPrice}}</td>
      </tr>
      {{IterationEnd[Invoice.Items]}}
      </table>   
      <p>Thanks for the order.</p>
    

    I've been thinking about adding an event that could be subscribed to that would allow people to more easily inject their own patterns - but need to think it through a bit further.

    Rusty

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies