Support

Home Forums Event Espresso Premium See date on checkout

See date on checkout

Posted: August 11, 2016 at 1:56 am

Viewing 4 reply threads


Zack

August 11, 2016 at 1:56 am

I need to be able to show the date of the ticket on the check page. It’s important for the user to be able to see what day they are booking. Is there any way to add this? I’m looking at the code. Seems to be the EE_Event_Cart_Line_Item_Display_Strategy::_ticket_row method but I’m not seeing any hooks or anything to work with for this.


Josh

  • Support Staff

August 11, 2016 at 2:10 pm

Hi Zack,

It turns out Mike has a snippet that uses the FHEE__EE_SPCO_Line_Item_Display_Strategy__item_row__desc filter from EE_SPCO_Line_Item_Display_Strategy’s _ticket_row() method. The snippet adds the date and time along with the other line item info. Here’s a link to that gist:

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


Zack

August 13, 2016 at 1:20 am

Thanks Josh. That’s great I’ll have a go with that.


Zack

August 13, 2016 at 2:03 am

Is this compatible with the multiple registration plugin though as the snippet doesn’t do anything for me.


Tony

  • Support Staff

August 13, 2016 at 12:59 pm

It is compatible with MER, however the above snippet only changes the line items on the payment options step.

If you want the details to included within all of the line item outputs you can add:

add_filter( 'FHEE__EE_Default_Line_Item_Display_Strategy__item_row__desc', 'ee_revise_registration_checkout_line_item_desc', 10, 3);

Just after the above snippet to change the default output.

Is that what you are looking for?

Viewing 4 reply threads

The support post ‘See date on checkout’ 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