Support

Home Forums Event Espresso Premium View Event Cart Glitch (not working)

View Event Cart Glitch (not working)

Posted: June 22, 2016 at 9:06 pm


The StudyPro

June 22, 2016 at 9:06 pm

Hi,

I wrote about this using my customer support token. I received an answer but I’ve been trying to reply for a few days and keep getting bounced back emails.

My problem is the “View Event Cart” button doesn’t work once the customer fills out their information and clicks proceed to payment options. So on the Payment page the ‘View Event Cart’ button in the widget isn’t working. I’ve had a few people comment on it.

Lorenzo wrote to me – but he was referencing the page before the payment which works fine and posted this video. http://cl.ly/3D3q453m3u3L

Thanks for that! I was wondering if you can check the following page by entering some test registration info for an event.

Calendar – http://thestudypro.com/events-calendar/

Thanks in advance!


Tony

  • Support Staff

June 23, 2016 at 6:10 am

Hi there,

Looks like this is a theme conflict.

If I add the cart widget to a sidebar using a default theme such as twentyfourteen and repeat the test there I can use the view cart button to refresh the page and change my selection within the cart.

If I the use X and re-test I can not use those links any longer, they simply scroll the page.

Looks the js with X looks for links containing # and prevents them from reloading the page.


The StudyPro

June 23, 2016 at 3:53 pm

Thanks Tony! I’m really stuck on trying to solve this and the overall Javascript error. My response about it from X-Theme support was this:

“I have tested your site and I can see the JS error but not sure why it should conflict with the theme’s script. A plugin is supposed to work without interfering with theme’s script and styles where it’s failing.

Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

Thank you for your understanding.”

Do you have any suggestions of what I could do? It’s a bit beyond my skills and not sure if finding someone that knows Javascript will help?

Thanks!


Tony

  • Support Staff

June 24, 2016 at 8:58 am

I did a little digging into this and it looks like this is an issue with X Theme itself rather than EE.

To explain I created a new local site and installed only X theme on that site, no Event Espresso or other plugins.

I then created a page with some dummy content, 2 paragraphs wrapped in divs with the ids ‘testing’ and ‘querystringtest’ test and 5 links.

2 of the links to the same page using:

#testing

?querystring=something#querystringtest

2 linking externally (to google) but using exactly the same bookmarks as above:

http://www.google.com/#testing

http://www.google.com/?querystring=something#querystringtest

Finally 1 other link:

http://www.google.com/#noanchor

The only external link that works is the last one and the reason for that is #noanchor does not exist on the page – http://take.ms/XVoAj

It looks like theme X assumes that any link to any URL that has a bookmark matching the current page will only ever link to the current page and should scroll to that bookmark, which is not the case.

I do have a workaround that you can use for this which simply removes ‘#checkout’ from the view cart link to prevent Theme X from changing the behavior. You can use this function:

https://gist.github.com/Pebblo/b2491effae7cf7471058392e3edbfe37

Add that to either the X Theme child functions.php file or create a Custom Function Plugin and place it within that.

So as mentioned I don’t believe this is an issue with EE, but how Theme X is changing the default behavior for those links.


The StudyPro

June 24, 2016 at 2:38 pm

Hi Tony,

Thanks so much for that research! 🙂 I’ll give that a try this weekend.

We’ve had a lot of issues with X-Theme and Espresso and it comes down how X-Theme is functioning. I probably wouldn’t recommend using it if you want to use Espresso – the tooltips were functioning in the beginning but still haven’t been able to get them back.

Next time I’ll try Espresso with another theme as Espresso doesn’t work in Cornerstone so it’s been hard to stylize the Events Calendar like our other pages since we’ve just placed it into a standard WordPress page.

I wonder if there’s a way in the future to get it to work in Cornerstone or if X-Theme has to do something on their end since that theme is getting fairly popular.

———

Quick Question – Is there a way to change someone’s event date class to a different week after they’ve paid? We’re dealing with students and something came up where they want to change their class date (same price) It’s not crucial as they can show up if they’ve paid but during the school year to keep track for our records which classes are full would be great.

Would it be something in the phpmyadmin? I’ve gone in there before to delete some test registrations.

Thanks again Tony!


Tony

  • Support Staff

June 27, 2016 at 4:04 am

I wonder if there’s a way in the future to get it to work in Cornerstone or if X-Theme has to do something on their end since that theme is getting fairly popular.

Cornerstone loads things differently than expected and we have seen a couple of problems due to this. We tested visual composer and did not run into the same issues when attempting a similar setup so it would appear to be how Cornerstone loads the elements but I’m not really sure what or why currently.

Would it be something in the phpmyadmin? I’ve gone in there before to delete some test registrations.

I would recommend not using phpMyAdmin for this, there is a lot of information to update if you do that manually and there are multiple relationships within the registration to tickets, datetimes, the transactions and payments, breaking any of those will cause fatal errors when EE tries to use that info.

To answer your question, no there is no option to re-assign a registration to another event/ticket once that registration has been made. (We are working on this currently)

To move a registration right now you need to set the original registration to cancelled and apply a refund within the transaction for the original amount.

Then manually re-create the registration on the new event and re-apply the page there.

Eventually the attendee re-assignment add-on will make this easier 🙂

The support post ‘View Event Cart Glitch (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