How to make the Cost field, a straight text field

Home Forums Calendar Products Events Calendar PRO How to make the Cost field, a straight text field

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1281845
    bbswebmaster
    Participant

    I 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:

    Cost field used to support text

    Cost Format

    I can share my clients license key, but would prefer to do it privately if needed.

    #1282471
    Victor
    Member

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

    #1282512
    bbswebmaster
    Participant

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

    #1282679
    Victor
    Member

    Right 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to make the Cost field, a straight text field’ is closed to new replies.