Price in single event view

Home Forums Welcome! Pre-Sales Questions Price in single event view

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #914184
    sanadome
    Participant

    I have WooCommerce Tickets/event calender. Since the update to 3.9 the event view shows the price of the latest added ticket (i have several tickets for 1 event)
    It is confusing when it shows 1 price while there are 5 different prices.
    How can i remove the price here?

    #914214
    Geoff
    Member

    Hi thereĀ Martijn! Thanks for getting in touch and welcome to the forums. šŸ™‚

    Good question. The best way to remove the price field from the single event view is to override theĀ details.php template file. To do this:

    • Make a copy of the file. It’s located at /plugins/the-events-calendar/views/modules/meta/details.php
    • Create a new folder in your theme directory called tribe-events
    • Create a new subfolder in there calledĀ modules
    • Create a new subfolder in there calledĀ meta
    • Drop your copied template file in there

    Once the template is in your theme folder, you can customize it to suit your needs. In this case, delete lines 91-98, which removes theĀ tribe_get_formatted_cost() function from the template.

    Give that a shot and let me know if it does the trick. šŸ™‚

    Cheers!
    Geoff

    #920042
    Geoff
    Member

    Hey there, Martijn!Ā Just checking in to see if thereā€™s been any further update or if you still need assistance on this one–let me know. šŸ™‚

    Cheers!
    Geoff

    #920740
    sanadome
    Participant

    It is working great now!
    thanks

    #921075
    Geoff
    Member

    Sweet, that’s great news! Great work.

    I’ll go ahead and close this thread, but please feel free to hit us up with a new one if any other questions pop up. We’d be happy to help. šŸ™‚

    Cheers!
    Geoff

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Price in single event view’ is closed to new replies.