Event cost – add tax field

Home Forums Calendar Products Events Calendar PRO Event cost – add tax field

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1021944
    Jason Koning
    Participant

    Hi there,
    When adding a cost to an event you can obviously only use numbers in this field (which is fine) but I need to add some text to this to specify whether or not the cost is inclusive or exclusive of tax.
    So in my case either ‘+ GST’ or ‘inc GST’
    I know I can add an additional text field, but how can I control where that appears on the front end?
    I’d prefer for this field to appear next to the price if at all possible.
    Here’s an example screenshot: http://i.imgur.com/z4jlKs1.jpg
    Any help much appreciated.
    Thanks,
    Jason

    #1022154
    Geoff
    Member

    Hey Jason,

    Good question. Additional fields are a good way to go for sure. If you create an additional text field, you can then override the template for event details to remove it from where it currently displays and place it with the cost information instead.

    Our Themer’s Guide has a lot more information on template overrides. The specific templates you are looking for are:

    • additional-fields.php – located in /events-calendar-pro/src/views/pro/modules
    • details.php – located in /the-events-calendar/src/views/modules/meta/

    From there, you can either copy and paste the addition fields code from the first template into the second, or use the tribe_get_custom_field() function to call that specific additional field in the second template.

    Cheers!
    Geoff

    #1075403
    Support Droid
    Keymaster

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Event cost – add tax field’ is closed to new replies.