Home Forums Multiple Event Registration Add-on Add to Cart Link in registration_page_display.php 2

Add to Cart Link in registration_page_display.php 2

Posted: April 19, 2014 at 7:52 am

Viewing 2 reply threads

DM Eddy

April 19, 2014 at 7:52 am

Found this topic in earlier discussion but the threas is now closed.

I am looking to add an “Add to Cart” link to registration_page_display.php. Got the code from the earlier thread and it works well.

<php echo do_shortcode(‘[ESPRESSO_CART_LINK event_id=”‘.$event_id.'” anchor=”Add to Cart”]’); ?>

Problem is that clicking on the add to cart does not automatically update the cart widget in the main menu. When I refresh the screen, the total is updated in the cart widget but the item list is empty and simply shows the number one with no item (i.e. 1. [blank])

Any ideas?

Lorenzo Orlando Caum

  • Support Staff

April 19, 2014 at 6:01 pm

Hi there,

Is a link available so we can take a look at this?



DM Eddy

April 20, 2014 at 8:52 am

Hi Lorenzo,

Your forums are very helpful and I spent a lot of time yesterday going through them. Looks like there is no auto refresh of the cart menu when an item is added (Is this correct?). I used coding to direct the customer directly to the cart after adding an item. Also added a continue shopping button to the cart screen. With those features, I could remove the cart widget from the sidebar.


Viewing 2 reply threads

The support post ‘Add to Cart Link in registration_page_display.php 2’ 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