Forum Replies Created
-
AuthorPosts
-
Robin
ParticipantYes thank you for the tip Gergana, I will keep it mind!
Robin
ParticipantYou are absolutely right about the ordering, it does follow the wp-admin. My mistake!
And thank you again for your help. Editing the wp_query did the trick. Just had to change the meta_key to ‘_ticket_end_date’ and then add orderby ‘meta_value’ and order ‘ASC’. This does not work with the standard query showing tickets tied to a specific event, but it works fine for this custom show-all-tickets feature. In other words, I believe this solves my original question. Again, thank you!Looking forward for that feature where you can change the order in admin view!
Robin
ParticipantThank you Cliff for trying to point me in the right direction. I think I have now figured it out how to list all tickets by using the front_end_tickets_form function in WooComerce/Main.php. Now the only question is how to sort the tickets by date instead of quantity? Any suggestion?
Robin
ParticipantThank you for the answer. I have given my vote and hope for that functionality in the future.
The main question however, as I ment it, was not if it is possible to sell tickets outside the single event, but if tickets (though only their date, name and link) can be called upon via some function in order to output them in a list. The purpose is to have list of upcoming shows. For example “li”[date] Hamlet “/li” etc. for each there is a link to the tickets single event.
This is, as already said, sort of an events list for recurring events, but since this functionality is not in place I am thinking of this workaround.
So part of my question is:
How do I output tickets end_date and name values outside the single event which they are tied to?I hope an answer to this could give me a clue to figure out the rest.
-
This reply was modified 9 years, 3 months ago by
Robin.
-
This reply was modified 9 years, 3 months ago by
-
AuthorPosts
