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><?php echo do_shortcode(‘[ESPRESSO_CART_LINK anchor=”Add to cart”]’); ?> </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?
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?
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"]'); ?>
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.
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.
Viewing 5 reply threads
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.