1. Home
  2. Docs
  3. Yatra WordPress Plugin
  4. Yatra Settings
  5. Emails

Emails

Booking Smart Tags [ Used to booking and status change email ]

{{home_url}} : Get home page url
{{blog_info}} : Get blog info of a website
{{booking_code}} : Get booking code of specific booking
{{booking_status}} : Get current booking status of specific booking
{{net_booking_price}} : Get current booking net price of specific booking
To show the tour list, You need to wrap as follows.
You have to start and end tour_list_loop to show the tour_name, tour_date and number_of_person.

{{tour_lists_loop_start}}
{{tour_name}} – Name of the particular tour
{{tour_date}} – Tour Date ( which was selected by user while booking the tour package )
{{number_of_person}} – Number of person ( which was enter by user while booking the tour package )
{{tour_lists_loop_end}}

{{tour_lists}} : Get booked tour lists of specific booking
{{customer_name}} : Get customer name of specific booking
{{customer_email}} : Get customer email of specific booking
{{customer_phone_number}} : Get customer phone number of specific booking
{{customer_country}} : Get customer country of specific booking

Enquiry Form Smart Tags [ Used to customize enquiry email ]

{home_url}} : Get home page url
{{blog_info}} : Get blog info of a website
{{enquiry_fullname}} : Get Full name from enquiry form
{{enquiry_tour_name}} : Get selected tour name from enquiry form
{{enquiry_email}} : Get email used to submit enquiry form
{{enquiry_country}} : Get selected country from enquiry form
{{enquiry_phone_number}} : Phone number from enquiry form
{{enquiry_number_of_adults}} : Number of adults from enquiry form
{{enquiry_number_of_childs}} : Number of childs from enquiry form
{{enquiry_message}} : Enquiry message
{{enquiry_subject}} : Enquiry subject
{{enquiry_date}} : Date of enquiry form submission

While using smart tags must wrap table row ( tr ), look like this. To make a proper setup please update the template as per your need and go to text view and check the following. You have to wrap tr by {{tour_lists_loop_start}} tr content goes {{tour_lists_loop_end}}. Please save everything from Text View ( not the visual view of the editor)

<table style="width: 100%;">
          <thead>
                        <tr>
                            <th style="text-align: left">Tour Name</th>
                            <th style="text-align: left">Tour Date</th>
                            <th style="text-align: left">Number of Person</th>
                        </tr>
           </thead>
           <tbody>
                 {{tour_lists_loop_start}}
                    <tr>
                        <td style="text-align: left">{{tour_name}}</td>
                        <td style="text-align: left">{{tour_date}}</td>
                        <td style="text-align: left">{{number_of_person}}</td>
                    </tr>
                 {{tour_lists_loop_end}}
           </tbody>
</table>
General Email Settings:
  • Disable all emails: If you want to disable all emails from yatra plugin, you can check this option.
  • “From” name: This option allows you to edit email from name for all yatra emails.
  • “From” email address: This option allows you to edit from email address for all yatra emails.
Booking Notification:
  • Enable/Disable Customer Email: This option allows you to enable/disable booking email notification for yatra customers.
  • Email Subject for customer: This option allows you to update the email subject for all yatra emails for customers.
  • Email Content for customer: This option allows you to edit booking email content for customers. You can change email content as per your requirements. Here you can use smart tags for a more advanced email template. Here is the list of smart tags and their usages.

How can we help?