Home › Forums › Ticket Products › Event Tickets Plus › Selling tickets from the WooCommerce products page
- This topic has 7 replies, 2 voices, and was last updated 8 years, 11 months ago by
Marcus Gisperg.
-
AuthorPosts
-
April 17, 2017 at 5:25 am #1270615
Marcus Gisperg
ParticipantHey 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/eedc81ba148e0346dfeeThanks so much;
April 17, 2017 at 4:28 pm #1270857Victor
MemberHey 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!
VictorApril 19, 2017 at 2:47 pm #1271882Marcus Gisperg
ParticipantHey 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!
April 20, 2017 at 8:38 am #1272193Victor
MemberHey 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!
VictorApril 21, 2017 at 12:46 am #1272540Marcus Gisperg
ParticipantHey 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.April 21, 2017 at 5:39 am #1272602Victor
MemberHey 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!
VictorMay 13, 2017 at 9:35 am #1283450Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Selling tickets from the WooCommerce products page’ is closed to new replies.
