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" : [ "" ]

2 Answers 2


I believe you are using Customer Profile for asking customer billing and shipping address.

  • So navigate to Store->Customer profiles->Profile types->Billing/Shipping Information->Manage fields.
  • Add one more fields in there for email & make that mandatory.
  • Add a checkout rules, put condition like "Entity has field" & check your added field.
  • Add a action "Send mail" and select your added field in TO field & organize your template using tokens of commerce-order.

I hope this will work, though there are other way working around code.

  • Thanks for your reply... My issue is still exists. I tried a lot by Adding a checkout rule, put condition like "Entity has field" and so on.. I worked out with Product related Email Id's by following this video link vimeo.com/35773294#at=0. It is working fine. but my above issue is still pending. I am trying from 1 day for this issue... Please make it clear step by step. Thanks in advance.
    – J Sinha
    Commented Apr 16, 2013 at 11:50
  • I have made it clear. This is the way how it can be done. If you are facing problem at some particular place, modify your question with your followed step...then only I can do anything... If you have made rule then export that & paste here or at some pastebin..
    – RajeevK
    Commented Apr 16, 2013 at 13:06
  • @JSinha - You should make habit to accept answer too of those persons who has replied your question with good answer...as I can see you haven't done so far...It is not going to encourage anybody to answer your question again..
    – RajeevK
    Commented Apr 16, 2013 at 13:11
  • I'll explain clearly.. Plz be there for few minutes.
    – J Sinha
    Commented Apr 16, 2013 at 13:27
  • (1) Checkout settings -> checkout rules -> Added Checkout rule with name "Check order for Billing information Mail". (2) Actions -> Add Action -> Create a New Entity -> Value = "Commerce Customer Profile" -> Type (Selected from Dropdown) = Billing Information -> Data selector -> site:current-user -> SAVE (3) Again Actions -> Add Action -> Send mail -> entity-created:field-billing-email (Choosed from Data Selector) and other things subject, message written as usual for test. I think this is wrong trail by me and it is not the process. Plz suggest me the proper way.
    – J Sinha
    Commented Apr 16, 2013 at 13:43

Atlast, I found the solution. Just by Adding Actions -> Send mail -> In Field "TO" -> [commerce-order:commerce-customer-billing:field-billing-email]. Simply I got Mail. Thanks for your Contribution.

  • 1
    Same answer was given by me..
    – RajeevK
    Commented Aug 3, 2013 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.