Selling tickets from the WooCommerce products page

Home Forums Ticket Products Event Tickets Plus Selling tickets from the WooCommerce products page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1270615
    Marcus Gisperg
    Participant

    Hey Guys trying to get the thing working with selling tickets from the woocommerce product page;

    I found a instruction here https://theeventscalendar.com/knowledgebase/selling-tickets-from-the-woocommerce-products-page/

    Having troubles filling in the 3 step correctly; can you help me including this code correctly?
    https://gist.github.com/theeventscalendar/eedc81ba148e0346dfee

    Thanks so much;

    #1270857
    Victor
    Member

    Hey Marcus!

    Thanks for reaching out to us! 🙂 Let me try and help you with that!

    You might want to override the tickets.php template to insert that code. You can learn more about overriding calendar templates in our Themer’s Guide, but it basically boils down to this:

    • Make a copy of the tickets.php template. It is located at /wp-content/plugins/event-tickets-plus/src/views/wootickets/tickets.php
    • Make a new folder in your theme called tribe-events
    • Make a new folder in that one called wootickets
    • Drop your copied tickets.php file in that last folder

    Now that the template is in your theme, you can modify it to suit your needs. In this case, you want to paste the code you mentioned where you want the list of tickets to show. For example, if you want to list the tickets below the “Tickets” title, then you should paste below line 33, right after this line of code:

    <h2 class="tribe-events-tickets-title"><?php esc_html_e( 'Tickets', 'event-tickets-plus' ) ?></h2>

    Will this work for you? Please let me know. 🙂

    Cheers!
    Victor

    #1271882
    Marcus Gisperg
    Participant

    Hey Victor,

    Thanks so much for your help up to now;
    I followed your instructions and familiarized with the themer’s guide.
    I think i made everything work quite fine;

    Still its not working so much like i wanted;
    I have troubles to fill in the code for the tickets;
    i could not find a instruction for that yet;

    Can you help me with that again?

    https://gist.github.com/theeventscalendar/eedc81ba148e0346dfee

    thank you so much!

    #1272193
    Victor
    Member

    Hey Marcus!

    It’s great to know about your progress!

    The gist code you are refering to is to show a list of tickets in the event page that link to each ticket product page. Where are you trying to show this? Could you explain further what you are trying to accomplish with this code?

    Thanks!
    Victor

    #1272540
    Marcus Gisperg
    Participant

    Hey Victor,

    Thank you for your quick respond.

    So basically i am trying include to my events the same ticket types all the time.
    It is important for me for statistic reasons, as well as organization of products and for mail responds and so on.

    Attached you find a image of the basic event page where i want to display the ticket types,
    and the products i want to show there;

    You can follow what i try to accomplish?
    I would be so happy if you can help to the right path;
    working on this page for a long time and could not solve to problem by my self.

    #1272602
    Victor
    Member

    Hey Marcus!

    Oh yeah, I see exactly what you mean.

    First off, I do want to note that we are fairly limited in how much we can support custom development questions like this.

    That said, I’d be happy to at least point you in the right direction as best I can.

    You could try using a WooCommerce shortcode to show the product in the events you want. I think the product shortcode is good for that.

    Bear in mind that if the product was created using the event edit screen in the wp-admin, then that product will always be linked to that event, and not the rest of the events.

    Let me know if this helps.

    Cheers!
    Victor

    #1283450
    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 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Selling tickets from the WooCommerce products page’ is closed to new replies.