Support

Home Forums MailChimp Integration Add to Cart short code does not work when you click on "register"

Add to Cart short code does not work when you click on "register"

Posted: February 20, 2015 at 1:20 pm

Viewing 13 reply threads


Elizabeth Solomon

February 20, 2015 at 1:20 pm

I have added the following code to my event description: [ESPRESSO_CART_LINK event_id=”7″ anchor=”Register for this Event”]. i have also turned off the “display registration form” in both of my events. however when you click on the “register” button, nothing happens – it just shows the word “cart” instead. What could I be doing wrong here? I have the MER plugin activated and I would like meeting attendants to be able to register for an additional workshop, which I have set up as a separate event. any ideas? see http://twsalaskameeting.com/current-conference/event-registration/?ee=7
thank you!
Liz


Tony

  • Support Staff

February 20, 2015 at 3:09 pm

Hi Liz,

Can you first try removing event_id parameter from the shortcode and see if that makes a difference. So within your event description try:

[ESPRESSO_CART_LINK]

or

[ESPRESSO_CART_LINK anchor=”Register for this Event”]

The cart link will find the Event ID for the current event and add that to the cart.


Elizabeth Solomon

February 20, 2015 at 3:20 pm

Hi Tony – I can put in any of those codes and still I get the same results. I click on “register”, I see a little spinning symbol, then it turns in to the word “view cart” but nothing happens. Did I miss some essential step here??


Elizabeth Solomon

February 20, 2015 at 3:28 pm

Not sure if it’s related, but I also tried adding the “event espresso cart widget” to my page, and that does not show up at all when I save it.


Tony

  • Support Staff

February 20, 2015 at 3:34 pm

The cart widget will only show when you have events in the cart so that wont show currently, as there is an issue adding events to the cart.

Are you running any caching plugins?

Can you go to Event Espresso -> System Status.

Are the any errors or warnings displayed? (they are usually red)

Specifically are there any errors mentioned within the ‘PHP Sessions’ section?


Elizabeth Solomon

February 20, 2015 at 4:12 pm

nothing other than a memory error, which I think has always been there. I have been hosting the same type of events the last several years. here is the report:


=============================================================================================
 Versions
=============================================================================================
Event Espresso version: 	3.1.36.6.P
WordPress version: 	WP 4.1.1
Installed plugins: 	BackUpWordPress by Human Made Limited version 3.1.3, Easy Theme and Plugin Upgrades by Chris Jean version 1.0.4, Event Espresso - Multi Event Registration by Seth Shoultes version 1.0.5.p, Event Espresso - Permissions by Event Espresso version 1.5.3, Event Espresso - Ticketing by Event Espresso version 2.2.0.p, Event Espresso by Event Espresso version 3.1.36.6.P, Exclude Pages from Navigation by Simon Wheatley version 1.92, Google Maps Builder by WordImpress version 1.0.3, Image Widget by Modern Tribe, Inc. version 4.1, jQuery Updater by Ramoonus version 2.1.3, My Custom CSS by Salvatore Noschese - DarkWolf version 1.5, Restore jQuery by Syahir Hakim version 1.0, Visual Form Builder Pro by Matthew Muro version 2.4.8, Weaver II Theme Extras by Bruce Wampler version 2.0.1, WP Edit by Josh Lobe version 3.0.1

=============================================================================================
 Settings
=============================================================================================
Home URL: 	http://twsalaskameeting.com
Site URL: 	http://wildlifeprofessional.org/twsalaskameeting

=============================================================================================
 Registration Pages
=============================================================================================
Event Page: 	#45 - http://twsalaskameeting.com/current-conference/event-registration/
Payment/Thank You Page: 	#46 - http://twsalaskameeting.com/thank-you/
Transaction Notification Page: 	#48 - http://twsalaskameeting.com/transactions/
Cancel Return Page: 	#47 - http://twsalaskameeting.com/registration-cancelled/

=============================================================================================
 Server Environment
=============================================================================================
PHP Version: 	5.4.34
Server Software: 	Apache
WP Max Upload Size: 	50 MB
Server upload_max_filesize: 	50 MB
Server post_max_size: 	50 MB
WP Memory Limit: 	40 MB - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP
WP Debug Mode: 	No
Espresso Logging: 	Log directory is writable.

=============================================================================================
 PHP Sessions
=============================================================================================
Session save path: 	/tmp is writable.
Session name: 	PHPSESSID

=============================================================================================
 Remote Posting/IPN
=============================================================================================
fsockopen/cURL: 	
                    	
	                    	Your server has fsockopen and cURL enabled.                    	
                    


Dean

February 23, 2015 at 1:05 am

Hi,

Thanks for posting the report. I’m not seeing any issues in the report or on your site that would usually manifest when a problem like this occurs.

So, that means either your server has caching (you would need to ask your host about this), or there’s a silent conflict.

The conflict we can at least try to nail down via troubleshooting.

Please disable all addons except EE and Multiple Event Registration. Then see if the issue resolves itself.

If it does, please activate the plugins one by one, testing the issue each time (don’t forget to refresh the event page each time). This will help pinpoint the conflicting plugin.

If the issue persists when all other plugins are disabled, please try swapping to a default theme such as Twentytwelve to help rule out a theme conflict. You can use the Theme Test Drive plugin to test alternate themes without affecting user experience.


Elizabeth Solomon

February 23, 2015 at 7:14 pm

I will try to find out about the caching thing. should I disable ALL plugins on my site or just all of the Event Espresso add-ons (except the 2 you mentioned)?
thanks


Elizabeth Solomon

February 23, 2015 at 7:45 pm

I did play around with most of the plugins. doesn’t seem to make any difference. When I turn off MER, things seems to work ok, but when I turn it on, and either use the espresso cart short code (or turn the registration forms to show on each of my 3 events) it automatically adds the “register” or “add to cart” option under each one, as it should. however, I get the same result – nothing happens when I try to click on “register” other than a spinning icon, then it goes to “view cart”. if I then click on view cart, it goes to a page that says something like “the page you are trying to load..” and gives an error. I can give you the exact wording if it would be helpful


Dean

February 24, 2015 at 1:25 am

Hi,

ALL plugins except EE core and the Multiple Event Registration plugin. The idea is to see if another plugin is causing a conflict.

I’ve seen the error, so right now we need to know if the other plugins or theme are affecting anything as nothing obvious is showing up.


Elizabeth Solomon

February 24, 2015 at 9:17 pm

Dean it doesn’t appear to be the plugins – any other ideas? no matter whether I use the espresso cart link or simply just activate the MER and click on the “add to cart” button that comes up as the default the icon simply spins and nothing happens. I am turning off the plugin for now…not sure how to get around this. thanks


Lorenzo Orlando Caum

  • Support Staff

February 25, 2015 at 1:22 pm

Hi, it looks like the event registration page is a child page of a parent page. Could you try raising it to a parent page so its no longer under another page?


Lorenzo


Elizabeth Solomon

February 25, 2015 at 7:02 pm

Just tried that – with no luck. I think I will forget the Multiple event thing for now and just have separate links to each event for registration from my own page. thanks


Dean

February 26, 2015 at 4:06 am

Hi Elizabeth,

If you do decide to continue using the MER functionality and want us to look into the issue further please just advise.

Viewing 13 reply threads

The support post ‘Add to Cart short code does not work when you click on "register"’ 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