Support

Home Forums Multiple Event Registration Add-on "View Cart" not displayed

"View Cart" not displayed

Posted: April 28, 2014 at 5:03 pm


kivy

April 28, 2014 at 5:03 pm

Our site http://lifering.org runs on WordPress 3.9 and has EE 3.1.36.5.P installed, with the following add-ons activated: Calendar 2.2.3p, Multi Event Registration 1.0.5p, Requirements Check 0.9.1. We’ve used Event Espresso for I think 3 years now, or maybe 4.

We have 4 events set up for an upcoming convention, which show a Register button and an Add to Cart button but no View Cart button, which means people have to register for all the events separately. How do we fix this? Our registration page is here:

http://lifering.org/main-registration-page/


Lorenzo Orlando Caum

  • Support Staff

April 28, 2014 at 5:57 pm

Hello,

Could you share the shortcode that you are using for the first event?


Lorenzo


kivy

April 28, 2014 at 6:36 pm

The only shortcode in use on the main-registration-page is this:

[ESPRESSO_EVENTS]

Is that part of our problem? I got to wondering if we need a page for the shopping cart.


kivy

April 28, 2014 at 6:48 pm

Here are the shortcodes for our 4 events but I don’t think any of them are on the pages:

Convenor’s workshop: [SINGLEEVENT single_event_id=”convenors-workshop-18-534884aadafd0″]
Banquet: [SINGLEEVENT single_event_id=”convenors-workshop-18-534884aadafd0″]
Conference: [SINGLEEVENT single_event_id=”2014-lifering-meeting18-52eb155f23110″]
Congress: [SINGLEEVENT single_event_id=”lifering-congress-18-534885b861b3c”]


Dean

April 29, 2014 at 1:25 am

Hi,

First thing, is that the add to cart button requires jQuery (JavaScript) in order to function. Right now your site has a large number of JavaScript errors, which are stopping pretty much all the JavaScript from working.

To me it looks like a load order issue, as the files cannot find jQuery, but you have the right jQuery and it is loading, but obviously not early enough.

Looking at the code this is definitely the case, jQuery is being loaded in the main content instead of the page header, which is very odd.

Fixing this issue will likely resolve the add to cart/view cart issue.

Secondly, I just want to make sure that you are only using ESPRESSO_EVENTS shortcode on one page and this is the page set in your General Settings page.

If you are using it on multiple pages, please do not. Instead use EVENT_LIST on any pages other than the main one outlined in the General Settings (by default it is called Event registration).

http://eventespresso.com/wiki/shortcodes-template-variables/#event-list


kivy

April 29, 2014 at 9:27 am

Dean, thanks for the analysis. I’m sure you’re right about the jQuery load order but I have no clue how to fix that. Is this a site issue or a page issue? Is it in a config file or in CSS? I realize you don’t support jQuery but suggestions would be most appreciated. We don’t as a rule tinker with how things load, we just use standard installs; so I have no idea how this happened.

I’ll double check, but I’m pretty sure the ESPRESSO_EVENTS shortcode is only on the main page. (I also plan to write all this up for future reference; we use Event Espresso for one event a year and we’re clearly not remembering the process well…)


Josh

  • Support Staff

April 29, 2014 at 2:02 pm

It’s probably another plugin that’s moving the load order of where the jQuery library gets loaded. I think you can fix this by following a two-step process, well, maybe three-step:

1) You can find the plugin that’s causing the breakage by temporarily deactivating all non – Event Espresso plugins, then check to see if the add to cart/view cart starts working. If it does, then you start activating the other plugins one by one, while checking for breakage. If deactivating the plugins doesn’t help, you can temporarily switch to the twentyfourteen theme.

2) Once you’ve narrowed down the plugin (or the theme) is causing the breakage, you check to see if there’s an option to move where jQuery gets loaded onto the page. Usually this will be found in the theme or plugin’s options page.

3) If you cannot find an option for moving where jQuery gets loaded, you contact the developer of the plugin/theme that’s causing the breakage.


kivy

April 30, 2014 at 4:16 pm

I’ve done the plugin testing, and the plugin causing the jQuery errors is Store Locator, which we’ve been using for years. If I turn it off, clicking on Add to Cart gives you a View Cart link, which you can add to by going back to the main page with the Back button.

Trouble is, Store Locator is pretty mission critical for us; and I’ve been to their web site and they don’t offer support. I’ll have to see if there’s something else that does what it does. I don’t understand why this didn’t happen in 2012 when we started using EE, because we’ve been using Store Locator as long as I’ve been supporting the web site. Must be something in an upgrade.


Josh

  • Support Staff

April 30, 2014 at 4:41 pm

You might try installing Store Locator, Event Espresso, and Multi Event Registration on another website for testing purposes to see if you can reproduce the error on the test site. I checked out the version of Store Locator that you can download from wordpress.org and it didn’t cause any breakage on the website I tested on.


kivy

April 30, 2014 at 5:10 pm

Interesting. At this point (given our event is May 30 – June 1), we’ve decided to live without Store Locator for the time being and look for an alternative plugin, there are several. My colleague reminded me there are other web sources for our meeting locations. I wonder if uninstalling and reinstalling Store Locator would help. Watching the site in the Chrome “inspect elements” tool, the jQuery errors appeared ONLY when Store Locator was active.


Josh

  • Support Staff

April 30, 2014 at 8:04 pm

It might help to compare which version of Store Locator the site has installed with what’s available on wordpress.org. It looks like there has been a few updates recently.

The support post ‘"View Cart" not displayed’ 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.

Status: closed

Updated by  Josh 5 years, 6 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.