QloApps Forums
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Modify email template

    Technical Help
    2
    2
    407
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      HeartValley last edited by

      Hello, I would like to add content to the order confirmation email template. Specifically, I want to add check in details to the email so customers know more vital information about their stay. I'm comfortable in HTML, JS, and PHP.

      Unrelated, is there a way to expose the room numbers available? I've got customers who want to pick specific rooms.

      Thank you!

      A 1 Reply Last reply Reply Quote 0
      • A
        akr Global Moderator @HeartValley last edited by

        @heartvalley Hi. The order confirmation email is sent when an order is created by the customer.

        • The responsible function to send order confirmation email is validateOrder() in file qloapps_root_dir/classes/PaymentModule.php.
        • The html and txt email templates for the same are:
          qloapps_root_dir/mails/en/order_conf.html
          qloapps_root_dir/mails/en/order_conf.txt

        In file PaymentModule.php, the code after line number 843 (may vary) creates data for the mail template and the mail is sent using Mail::Send().
        You can modify PHP code and templates to suit your needs.

        Regarding your second query, to show available room numbers, please raise a ticket at https://webkul.uvdesk.com/en/customer/create-ticket/ so that we can have a person to person discussion.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post