Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Avivoo 2 posts 22 karma points
    Oct 29, 2012 @ 15:19
    Avivoo
    0

    Order Confirmation email template

    Hi Everybody

    I am a frontend guy on my first ucommerce project, and I'm about to create my first OrderConfirmation email template.

    Are the anybody who could share their template with so that i have some sort of stating point, for further development. I just need how to get all the relevant infos for the Email Confirmation email.

     

    Thanks in advance!

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 02, 2012 @ 09:50
    Søren Spelling Lund
    0

    uCommerce 3 includes a full Razor store that has all this stuff included.

    It looks like you're on uCommerce 2 so here's what you need to get it going:

    OrderDetails[xslt].xslt has most of what you need, but it does need some modifications to work after the basket is converted to an order as CommerceLibrary:GetBasket() will give you a new basket rather than the old one.

    To make it work you want to load up the newly placed order with CommerceLibrary:GetPurchaseOrder(orderGuid). The e-mail template will be provided with the orderGuid as a querystring parameter so you need to grab that and pass it to GetPurchaseOrder().

    The XML produced by GetBasket() and GetPurchaseOrder() is the same so the template itself will be almost identical.

     

  • Avivoo 2 posts 22 karma points
    Nov 02, 2012 @ 10:13
    Avivoo
    0

    Thank you for the help, Søren!

Please Sign in or register to post replies

Write your reply to:

Draft