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" : [ "" ]
}
}
]
}
}
]
}
}
Closed: outdated
2.0
Checkout
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.