Support

Home Forums Event Espresso Premium Ticketing Fee displays on Step 2

Ticketing Fee displays on Step 2

Posted: September 17, 2018 at 7:40 pm

Viewing 5 reply threads


Adam Bowie

September 17, 2018 at 7:40 pm

Hey guys,

We asked last year about how the ticketing fee is appearing on Step 2 of the registration/checkout process. Currently it is showing the fee already added into the ticket price AND showing it itemized underneath. This is confusing for the purchaser. Tony said it had something to do with an update to the core plugin and would check on it but we never heard back in this thread….

https://eventespresso.com/topic/ticketing-fee-or-surcharge-show-as-separate-item-on-registration-checkout-page/

Is there any update on this?

Here is a screen shot of what I mean. Our ticket is $34.99 with 8.6% fee added on. As you can see it says the price is $37.96 but also shows the 2.97 fee separate.

https://cl.ly/b5ea5748f72b


Josh

  • Support Staff

September 18, 2018 at 7:06 am

Hi Adam,

You can remove the sub item from the display by adding the following code to your site:

add_filter(
    'FHEE__EE_SPCO_Line_Item_Display_Strategy__display_line_item__display_sub_line_items',
    '__return_false'
);

You can add the above to a functions plugin or, if applicable, into your WordPress child theme’s functions.php file.


Adam Bowie

September 18, 2018 at 5:27 pm

Sorry, perhaps my colleague who submitted this did not clarify our problem well.
We are trying to first display the BASE price of the ticket, just as it does in the ticket selector.

The subitem would show the add-on fee (price modifier) – no adjustment needed here.
Like this:
example subtotal line EventEspresso

Here is a link if the image above does not show: https://cl.ly/f9a27b13e497

What is confusing is the subtotal shows a price above the line showing the add-on price.

This is not the way subtotals typically show prices.
For example, dinner costs $50. The subtotal will show $50.
Then there is typically a line for Tax and perhaps a line for Tip.
Then the Final Total will show the combined price of all of these.

This came up once before and Tony commented in a way that makes me believe there is a to show the base price without modifier in the first line…but unfortunately neither Tony or I continued to follow up.

Here is an excerpt from that ticket: https://cl.ly/159209e901f6
At the bottom of this ticket: https://eventespresso.com/topic/ticketing-fee-or-surcharge-show-as-separate-item-on-registration-checkout-page/

Please let me know if it is still not clear what we are trying to do.

As always, very very appreciative of you guys. Been huge fans for a very long time!!


Josh

  • Support Staff

September 18, 2018 at 9:55 pm

Hi,

It is clear what you’re trying to do. Also, Tony did make a ticket for the developers about this. One of the developers did make some further changes to the way the line items are displayed there, but I’m afraid the end result isn’t what you’re looking for.

Truth be told, the code within the Line item display strategy handles a lot of different scenarios (there’s the potential for multiple events, multiple ticket types, tickets with no price modifiers, tickets with price modifiers like discounts and surcharges or taxes). So there’s a lot of moving parts and sadly almost everything in there is hard-coded in with no filters or options to change things.

As you’ve noted there is still room for improvement or at least some flexibility added to allow for changing the way the line items are displayed. Currently the only filter hook in that area of the code is the one I shared with you that allows for toggling off/on the display of the sub-line items.

I can check with Tony about this tomorrow to see if that ticket can be revisited, and maybe the developers can go further than what was done then.


Adam Bowie

September 18, 2018 at 10:41 pm

Josh – you guys are so frigging awesome. We are up late hammering away for ticketing that launched today…and here you are too, replying at this late hour. Really appreciate it.

We are going to do a dirty work around with some CSS for the moment – but it is not going to be pretty.

If you could kindly check if a solution might be possible, we would be very grateful. This is for a big haunted house, and some of the cast from the new Halloween movie will be there on opening weekend including the new Michael Myers – tickets powered by EventEspresso. Only mentioning to let you know that we will DEFINITELY put this to good use if you are able to solve it 🙂 We will have a TON of traffic and I hate using the workaround in a situation like that.

I do think that others would benefit as well. Just seems like a good use case and one that would improve the product. We know it is very complex always tweaking things for so many uses, so appreciate you looking into it. Every year we come back and use EE because you continue to be the best solution in the wordpress

Again, thanks- we will keep our fingers crossed, and monitor closely for a response.

Best,
Adam


Josh

  • Support Staff

September 19, 2018 at 1:43 pm

Hi Adam,

I added a few filter hooks to core today, so in the next release update of Event Espresso 4 you can add the following code to also add the base price to the display:

add_filter(
    'FHEE__EE_SPCO_Line_Item_Display_Strategy___sub_item_row__hide_main_sub_line_item',
    '__return_false'
);

After your site has been updated to 4.9.68.p you can add the above to a functions plugin or into your WordPress theme’s functions.php file.

The release candidate for 4.9.68.p is available to download from GitHub:
https://github.com/eventespresso/event-espresso-core

Viewing 5 reply threads

The support post ‘Ticketing Fee displays on Step 2’ 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