• Resolved tydirium

    (@tydirium)


    Dear authors,

    First of all, many thanks for all of these useful plugins making available for the website developer community.

    I originally used Events Calendar plugin standalone, now I installed the Tickets add-on (free versions from both). When I created my first event with RSVP I sadly seen that event cost fields are gone and the event is shown as free of charge. This is a serious problem – might be a bug, at least on logical level – as that is one thing I do not sell tickets online, but the fact I collect registrations via my website does not necessarily mean that the event is free.

    My question is how to retrieve event cost form fields to give the real price, or at least how can I hide the cost fields which show misinformation on my front-end.

    Thanks in advance

    https://www.ads-software.com/plugins/event-tickets/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor GeoffBel

    (@geoffbel)

    Good evening tydirium,

    Thank you for the great words! We really appreciate it.

    To answer your question, this is actually not a bug. The Event Tickets add-on does not contain any price field. In order to get such a field, you would have to use a different premium add-on.

    That being said, you can probably hide the “Free” mention using CSS or by taking a look at our Themer’s guide.

    Have a great day!

    Geoff B.

    Thread Starter tydirium

    (@tydirium)

    Dear Geoff,

    Thank you for your quick reply. Lack of price field is not a big issue, I just mentioned it because it is the part of the original package.

    I have already investigated the code and the fields on the website cannot be hidden by CSS as they have no separate styles or ID-s which could be set to such behaviour. I will check your second idea, modifying the source code which I have feared because of the updates, but with this method it could be done safely.

    Thanks for the idea and the outstanding documentation, I will report about the hoped success.

    Hi. This information may help: if you use The Events Calendar plugin and want to sell tickets (not just free RSVP tickets), we offer a paid add-on: Event Tickets Plus

    Thread Starter tydirium

    (@tydirium)

    Dear Clifford,

    Thank you for your kind offer, but our customers don’t prefer buying tickets online, so the add-on is not suitable for us, and our budget for development does not allow buying this license anyway.

    Regards,
    Attila

    Lee Honeycutt

    (@alpinelakesdesign)

    Is it possible to use the Event Tickets Plus plugin and *NOT* use it with WooCommerce? My client wants to show the price of each event, but only wants her customers to reserve a spot for the event, not pay for them online. Payment would be made at the door of the event.

    I find it hard to believe that cost was a field in an earlier version of the free plugin, but was subsequently removed. What purpose could there be for that other than to nudge people into the paid plugins.

    I have clients who use the Plus version of the plugin to sell online, but this particular client would prefer that people pay in person when they arrive. Surely she shouldn’t have to purchase the Plus version and install WooCommerce just to achieve this.

    — Lee

    Plugin Contributor GeoffBel

    (@geoffbel)

    @attila

    Good news, you can add the cost field back in Event Tickets: https://theeventscalendar.com/knowledgebase/use-the-event-cost-field-with-tickets-installed/

    @lee Yes, you can use the Event Tickets Plus plugin with many e-commerce plugins. See the details here: https://theeventscalendar.com/product/wordpress-event-tickets-plus/

    Daniel

    (@ddumondgmailcom)

    Does anyone know why it might display the price with the word “Free – ” before it?

    Thanks!

    Plugin Contributor GeoffBel

    (@geoffbel)

    Hey @daniel,

    This might happen when you have either an Event Tickets Plus ticket that has a price of 0 or when you are using RSVP tickets in combination with another ticket type.

    We do have a snippet to remove the word free should you want to: https://theeventscalendar.com/support/forums/topic/how-do-you-remove-free-from-list-view-when-using-free-event-tickets-plugin/#post-1185605

    Let us know how that goes.

    Best regards,
    Geoff B.

    Daniel

    (@ddumondgmailcom)

    Thanks @geoffbel, but this solution does not work — When I implement your code above it completely removes the price from the front and backend.

    I ended up finding the solution in your forums… The below code returns the price field in the backend and removes “FREE -” from the cost in the frontend.

    function use_cost_field( $cost, $post_id ) {
     
        $currency = tribe_get_event_meta( $post_id, '_EventCurrencySymbol', true );
        $new_cost = get_post_meta( $post_id, '_EventCost', true );
     
        if ( $new_cost > 0 ) {
            $new_cost = $currency . ' ' . $new_cost;
        } else {
            $new_cost = $cost;
        }
     
        return esc_html( $new_cost );
    }
     
    add_filter( 'tribe_get_cost', 'use_cost_field', 100, 2 );
    add_filter( 'tribe_events_admin_show_cost_field', '__return_true', 100 );

    Cheers!

    • This reply was modified 8 years ago by Daniel.
    Plugin Contributor GeoffBel

    (@geoffbel)

    Hey Daniel,

    This is awesome stuff!
    Kudos.

    Have a great day!

    Geoff B.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Cost information issue’ is closed to new replies.