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
Only First Day of Weeklong Event Showing in Cart | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Only First Day of Weeklong Event Showing in Cart

Only First Day of Weeklong Event Showing in Cart

Posted: March 27, 2014 at 1:39 pm

Viewing 1 reply thread


lculberson

March 27, 2014 at 1:39 pm

I’m using this code: [ESPRESSO_CART_LINK event_id=”THE EVENT ID HERE” direct_to_cart=1 moving_to_cart=”Redirecting to cart…”] on an event that starts on June 23rd and ends on June 27th. When you click ‘register here’, it takes you to the cart as normal, but it only shows the first date (June 23). Is there a way to force it to show all of the dates (June 23-June 27)?


Dean

  • Support Staff

March 28, 2014 at 1:32 am

Hi,

It can be done but requires a template edit.

in the shopping_cart.php at approx line 79 you will see this

<?php echo event_date_display( $r->start_date, get_option( 'date_format' ) ) ?>

change it to this

<?php echo event_date_display( $r->start_date, get_option( 'date_format' ) ) . ' - ' . event_date_display( $r->end_date, get_option( 'date_format' ) ) ?>

If you copy the shopping_cart.php template over to wp-content/uploads/espresso/templates and edit the file there, updates will not over write the changes.

Viewing 1 reply thread

The support post ‘Only First Day of Weeklong Event Showing in Cart’ 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 - Staging Server