Support

Home Forums Multiple Event Registration Add-on Multiple Event Registration stopped working

Multiple Event Registration stopped working

Posted: June 4, 2013 at 3:28 pm


Randy

June 4, 2013 at 3:28 pm

Hi, I installed the multiple event registration module back in Feb and got it working by adding some code to the registration_page_display.php file that Dean Robinson supplied me with. Unfortunately the file became corrupted and there have a few updates to the event espresso files. I’m trying to get the add to cart feature working again and the code Dean gave me now doesn’t seem to be working now. I have tried to add it exactly as he gave it do me which was:

<code>&lt;?php echo do_shortcode(‘[ESPRESSO_CART_LINK anchor=”Add to cart”]’); ?&gt; </code>

I’m either putting it in the wrong line of the file or this code doesn’t work with 3.1.32.2.

Any suggestions on how I can things working again?

Thanks

Randy

 


Jonathan Wilson

June 4, 2013 at 4:14 pm

Are you adding it like this? It looks like there are additional characters added to your code.


Randy

June 4, 2013 at 8:45 pm

Jonathan, yes I am adding it as typed. I think that’s the way it was listed in Dean’s reply to my prior post back in March but at the same time I wasn’t sure if part of the line was in error. I’m not at all trained in php or html coding so I’m always over my head when it comes to code. Should I use the line that you wrote? Does it matter where in the file it is placed?


Dean

June 4, 2013 at 11:43 pm

Hi Randy,

We changed the way code is displayed on the forums a little while back so older posts look garbled now.

What Jonathan wrote above is the same code that was in the post back in march but less garbled. I have added it below as there is a slight typo error in what Jon added

<?php echo do_shortcode('[ESPRESSO_CART_LINK anchor="Add to cart"]'); ?>

PS. dont copy the 1 in the code above, start at <


Randy

June 5, 2013 at 3:16 pm

Dean, that did resolve my problems.  I now have an add to cart button. However I noticed that once I added to the cart there wasn’t a clear button in the cart to remove an item. I had to set the quantity to zero and then click enter attendees before a screen showed up with a delete option. I may be missing something but I’m not sure what it is.


Dean

June 6, 2013 at 2:32 am

Hi,

There is a “stop” sign type icon in the top right of each event in the cart (http://d.pr/i/hasg) that will remove the individual event from the cart.

The support post ‘Multiple Event Registration stopped 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