Add Event Ticket Buy link to List Widget

Home Forums Calendar Products Events Calendar PRO Add Event Ticket Buy link to List Widget

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1527019
    thereelscene
    Participant

    Hi

    I have the List Widget displaying events on my homepage (The Events Calendar PRO) and I’d like to have a link to buy a ticket displayed for each item, i.e. “BUY a Ticket (10 spots remaining)” and “SOLD OUT” displayed if there are no spots left.
    Do you have some tips on how to customise list-widget.php in this way? I’m comfortable with PHP and WordPress dev 🙂

    Cheers

    #1527854
    Jennifer
    Keymaster

    Hello,

    Thanks for reaching out!

    You can make this customization by doing a template override…the template for this can be found at wp-content/plugins/events-calendar-pro/src/views/pro/widgets/list-widget.php. To add in a link to buy tickets/a sold out message, I would recommend taking a look at how this is done in list view (see screenshot). The tribe_tickets_buy_button function might get you what you’re looking for.

    We are limited in the amount of support that we can provide for customizations, but if you get stuck or have any questions, please let me know – I’ll be happy to point you in the right direction!

    Thanks,

    Jennifer

    #1544034
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Add Event Ticket Buy link to List Widget’ is closed to new replies.