Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 Add to Cart Link in registration_page_display.php | Event Espresso - Staging Server
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’ 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.