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])
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.
Thanks
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.