- Posts: 6
- Home
- Forum
- Community Forum
- Questions
- Boolean Error
Changing subject in owners mail
- ondrej.doslik
- Topic Author
- Offline
Less
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).
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.
- vietvh
- Offline
Less
More
- Posts: 1553
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
Change it to
Regards,
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