Notes in Confirmation Email
  • Is there a simple way to get the "notes" field from the order into the confirmation email?

    I tried
    <v:store:recent_order_items>
    <v:text path="notes" />
    </v:store:recent_order_items>


    but that did not work.

  • 1 Answer sorted by
  • There's no easy way to do this, unforutnately. However, I think this workaround might work:

    In your checkout.php file, do something like:

    <?php
    if ($_REQUEST['notes']) $_SESSION['saved_notes'] = $_REQUEST['notes'];
    ?>


    Then in your email template do something like <?=$_SESSION['saved_notes']?>

    I think that would work.

    Kevin

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

In this Discussion