Sample Registrants Confirmation email

Created on 18 January 2013, over 12 years ago
Updated 28 February 2025, about 2 months ago

There should be a sample checkout rule included that demonstrates how to send a registration confirmation email to the new anonymous registrants, here is an example export:

{ "rules_send_email_to_all_registrants_example_" : {
    "LABEL" : "Send email to all registrants (example)",
    "PLUGIN" : "reaction rule",
    "ACTIVE" : false,
    "REQUIRES" : [ "rules", "commerce_checkout" ],
    "ON" : [ "commerce_checkout_complete" ],
    "DO" : [
      { "entity_query" : {
          "USING" : {
            "type" : "registration",
            "property" : "order_id",
            "value" : [ "commerce-order:order-id" ]
          },
          "PROVIDE" : { "entity_fetched" : { "entity_fetched" : "Fetched entity" } }
        }
      },
      { "LOOP" : {
          "USING" : { "list" : [ "entity-fetched" ] },
          "ITEM" : { "list_item" : "Current list item" },
          "DO" : [
            { "mail" : {
                "to" : "[list-item:anon-mail]",
                "subject" : "EXAMPLE: Confirmation of Registration",
                "message" : "Dear [list-item:field-adress:first_name] [list-item:field-adress:last_name],\r\n\r\nThank you for your registration. We will keep you informed about the next steps.\r\n\r\nKind regards,\r\nExample Organization\r\n\r\n--\r\n[site:name]\r\n[site:slogan]\r\n[site:url]",
                "from" : "[site:mail]",
                "language" : [ "" ]
              }
            }
          ]
        }
      }
    ]
  }
}
✨ Feature request
Status

Closed: outdated

Version

2.0

Component

Checkout

Created by

πŸ‡©πŸ‡ͺGermany nhck

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024