I did cart using "commerce_kickstart-7.x-2.4-core" module. I would like to add "Email Id" field when doing a checkout. Actually I need that If user provides different email Id's rather than registered mail-id in "BILLING INFORMATION" and "SHIPPING INFORMATION" then after completion of Checkout process, the product payment details should send mail to those E-mail Id's.
Rules export
{ "rules_check_order_for_billing_information_mail" : {
"LABEL" : "Check order for Billing information Mail",
"PLUGIN" : "reaction rule",
"REQUIRES" : [ "rules", "commerce_checkout" ],
"ON" : [ "commerce_checkout_complete" ],
"DO" : [
{ "entity_create" : {
"USING" : {
"type" : "commerce_customer_profile",
"param_type" : "billing",
"param_user" : [ "site:current-user" ]
},
"PROVIDE" : { "entity_created" : { "entity_created" : "Created entity" } }
}
},
{ "mail" : {
"to" : [ "entity-created:field-billing-email" ],
"subject" : "Test Subject for Billing mail",
"message" : "Test Message for Billing mail",
"language" : [ "" ]
}
}
]
}
}