Home › Forums › Ticket Products › Event Tickets Plus › Show hightest priced ticket price in case of multiple tickets
- This topic has 4 replies, 3 voices, and was last updated 10 years ago by
Support Droid.
-
AuthorPosts
-
April 19, 2016 at 4:36 am #1104146
marlieinthesouth
ParticipantHi,
Hi, we’ve got a normal ticket, or a “reserve your spot” deposit. We need to show the hightest priced ticket (e.g 150€) price instead of “lowest to hightest “( e.g 50 to 150€).`
I have use the
<?php echo tribe_get_maximum_cost ( ) ?>you have given here: https://theeventscalendar.com/support/forums/topic/show-hightest-priced-ticket-price-instead-of-lowest/.It works but we lost the currency information (i.e it shows : 150)
Also how can I change this on the event list page?
April 19, 2016 at 11:03 am #1104445George
ParticipantHey @Marlieinthesouth,
Thanks for reaching out!
Instead of just tribe_get_maximum_cost(), does anything improve if you use tribe_format_currency( tribe_get_maximum_cost() )?
So instead of this:
<?php echo tribe_get_maximum_cost(); ?>You would do this:
<?php echo tribe_format_currency( tribe_get_maximum_cost() ); ?>I hope this helps!
GeorgeApril 20, 2016 at 5:13 am #1104764marlieinthesouth
ParticipantHi @george,
thanks it works great !
In which should I do the same to change this on the event list by month ?I have also a second issue, although I had unchecked it in my event setting, the option” Don’t list me on the public attendee list” is showing on the event
thanks for your help
April 21, 2016 at 12:55 pm #1105605George
ParticipantHi there,
You asked this follow-up question:
In which should I do the same to change this on the event list by month ?
I am not 100% certain what you mean, unfortunately, but I think you are trying to make this change in the month view too?
The best way to make these changes is just to use a “Find in folder” feature of a text editor software, like Sublime Text. Use that feature to find all instances of the function tribe_get_cost(), and then replace that function with the code I shared above.
In regards to the second issue, what you describe is not behavior I can recreate. We do not have a known bug of that behavior either.
I would recommend opening a new thread on these forums that describes that problem. Be sure to include your ‘System Information’ when doing so, which you can learn to do here → https://theeventscalendar.com/knowledgebase/sharing-sys-info/
Thank you!
GeorgeMay 6, 2016 at 9:35 am #1111525Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Show hightest priced ticket price in case of multiple tickets’ is closed to new replies.
