Support

Home Forums Event Espresso Premium 'View Cart' Multiple Clicks Needed to go to Next Page

'View Cart' Multiple Clicks Needed to go to Next Page

Posted: January 8, 2016 at 1:18 pm


Joshua Stecker

January 8, 2016 at 1:18 pm

website: https://www.mphstage.org/tickets/

When users click ‘Buy Tickets’ the button changes to ‘View Cart’ but it takes multiple clicks on that button to get to the next page. How can I make it so it’s just one-click to move forward?

Thanks! – Joshua


Lorenzo Orlando Caum

  • Support Staff

January 8, 2016 at 6:40 pm

Hi Joshua,

I was able to see the issue and I noticed that the URL is getting duplicates at the end like this (e.g. 2x regevent_action):

/tickets/?regevent_action=show_shopping_cart?regevent_action=show_shopping_cart

Then on the next attempt the duplicates clear — however that duplicate behavior should not happen at all.

There are some customized templates in use on your site:

/event_list.php
/event_list_display.php
/shopping_cart.php

They are located here:

/wp-content/uploads/espresso/templates

Could you please try renaming the files above using an SFTP or FTP client like FileZilla or Cyberduck adding an extra character such as a letter or number to the file name?

Then please re-test by adding a event to the shopping cart. If the issue does not occur, then try restoring the names (i.e. remove the extra character) for the event_list.php and the event_list_display.php file and re-testing.

Then re-test again. If it works as expected, then the issue is likely coming from the remaining file which would be shopping_cart.php.


Lorenzo


Joshua Stecker

January 9, 2016 at 10:54 am

Do I rename ALL THREE of the files you listed?:
/event_list.php
/event_list_display.php
/shopping_cart.php

Or just two? Your last sentence in your response was a bit confusing when you stated “remaining file” being shopping_cart.php.

Thanks, Joshua


Lorenzo Orlando Caum

  • Support Staff

January 9, 2016 at 12:45 pm

Hi Joshua,

The issue that you described doesn’t happen on our testing sites so we are trying to determine if a customization in one of those files is triggering this.

Working through it in steps will help pinpoint the issue. These files are linked (e.g. they work together):

/event_list.php
/event_list_display.php

So you would want to test those at the same time by renaming both. If the issue continues when the files above are renamed, then the issue that you are experiencing is likely coming from a customization in the remaining file:

shopping_cart.php

Does that help?


Lorenzo


Joshua Stecker

January 9, 2016 at 1:01 pm

Ok, I renamed the files and in addition to doing the same thing, there were two sets of buttons now. A “View Cart and a “Buy Tickets” button side-by-side to each other.


Lorenzo Orlando Caum

  • Support Staff

January 11, 2016 at 10:17 am

Hi, I looked at the site and I’m still seeing the duplicate information at the end of the URL.

It sounds like there was a display issue with the buttons. It should still switch the text of the button.

Was the original issue with having to click the buttons multiple times fixed when you renamed the template files?


Lorenzo

The support post ‘'View Cart' Multiple Clicks Needed to go to Next Page’ 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