Okay
  Public Ticket #2661043
Send event specific url in notification, hidden before booking
Closed

Comments

  • Marc-James Abi-Jaoude started the conversation

    I am looking for the placeholder for notifications I can use that represents the url redirect (in the settings tab of event creation modal) after booking event .

    This might be accomplished in another way perhaps if custom fields could be hidden on the event form. 

    The use case is simple, I want to be able to reference an event specific url which I can send in the booking confirmation like instructions. But I dont want the instructions avaliable to people on the booking page. I think this could be accomplished by using the url redirect insofar as I want them redirected to this page. 

    The problem is I dont see any placeholder in notifications that would allow me to put the url redirect into an email. 



  • [deleted] replied

    Hello Marc-James Abi-Jaoude ,


    There isn't a placeholder for the redirect URL set in Amelia -> Settings , unfortunately, so there isn't an option of adding this way. Only by adding it directly to the notification. 

    You can add it to a custom field, you mentioned, and then hide that custom field on the front-end with adding custom CSS ( please note that the custom fields don't have each a separate class) , and add this custom field placeholder to the notification, if that could help to achieve what you need. 

  • Marc-James Abi-Jaoude replied

    that custom field might be the way to do it. Can you elaborate on how to hide it on the front end via css?

  • [deleted] replied

    You need to find the CSS selector on the front-end after you create it, and then add the display:none property to it. If you need help with this, create the custom field and send me the page where you have Amelia and I will help out with the CSS. 

  • Marc-James Abi-Jaoude replied

    thank you for your offer to help much appreciated. 

    This has a custom fiels called recipe link.  So with css you can hide from front end. How does this field field get populated with a link I want to put in it so that I can use the placeholder for it to show up in the confirmation email and reminder email.  


    The use case is when they book the class I provide a link to a schedule or recipe. But that recipe isnt avaliable to the general public.


    Thanks again for helping. 

  • Marc-James Abi-Jaoude replied
  • [deleted] replied

    Hello Marc-James Abi-Jaoude ,

    You are welcome. 

    At the moment, the only custom fields that supports HTML is the Text content custom field, so you should create this custom field, add the link that you want to it using HTML and then hide it on the front-end. You will be able to add the custom field placeholder to the email notification in Amelia , when you create it. 

    I can't access the page - it says page not found, please look at the attachment. 

    Please note that there is an issue with thse placeholders in the newest release of Amelia, 3.0 and 3.0.1 , they are not in the placeholders list on the Amelia -> Notifications page. Sorry about that, it will be fixed in the next update of Amelia. So if you have one of these versions of Amelia, in order to fix this issue on your website, the files attached here are modified and have the fix for this issue. You need to unzip the files attached here to your Amelia folder , location ../wp-content/plugins/ameliabooking and replace the files that are already in the plugin with these new files. That should solve the issue, if you want to fix that before the new release of Amelia.


  • Marc-James Abi-Jaoude replied

    https://cookingclassestoronto.com/book-weekly-class/

    I literally just changed it a few minutes ago. Sorry about that.  

    When is the next version of amelia out?

    On a per event basis this recipe link will be different and I want it to be used in the booking and reminder email.

    So how would I for each event add the link to this text field. In the event interface?

  • [deleted] replied

    Thank you. 

    For hiding the custom field on that page you should add this CSS tot he page : 

    .el-form-item.am-cf-4 {display:none !important;}

    if you don't have an option to add custom CSS you should add it as format HTML :

    <style> .el-form-item.am-cf-4 {display:none !important;}</style>

    Like I mentioned you should use the Text content custom field - as to it you can add a link using HTML. 

    You would need to create for each event a separate custom field if you want to add a different link for each event.

    We released the new version of Amelia today.

  • Marc-James Abi-Jaoude replied

    thanks for your help on this. The purpose was that in an email notification after booking and the reminder I would include a placeholder which I could set on the event setup page.  This way regardless of the event, the notification would provide the correct link to the participants.  I know I am using your software for something different than normal, ie cooking classes, but I do see this as a good use case to consider. There could always be instructions or information you want to provide for an event participant that you wouldnt want linked directly on the site. 

    The way you described multiple custom fields for every event doesnt fit the goal.  Hence I think the custom field should be on the event setup. It could be a field like "url for participants" which could be accessed via placeholder/shortcode in the notifications.

    Consider it perhaps for future iterations. My work around is to just hardcode a recipe page into the email, but as participant in one class will get access to all recipes rather than just the one they signed up for. 

    It will do for now since we are launching this week.