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.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 2 months, 3 weeks ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!