Home › Forums › Ticket Products › Event Tickets Plus › Event with multiple ticket prices, but only one price showing in the H3 area
- This topic has 5 replies, 2 voices, and was last updated 11 years ago by
Geoff.
-
AuthorPosts
-
April 7, 2015 at 6:29 am #953678
Alison
ParticipantI have an event with differently priced tickets. But in the h3 area, only one price, the higher one, is showing up.
I need to get all 3 prices to display in this area.
Or, I need to disable this display. I’ve tried added CSS to the child theme, but this hasn’t worked:
# .tribe-events-cost {
display: hidden !important;
}Please tell me how this is done.
Thanks,
Alison
April 7, 2015 at 7:49 am #953713Geoff
MemberHi there, Alison! Thanks for getting in touch and welcome to the forums. š
Good question and you’re correct: the highest price of the ticket range is the cost that displays in that area.
The CSS is very close. Give this a try in your style.css fileĀ instead:
.single-tribe_events .tribe-events-schedule .tribe-events-cost { display: none; }You may also want to remove the divider before the cost:
.single-tribe_events .tribe-events-schedule .tribe-events-divider { display: none; }You shouldn’t need to useĀ !important but give that a try as well if the cost is still displaying for you to see if that has an effect.
Let’s give this a shot and see what we get. š
Cheers!
GeoffApril 7, 2015 at 9:18 am #953750Alison
ParticipantHi, Goeff.
thanks for your speedy response. The CSS you provided worked. But I now realize I need to also disable the word “Cost” and the highest ticket price in the details section.
Or, ideally, it would list all the prices of all the tickets.
I’m referring to the area that includes the event and event organizer details.
Please let me know what I should do here.
Thanks,
AlisonApril 7, 2015 at 9:53 am #953760Geoff
MemberHi Alison, thanks for following up!
Getting all costs in there might be a little tricky, but we can certainly remove them. I’d suggest overriding the templates here to remove the instances where the cost shows up.
For example, let’s remove the cost from the meta box where the event and organizer details are on a single event.Ā To do this:
- Make a copy of theĀ details.php file–it’s located at /plugins/the-events-calendar/views/modules/meta/details.php.
- Head to your theme directory and make a new folder calledĀ tribe-events
- Make a new folder in that one calledĀ modules
- Make a new folder in that one calledĀ meta
- Drop the copiedĀ details.phpĀ file in there
Now that the file is in your theme, it can be modified to suit your needs. In this case, delete the lines that deal with the cost (Lines 92-98 for me).
I think this is a better route than CSS since it fully removes the information rather than hiding it. š
Geoff
April 7, 2015 at 10:19 am #953774Alison
ParticipantThanks, Geoff.
Works great!
Now I’m going to try to disable the email with the tickets and the email that says tickets will be sent by email. (I see that it is addressed in the forum. So I’ll try that.) I would suggest that you consider adding these things in the future:
1) list all ticket prices
2) provide ability to disable ticket emailing and/or change the email message that is sent in general or for specific events. (Your tickets will be held for you at the door / Your tickets will be emailed to you / Your tickets will be sent in the mail.)April 7, 2015 at 5:13 pm #953910Geoff
MemberFantastic, thanks for following up here Alison!
Those are solid suggestions indeed. If you have a moment, would you mind adding those over on our UserVoice forum? We track new feature requests there and I think it would be great to see these considered. š
I’ll go ahead and close this thread, but do please feel free to start a new thread if any other questions pop up–we’d be happy to help.
Cheers!
Geoff -
AuthorPosts
- The topic ‘Event with multiple ticket prices, but only one price showing in the H3 area’ is closed to new replies.
