Variables in Mail Template

christina frankola's Avatar

christina frankola

04 Dec, 2013 12:18 AM


When I try to use my Customized email template in payment receipt .
and I use variables listed in this page :

any one of the variable with .[n]. in middle returns error 500 .
e.g. : {$items.[n].name}

Please advise

  1. Support Staff 1 Posted by Marc Guyer on 04 Dec, 2013 02:44 PM

    Marc Guyer's Avatar

    Hi Christina -- Sorry about that error. We're working to improve the reporting for errors like this (invalid variable name). The items variable is a list of items, so you need to reference them with a number (e.g., $items.[0].name is the name of the first item in the list). Alternatively, you can use a loop to reference them one at a time. There's a nice example using the charges list here:

  2. 2 Posted by christina frank... on 05 Dec, 2013 11:02 PM

    christina frankola's Avatar

    From a CUSTOMER’s profile page, I click the CUSTOMER tab and get to this URL:<>
    Where the error message is:
    Not Found
    The requested URL /admin/customers/get/orderBy/name/orderByDirection/asc/perPage/25/page/1/search/Oneims+/+ClickExposure/customer_search_submit_x/19/customer_search_submit_y/18/subscriptionStatus//planCode//createdAfterDate//createdBeforeDate//canceledAfterDate//canceledBeforeDate//transactedAfterDate//transactedBeforeDate//couponCode//searchAgain/1 was not found on this server.

    Please advise asap. I’m just about done with entering my customers and I have this issue.

  3. Marc Guyer closed this discussion on 06 Dec, 2013 02:01 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM