Support

Home Forums Multiple Event Registration Add-on MER not working with individual page links

MER not working with individual page links

Posted: August 30, 2013 at 11:56 am

Viewing 5 reply threads


atp2013

August 30, 2013 at 11:56 am

Hello,
I am trying to setup a page with multiple options that can be added to the cart. It worked for about 5 minutes, now once you click on View Cart it takes you to a blank cart page and tries to charge a couple million dollars 🙂

[ESPRESSO_CART_LINK event_id="webinar-augus-51e5cf15b5859" anchor="Register for This Event"]

is the short code I am using.

The page itself can be found at:

Anyone have any suggestions on what I may be doing wrong?

Thanks!


atp2013

August 30, 2013 at 11:58 am

Actually, I was just testing it out again and received this error if it helps:

Warning: implode() [function.implode]: Invalid arguments passed in /home/content/08/2640508/html/wp-content/plugins/event-espresso/templates/shopping_cart.php on line 21

Thanks!


Josh

  • Support Staff

August 30, 2013 at 4:14 pm

Hi there,

It turns out that the event_id parameter will only take a numeric value. So instead of:

[ESPRESSO_CART_LINK event_id="webinar-augus-51e5cf15b5859" anchor="Register for This Event"]

you can try:

[ESPRESSO_CART_LINK event_id="1" anchor="Register for This Event"]

with 1 being the event’s ID (not the unique event identifier).


atp2013

September 1, 2013 at 6:06 am

Josh,
Thanks for the reply. I changed the IDs and it helped a little I guess. Right after I made the change it worked the first time fine. But now, sometimes when you click “Register for this event” it seems to work, but when you go to the cart it is still giving the $2000000 figure while showing the individual registration options. Other times, when you click ‘Register for this event” it clears the whole page and gives the ‘view cart’ link instead of allowing the rest of the page to be seen (the cart itself seems to work fine in this scenario).

Any suggestions on how to fix the left over issues?

Thanks!


Tony

  • Support Staff

September 2, 2013 at 5:54 am

Hi,

Both me and Dean have tested this and cannot get the cart to show the million $ values.

The cart seems to work fine from the event-registration page and also the webinars page (which I assume is the one you mentioned above?)

Firstly I would clear your browser’s cache and see if that fixes the million $ bug.

The other issue with the View Cart link is strange.

The first event has the ‘Register for this event..’ link listed within p tags and a span, this link doesn’t have an issue. The other events do not have the link wrapped in these tags, it is these links that have the issue. This, for some reason is causing your problem.

The fix is to add a span around the other two events ‘Register for this event..’ links. Although the cause I am unsure of.


atp2013

September 3, 2013 at 6:12 am

Ye sir, that fixed it. I don’t know why the formatting was different on the links to begin with though, I copied and pasted all 3 of them from the same source originally. But it’s all working now so we are good to go.

Thanks!

Viewing 5 reply threads

The support post ‘MER not working with individual page links’ 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