Support

Home Forums Event Espresso Premium Single Page Checkout Missing

Single Page Checkout Missing

Posted: May 6, 2020 at 9:34 am


Jarred

May 6, 2020 at 9:34 am

Hey guys, can you take a look at this screenshot and tell me what I am missing. Thanks

Missing: single_page_checkout

http://prntscr.com/sc0pmd


Tony

  • Support Staff

May 7, 2020 at 4:24 am

Hi Jarred,

You’re not missing anything, MER loads within SPCO (Single Page CheckOut) but the cart view isn’t technically SPCO as it loads a table of registrations.

The scripts you see in the screenshot have been added to SPCO and have a dependency on the single_page_checkout script, which is missing on the event cart but wont cause any issues.

I’ll create a ticket to investigate this and see if we can prevent those scripts from loading on that view.


Jarred

May 13, 2020 at 1:12 pm

Great Tony, the less scripts loading when not needed would help a lot.


Tony

  • Support Staff

May 14, 2020 at 6:30 am

Well, no, not really, at least not with those 2 specific scripts.

The 2 scripts you are referring to are tiny, only load on the registration checkout page and will have very little impact.

promotions.js is 1.9 kB
add_new_state.js is 2.9 kB

They are only loaded on the single checkout page in which they are used, but not on the event cart view. The same logic would apply to your custom points js file as that’s also not used on the cart page as far as I can tell, but again is really small.

So I agree they should not be loading on that specific view of the registration checkout page, but fixing them is very unlikely to increase performance to any noticeable degree.

The support post ‘Single Page Checkout Missing’ 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