Home › Forums › Calendar Products › Events Calendar PRO › How to make the Cost field, a straight text field
- This topic has 4 replies, 2 voices, and was last updated 8 years, 11 months ago by
bbswebmaster.
-
AuthorPosts
-
May 10, 2017 at 10:34 am #1281845
bbswebmaster
ParticipantI would like to be able to use the Cost field to display straight text as we have different prices with descriptions to show. For example this is what we want it to show:
Premium Members: $90 Other Members: $115 Non-Members: $135
However even with the code snippet mentioned below… it still defaults to showing a range of $90-135.
We used to be able to put in just plain text and whatever was listed showed. How do we fully restore this or change the field to a larger text field?
I already found and tried what is mentioned in these two threads:
I can share my clients license key, but would prefer to do it privately if needed.
May 11, 2017 at 11:00 am #1282471Victor
MemberHi Vincent!
Thanks forĀ getting in touch with us! š
Let me help you with this.
I tried the following code and it works for me:
https://gist.github.com/barryhughes/21c4e2fc52aec514cc9c#file-snippet_verbatim_costs-php
I evenĀ input the cost like you stateĀ (Premium Members: $90 Other Members: $115 Non-Members: $135) Without the snippet it shows $90 – $135, but with the snippet in place it shows the full text.
Just to make sure, are you placing the code into your theme’s functions.php file?Ā If so, then remember not toĀ copy the opening “<?php” tag.
Let me know how it goes.
Best,
VictorMay 11, 2017 at 12:07 pm #1282512bbswebmaster
ParticipantThanks Victor. That was it. I placed the code in the wrong place.
DOH!
Vincent Wondra
President
The BBS Agency
920-786-8438
thebbsagency.com
[email protected]*In an effort to handle all support requests in a more expedient manner,
please send all support requests or requests for urgent assistance directly
to [email protected] **If your matter requires my personal attention, I will reply to your email
as soon as I am able. If you require my immediate attention, please call
me.*Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, copy, use, disclosure, or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.May 11, 2017 at 6:41 pm #1282679Victor
MemberRight on Vincent!
I’m so glad you could sortĀ it out! š I appreciate you following up to let us know. Definitely keep us posted if any other questions come up and we’d be happy to help.
Cheers!
Victor -
AuthorPosts
- The topic ‘How to make the Cost field, a straight text field’ is closed to new replies.
