Posted: February 19, 2023 at 6:48 pm
Hello We have the latest EE4. We have created a wordpress page for a particular event. That page has 5 different events on it for registration (we use the shortcode for each event pasted on the one page). We also have each event on that page set to a custom message. It all works fine if you register for less than 3 of the events at one time (ie in the same cart), however, once you have more than three of the events in the cart, the message sent to registration approved registrants defaults to the global default version we have (which talks about online events & recordings – the custom message is for face-to-face events). So when you register for less than 3 events (including multiple registrations for one event), the custom message works fine, it is only when you register for three events that it sends the global message, despite the events it is sending the message for being set to the custom message. Hoping you can help with this soon as we are just about to lauch a number of events which would be impacted. I will post a link to the page below. Regards Joe |
|
This reply has been marked as private. | |
PS: I thought that the problem could be related to us using a plugin to create a border around the block where the shortcodes are. We tested without these borders, just having it in different blocks, but got the same result |
|
PS: also tried just adding the events to a category and using the category shortcode on a page, still same result with the custom message |
|
Hi there, The ‘3 events’ issue is the odd part here. With the Multi Event Registration add-on enabled, when you register for more than 1 event in the cart, the message system should always default to the global message template because it uses a single message type and if you have multiple templates assigned to various events it doesn’t know which one of those to chose, so defaults to the global. Do all of your events have a custom message template assigned to them? |
|
Hi Tony Most of the time we are using the default message for events. There are only a few events that we use the custom message for – usually because of different time zones or they are a face-to-face event rather than online and need different information. I guess we need one email that covers all scenarios ? Though are there a shortcodes we could use to provide different timezone information or event type info ( eg face to face versus online)? |
|
Ok, so are you sure the ‘3 events’ issues isn’t just visible because 2 of those events use the default template already so its noticeable when you add the 3rd (which your expecting to use a custom template) and that one doesn’t? I’m not being nit picky here btw, just trying to confirm the issue itself.
That is how I would do it, I’d have the default message template setup to cover both and then custom for specific events for single event registrations.
Would custom fields work? The message system has the
Would call 3 custom fields, one name timezone, next event-type and finally something. Would that work? |
|
Hi Tony Actually, the issue comes up where all the events added to the cart were set to the same custom message – when there was more than two of those events, it defaulted to the global, up to two events, the custom message was used for each event. So I guess the event meta could work – I will check this out. So we would customise the relevant data on timezone etc in each event? |
|
I’ll do some digging into that, I’ve never seen that happen before.
Correct, you would add a custom field into each event and set the value on each individual event. |
|
Thanks Tony We do have a custom plugin that adds another message type to EE but that is not the message type being used – maybe this has ended up also changing the way the default behaves |
|
This reply has been marked as private. | |
Yes, you’ll need to create a new field. Click the ‘Enter new’ link below the dropdown. A new input will appear, set the name and value: https://monosnap.com/file/d8BnkHjzSXeRBWxIMPxhK9CDanWkpK When you save that it will then appear in the dropdown the next time you want to use it. Do the same for each individual custom field you want to add, then add the shortcodes to the message and us the ‘name’ you set for each field. |
|
The support post ‘Custom Message Not Working’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.