Support

Home Forums Event Espresso Premium Sub-Item base price

Sub-Item base price

Posted: November 27, 2024 at 12:47 pm

Viewing 7 reply threads


BG

November 27, 2024 at 12:47 pm

Good evening, I don’t know when this started but at some point the ticket booking form on our website had started displaying the Sub-Item base price. I don’t want this row to show up at all.
Can you let me know how to turn it off.
I have included a screenshot showing how it currently looks – https://snipboard.io/g73sPu.jpg


BG

November 27, 2024 at 6:43 pm

Quick update, I seem to have managed to get rid of the sub-item using this code in the functions.php.

add_filter(
‘FHEE__EE_SPCO_Line_Item_Display_Strategy__display_line_item__display_sub_line_items’,
‘__return_false’
);

Can I also hide the sub-total field? See screenshot – https://snipboard.io/Lf5Bc2.jpg

It would be helpful to have this as an option to turn on and off in the backend of the WordPress.


Tony

  • Support Staff

November 28, 2024 at 2:42 am

Hi there,

Glad you found a solution for sub line items 🙂

Can I also hide the sub-total field? See screenshot – https://snipboard.io/Lf5Bc2.jpg

Not officially no, but with a little CSS hackery you can:

#spco-payment-info-table tr.total_tr:not(.spco-grand-total):not([id]) {
    display: none;
}

I’ll look into adding a filter for this in a future version.

It would be helpful to have this as an option to turn on and off in the backend of the WordPress.

With the sheer amount of different ways people want to output ‘things’ we have to be really selective over what options we add into the admin. The reason being is it will soon end up with just a wall of options that no-one uses or gets lost in.

So using filters to allow the users that do need to make change to add a snippet to change the output has been the route we’ve chosen so far. That may change in the future (although right now there’s nothing in the pipe line) but as of now there’s a lot of customization available within EE whilst keeping the options sections within EE fairly minimal.


BG

November 28, 2024 at 3:09 am

Hi Tony, that’s great. Appreciate your reply. Currently in process of developing a new version of the site but finding things that were right on the existing website have started to display differently like the ones discussed above.

Another weird issue can be seen on this page – https://snipboard.io/NbGnO8.jpg

It is the symbol before the word details in the table. Don’t know how to get rid of it. It looks like an f but isn’t and I can’t even highlight it?


Tony

  • Support Staff

November 28, 2024 at 4:39 am

In your child themes CSS you have this:

th.ee-ticket-selector-ticket-details-th:before {
    content: "\66";
    font-family: 'ee-dashicons' !important;
}

So its trying to load a dashicon icon on that section.

But…. in the browser console you can see:

Failed to load resource: the server responded with a status of 404: https://theukweddingevent.co.uk/wp-content/uploads/espresso/fonts/ee-dashicons.woff

So at some point someone loaded the ee-dashicons from /uploads/espresso/fonts/ee-dashicons.woff (we don’t load that font from there) and it’s now not available?


BG

November 30, 2024 at 8:34 pm

Not sure to be honest, but we have managed to get it working now by adding the missing file back!

Another issue has been discovered too.

Something appears to have changes since one of the recent updates.

If the user was to select tickets for two different time slots on our website for an event, both selections used to appear at first check-in page.

Now it is only showing the first choice.

I have had my developer look at it as well and he said:

The new site uses 5.0.29.p whereas the existing site has been updated to 5.0.31.p

so I think there’s something in those tiny version bumps where something has broke.

I know this as our test site for the new website is running the older version and I did try upgrade the same problem occurred as on the main website (theukweddingevent.co.uk).

I have attached screenshots (these are both taken from the test domain) but the same point still stands.

In this example I selected two different times but only the first ones shows running the latest version of EE – https://snipboard.io/lU3E9R.jpg

Roll it back to the older version and you get both selections showing – https://snipboard.io/PuCNdJ.jpg

Let me know your thoughts.

Kind Regards

Rob


Tony

  • Support Staff

December 2, 2024 at 7:26 am

Hi Rob,

Yeah, I can reproduce that and have created a ticket for our developers to investigate further.


BG

December 2, 2024 at 7:30 am

Thanks for coming back to me. Let me know when you have a fix. Regards Rob

Viewing 7 reply threads

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso