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
Shopping Cart to show End Date also | Event Espresso - Staging Server

Support

Home Forums Multiple Event Registration Shopping Cart to show End Date also

Shopping Cart to show End Date also

Posted: March 28, 2013 at 8:37 am

Viewing 4 reply threads


Francis Porter

March 28, 2013 at 8:37 am

Hi Is it possible in the shopping cart to have instead of ‘DATE’ field showing just the START date for it to also show the END date?

WP 3.5.1
3.1.30.7P Business Licence
http://www.fpdesigntest.co.uk/quest/event-registration


Sidney Harrell

  • Support Staff

March 28, 2013 at 8:55 am

You’ll want to copy the two files, event_list.php and event_list_display.php from plugins/event-espresso/templates to uploads/espresso/templates
Then in the copy in uploads, change line 75 of event_list_display.php to be:

<p id="event_date-<?php echo $event_id ?>"><span class="section-title"><?php _e('Date:', 'event_espresso'); ?></span>  <?php echo event_date_display($start_date, get_option('date_format')) . " - " . event_date_display($end_date, get_option('date_format')) ?>


Francis Porter

March 28, 2013 at 9:12 am

I have just done this but nothing seems to have changed. I have already edited the event_list_display.php file so just updated the version in uploads/espresso/templates.
Any ideas?


Josh

March 28, 2013 at 11:34 am

Hi Francis,

Sidney’s instructions were for the event list, if you want to modify how the date is displayed on the cart page, you can adapt the sample code into shopping_cart.php where it displays the date.


Francis Porter

March 29, 2013 at 8:09 am

Excellent – got this. Thanks

Viewing 4 reply threads

The support post ‘Shopping Cart to show End Date also’ 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