Support

Home Forums Event Espresso Premium Return to even cart button link not working

Return to even cart button link not working

Posted: August 25, 2015 at 2:50 am

Viewing 11 reply threads


Ron Bollen

August 25, 2015 at 2:50 am

Hello,

The button link from the [ESPRESSO_CHECKOUT] registration page back to the cart is not working, because of de anchor #checkout on the end of the url, it will scroll up the same page instead of going to the cart page.

This is fixed by changing the url from:
http://www.domain.com/checkout-page/?event_cart=view#checkout
to
http://www.domain.com/checkout-page/?event_cart=view

Maybe I am doing something wrong? Please let me know how and where i can change this url manually or str_replace it.

Thanks!

Event Espresso – 4.8.4.p
Event Espresso – MER 2.0.3.p
Wordpress Versie: 4.3


Dean

August 25, 2015 at 5:30 am

Hi Ron,

It sounds like another plugin, perhaps the theme, are interfering with this, as the anchor should not cause any issues (it simply links to an ID on the page) and on test sites it works correctly.

Is there any way we can see this on your site? It may also be worth troubleshooting, and disabling all other addons except EE and EE Multiple Event Registration and see if the issue persists.

The #checkout is added in this file /wp-content/plugins/event-espresso-core-reg/core/EE_Config.core.php but there is no filter for it.


Ron Bollen

August 25, 2015 at 6:35 am

Hi Dean,

Thanks for your quick answer! I think the #anchor link is standard browser functionality, but maybe you are right. I will try and disable all plugins later on.

For now i fixed this by clearing “#checkout” on line 1477 in file /wp-content/plugins/event-espresso-core-reg/core/EE_Config.core.php

I will take note of this change for later updates.

Thank you!


Lorenzo Orlando Caum

  • Support Staff

August 25, 2015 at 2:23 pm

Hi there Ron,

The current anchor should drop you towards the top of the page. Are you seeing the registration form AND the events cart on the same page?

If so, that should not be happening. Is a link available?


Lorenzo


Ron Bollen

August 26, 2015 at 4:47 am

Hi Lorenzo,

I am only seeing the registration form. The button on that page suggest on going back to the events cart view (where i came from), but the button with the anchor takes me back to the top of the page instead.

If this is normal behavior, in my opinion the text on the button should suggest otherwise or you should go back to the events cart and not towards the top of the registration form.

Hope this helps!


Ron Bollen

August 26, 2015 at 4:49 am

Sorry, i forgot to say that the site is still under construction and not online yet.

I can give you a login if you like.


Tony

  • Support Staff

August 26, 2015 at 5:19 am

Hi Ron,

The reason this seems strange is the registration form should not be visible within the cart.

Here is the full view of the cart when using a default theme – http://take.ms/m7AfQ

The registration form displaying on the cart can be cause by either a theme or plugin conflict. Can you try temporarily switching to one of the default themes such as twentyfourteen and retesting this please?

If that doesn’t work, temporarily de-activate all non-EE plugins and re-test using the default theme. You should only see the cart.

Then re-activate your plugins one by one, testing between each one to find which causes the registration form to load.


Ron Bollen

August 26, 2015 at 6:00 am

Hi Tony,

I see the exact same thing on the events cart page as seen in your screenshot and the problem is on the page when clicking on “Proceed to Registration”.

I can click on the proceed to registration page to fill the form. On the registration form page the button go back to events cart is displayed. When clicking on that button with the anchor #checkout it will scroll back up instead of going to the cart page in your screenshot.

I you want login credentials please let me know how i can send this to you. Thanks!


Tony

  • Support Staff

August 26, 2015 at 6:33 am

Ahh, ok.

On the registration form you should be at /registration-checkout/#checkout

Clicking back to the event cart should load /registration-checkout/?event_cart=view#checkout
(Same page with a query string passed)

Which should force the page to reload, the cart to be display and the anchor to load the correct location. Sounds like the reload is not happening on your site.

IF you could send login details I’ll take a look, please use this form:

https://eventespresso.com/send-login-details/


Brent Christensen

  • Support Staff

August 27, 2015 at 10:45 am

@Ron

When you hover over the “Return to Event Cart” button, does your browser display the URL as

domain.com/registration-checkout/?event_cart=view#checkout

or

domain.com/registration-checkout/#checkout

???

(your browser should display the URL somewhere in it’s UI, maybe at the bottom of the screen. If it does not, you can view the source code for the page to see what is actually set for the link’s “href” attribute)


Ron Bollen

August 28, 2015 at 1:03 am

Hi Brent,

The url link is
domain.com/registration-checkout/?event_cart=view#checkout

I found that this link will refresh the page and show the events cart.
domain.com/registration-checkout/?event_cart=view


Lorenzo Orlando Caum

  • Support Staff

August 28, 2015 at 8:17 am

Thanks Ron, I’ve added additional notes to the current ticket that we are using to track this report.


Lorenzo

Viewing 11 reply threads

The support post ‘Return to even cart button link 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.

Event Espresso