Support

Home Forums Event Espresso Premium Add event date after item name at checkout (step 2) EE4.6.18.p

Add event date after item name at checkout (step 2) EE4.6.18.p

Posted: April 7, 2015 at 2:53 pm

Viewing 6 reply threads


gsbrva

April 7, 2015 at 2:53 pm

On Single Page checkout step 2, I would like add the event date (and possibly time) after the item titles. I’m concerned that my customers will hesitate at this point, since many of our events have identical names.

I set up plugins for site specific php and css, as well as using po/mo files to customize the text. That has all worked great and the checkout is really cleaned up for our use.

Beyond that, I’m a little clueless on php and css. I never saw either until last week. What would be the best way to substitute the data I need?

Thanks,
Greg


Dean

April 8, 2015 at 3:58 am

Hi Greg,

I trawled through the code for this and it looks like it is not possible to do without editing a core file (which we do not recommend, nor support).

Sorry about that.

I can add a feature request for a filter to be added to the name of the ticket, but I cannot guarantee inclusion.


Josh

  • Support Staff

April 16, 2015 at 3:14 pm

Hi Greg,

A little note about Event Espresso 4.6.20.p, which was released today. It includes the new filters that Dean requested to allow adding dynamic content to the line item name and the description.

They are:
FHEE__EE_SPCO_Line_Item_Display_Strategy__item_row__name
and
FHEE__EE_SPCO_Line_Item_Display_Strategy__item_row__desc


gsbrva

April 22, 2015 at 1:28 pm

Thanks! I’ll give it a try


gsbrva

April 23, 2015 at 7:00 am

It’s a little over my head: I looked at the filter hooks you gave and I’m not seeing how to add date-times to it. I searched for date-times in the code and I’m not seeing an obvious function that is part of the checkout. I thought maybe I could just borrow the function that puts the date-time on the event page when you select it in the calendar. I was hoping to use add_action, do_action in the event of FHEE__EE_SPCO_Line_Item_Display_Strategy__item_row__desc

Probably way off base here and I’d be grateful for some pointers.

Thanks, Greg


Lorenzo Orlando Caum

  • Support Staff

April 23, 2015 at 1:07 pm

Hi Greg, here is an example created by a team member:

https://gist.github.com/mnelson4/5f800aaffedc9c794b3f

It can be added to your child theme’s functions.php or a site specific plugin.


Lorenzo


gsbrva

April 23, 2015 at 2:14 pm

Thanks very much! That is exactly what I needed.

Viewing 6 reply threads

The support post ‘Add event date after item name at checkout (step 2) EE4.6.18.p’ 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