Show fixed price Post date Home › Forums › Ticket Products › Event Tickets Plus › Show fixed price This topic has 9 replies, 2 voices, and was last updated 7 years, 11 months ago by Henning. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts May 23, 2018 at 2:53 am #1536854 HenningParticipant Hi there! I need to have “Eintritt: 3€” shown, but can’t get it right when using the single-event.php from events. http://piccolino.3t-design.de/event/piccolino-5-8-in-bremen?tickets_process=#buy-tickets When I edit it, it’ll show 3€ and the buy button, but all the rest is gone… Anybody got the right lines of code for me? May 23, 2018 at 5:02 am #1536905 Jaime MarchwinskiKeymaster Hi Henning, Thanks so much for reaching out! You can try using the following snippet to change the wording there: add_filter( 'tribe_get_cost', function( $cost ) { return str_replace( 'Free - ', '', $cost ); } ); Let me know if that helps! Thanks, Jaime May 23, 2018 at 1:41 pm #1537403 HenningParticipant Hi Jaime! Thanks for the code! This goes into the single-event.php? Do I place it after do_action( 'tribe_events_inside_cost' ) ?> May 24, 2018 at 4:35 am #1537809 Jaime MarchwinskiKeymaster Hi Henning, You can add this to your theme’s functions.php file. Let me know how it goes! Thanks, Jaime May 24, 2018 at 2:06 pm #1538353 HenningParticipant Nope, that didn’t do it :-/ See for yourself: http://piccolino.3t-design.de/event/piccolino-5-8-in-bremen May 25, 2018 at 4:43 am #1538640 Jaime MarchwinskiKeymaster Hi Henning, In other words, are you looking for the field to look like this? Eintritt: 3€ Let me know! Thanks, Jaime May 25, 2018 at 5:47 am #1538664 HenningParticipant Exactly 🙂 May 25, 2018 at 10:47 am #1538979 Jaime MarchwinskiKeymaster Hi Henning, You can apply the following snippet in the functions.php file of your theme (without the PHP tag at the top) as a starting point: https://gist.github.com/GeoffEW/69f8a033fb614c78b3de45a197431135 What this will do is display whatever value you input in the event cost field and disregard the ticket prices. Let me know if that helps! Thanks, Jaime May 25, 2018 at 2:24 pm #1539141 HenningParticipant *thumbsup* Problem solved 🙂 May 29, 2018 at 4:13 am #1540593 Jaime MarchwinskiKeymaster Glad we could help, you are welcome back in our support forums any time! Since you marked this thread as Resolved, I am going to close this thread. Have a great week! Author Posts Viewing 10 posts - 1 through 10 (of 10 total) The topic ‘Show fixed price’ is closed to new replies. → Please verify your API key is correctly entered on the settings