Changing subject in owners mail

More
8 years 8 months ago #6000 by ondrej.doslik
Changing subject in owners mail was created by ondrej.doslik
Hi, one question:
Is there a way to change the subject of email that gets owner after booking the room?
For example: New reservation - Name of guest (variable).

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #6006 by vietvh
Replied by vietvh on topic Changing subject in owners mail
Hi,

Nice week to you.

Sure you can, the file you need to edit is:

/components/com_solidres/controllers/reservation.php
$subject[$hotelEmail] = JText::_('SR_EMAIL_NEW_RESERVATION_NOTIFICATION');

Change it to
$subject[$hotelEmail] = JText::_('SR_EMAIL_NEW_RESERVATION_NOTIFICATION') . $savedReservationData->customer_firstname . ' ' . $savedReservationData->customer_lastname ;

Regards,

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?