Posted: 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: 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 |
|
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. |
|
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! |
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? — |
|
|
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! |
|
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. |
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. |
|
|
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! |
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 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: |
|
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) |
|
|
Hi Brent, The url link is I found that this link will refresh the page and show the events cart. |
Thanks Ron, I’ve added additional notes to the current ticket that we are using to track this report. — |
|
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.