Is there a way which I can use filter to override the html in the multi registration checkout cart?
More specifically, I would like to modify the _ticket_qty_input function within EE_Event_Cart_Line_Item_Display_Strategy.php. I don’t want to jump to modifying the actual addon if possible.
I checked into this and currently, you can’t override the display strategy used.
Whilst you technically could override the template and then load your own display strategy there, the ajax requests sent when editing the cart would then use the default display strategy.
I’ve opened up a ticket to double-check I’m not missing something for this.
Thanks for your reply Tony. I was trying to modify one of the private function to include a category check. So that specific html class can be included. So from what I am getting, the only way is to modify the add on itself.
Hi Tony, I’m trying to add class based on the event category the event was in. So each of the line item can be some how identified.
I could do that in _event_row but the _ticket_row
Any recommendation on those?
I will take a look at FHEE__EE_Event_Cart_Line_Item_Display_Strategy___ticket_row__html
Viewing 4 reply threads
The support post ‘Overriding checkout cart html’ 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.