Home › Forums › Calendar Products › Events Calendar PRO › Cost FREE appears even when blank
- This topic has 5 replies, 4 voices, and was last updated 10 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
December 29, 2015 at 1:14 pm #1047920
rstoeber
ParticipantWe have over 500 events in the system, scattered across a few years. Almost all of those were entered with blank as the cost because and we include the prices, if any, in the description. For 2016 we decided to try allowing RSVP reservations using the Event Tickets option. That looks like it will be a very handy solution for us – saving a lot of time and confusion at the events.
The only problem I noticed relates to the Cost field. After installing the Event Tickets plugin the Cost option did go away, as expected, from the add/edit event page. However, after I added a test event using tickets for the first time, the basic “Cost: Free” line appears on that event’s detail section.
I did some reading and found this code snippet which should add the basic Cost item back in the event admin (and it did):
add_filter( ‘tribe_events_admin_show_cost_field’, ‘__return_true’, 100 );
That returned the ability to edit the basic cost and I found it set to zero for my test event with tickets. So I made the basic cost blank and saved it. However, the Cost: Free is still showing on the event detail page. I went back to the edit page and the cost is definitely blank, but it always shows up as FREE on the detail page for users.
I hope this is an easy fix because we can’t use the Event Tickets (RSVP) where the ticket has a price, if the event detail says FREE.
Have a Happy New Year!
December 31, 2015 at 7:49 am #1048546christoffer
ParticipantMany have the same problem 🙁
January 4, 2016 at 3:59 pm #1050097Cliff
MemberHi.
Please clarify. Are you wanting a cost field of “blank” or “0” (zero) to NOT appear as free?
Thanks for your question.
January 4, 2016 at 4:12 pm #1050102rstoeber
ParticipantCorrect. I need a way to completely disable the Cost line that appears in the event details area under the date and time.
For example, right now I have an event where I’m trying to use the Event Tickets for RSVP. Each reservation (ticket) is $55. But I can’t get rid of the thing that says Cost: Free.
If I leave the basic event cost blank I get Cost: Free. So I put 55.00 in the basic event cost and now I get Cost: Free – $55.00. Which is really confusing.
I don’t want to modify the code myself if I don’t have to – this just looks like a bug since the instructions clearly say “Enter a 0 for events that are free or leave blank to hide the field.”
January 5, 2016 at 4:34 pm #1050797Cliff
Member1)
This snippet may help you find all events with Cost Field set: https:// gist.github.com /cliffordp/71a343dd9956b1303dee#file-events_with_cost-php
(without the spaces in the URL)2)
Would you mind grabbing your system information and pasting it here? Make sure to use the “Set as private reply” checkbox to protect your private information from the public.
You can find the system info by going to WP Admin > Events > Settings > Help tab > System Information section — or by going to [yoursite]/wp-admin/edit.php?page=tribe-common&tab=help&post_type=tribe_events#tribe-system-info
That will give me a lot of extra information to help make sure I’m providing you the best support.
Thanks!
February 18, 2016 at 8:33 am #1076485Support 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 ‘Cost FREE appears even when blank’ is closed to new replies.
