Support

Home Forums Event Espresso Premium Event page with Divi (Theme Builder) does not display the espresso notices

Event page with Divi (Theme Builder) does not display the espresso notices

Posted: February 28, 2020 at 12:16 am


children-first

February 28, 2020 at 12:16 am

Hello everybody,

I am not sure if you can help me with my question or if I should turn to Elegant Themes.
On our event page we use the Theme Divi (version 4.3.4) with WordPress 5.3.2.
With Divi we created the design for event pages through the “new” Theme Builder.

Yesterday I noticed one wrong thing when ordering a ticket.

The event still has 8 tickets available.
There were two different types of tickets (tickets for children – a maximum of 8 can be selected, and tickets for adults – a maximum of 3 can be selected).
The situation has now arisen that 8 tickets for children and 1 ticket for an adult have been selected.
After clicking the “Order ticket” button, the event page has reloaded and the tickets had to be selected again.

The message that 9 tickets were selected but only 8 tickets are available was not displayed. As soon as another page was clicked after reloading the event page, the message was displayed for a few seconds on the new page. I tested this and found that after selecting more tickets than there were, this message never appeared on the event page. The message was only ever displayed on a page that was not created with the Divi Theme Builder.

Do you have any idea what the reason could be or should I contact the Elegant Themes Support?

Many thanks in advance!

Best regards,
Simon


children-first

February 28, 2020 at 12:39 am

I forgot to say that the message will be displayed as soon as the design is deactivated by the Divi Theme Builder.

Best regards,
Simon


Tony

  • Support Staff

February 28, 2020 at 9:11 am

Hi Simon,

Can you link me to the page in question so I can view the source, please?
(You can mark your thread private if you only want EE staff to view the link)

I’m guessing the placeholders for the notices aren’t loading when using the theme builder.

Just to note, Event Espresso doesn’t officially support page builders at this time.


Josh

  • Support Staff

February 28, 2020 at 9:14 am

Hi,

I have very little experience with Divi builder so I’m unsure what it’s doing there. May I ask is this a regular WordPress page where you’ve added a ticket selector shortcode or embed code? If the former, maybe you could try the embed code instead. That loads up the ticket selector within an iframe which might help. You can get the embed code from the event’s editor page.


children-first

February 28, 2020 at 9:43 am

This reply has been marked as private.


Josh

  • Support Staff

February 28, 2020 at 9:57 am

If you check the browser’s dev tools “Console” which will print any JavaScript errors, you’ll see this:

ReferenceError: eejs is not defined

eejs is normally passed in via the wp_localize_script() function. So if that error doesn’t happen on an event where you don’t use Divi builder, then something in Divi builder may be hijacking wp_localize_script() or in some other way preventing eejs from being included on the page.


children-first

February 28, 2020 at 1:10 pm

Hey Josh,

thank you for the information. I contact Divi Support and ask there. If I get a helpful answer, I’ll get back to you ๐Ÿ™‚

Thanks a lot!

Best regards,
Simon


children-first

March 11, 2020 at 1:29 pm

This reply has been marked as private.


Josh

  • Support Staff

March 11, 2020 at 1:43 pm

Hi Simon,

You don’t need a license for the test site. Event Espresso 4 will work exactly the same without the license key set. In other words, you can remove the key from the test site’s General settings page and continue testing there. Then the key can continue to be used on the main site.

If the developers from Elegant Themes would like to debug/develop/test on their own server, the full version of EE4 is available from GitHub.


children-first

March 11, 2020 at 3:47 pm

Hey Josh,

perfect thank you ๐Ÿ™‚

The support post ‘Event page with Divi (Theme Builder) does not display the espresso notices’ 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.

Event Espresso