Hello, I’m new to Hivepress and I wanted to know if there is a way to create a confirmed booking email that allows me to send specific attributes of my choice, such as the phone number field. I would like the phone number to be sent to the person who made the booking via email, without it being visible on the website.
I have already removed it from the website using CSS, but how can I send the parameter via email? I have already created a customized email through Hivepress > Email.
If you want to add not-unique information to the email, please try this PHP code snippet. This code snippet adds the token
%custom_token_name% with the value
"Custom value" to the booking confirmation email, which is sent to the user who has made this booking. Then it is possible to add this token to the email body in the HivePress/Emails.
$email['tokens']['custom_token_name'] = 'Custom value';
But please note that it can require further customization. If you are not familiar with the code customization, then please consider hiring someone for custom work https://fvrr.co/32e7LvY
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.