Event with multiple ticket prices, but only one price showing in the H3 area

Home Forums Ticket Products Event Tickets Plus Event with multiple ticket prices, but only one price showing in the H3 area

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #953678
    Alison
    Participant

    I 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

    #953713
    Geoff
    Member

    Hi 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!
    Geoff

    #953750
    Alison
    Participant

    Hi, 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,
    Alison

    #953760
    Geoff
    Member

    Hi 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

    #953774
    Alison
    Participant

    Thanks, 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.)

    #953910
    Geoff
    Member

    Fantastic, 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Event with multiple ticket prices, but only one price showing in the H3 area’ is closed to new replies.