Answer the question
In order to leave comments, you need to log in
Sale of tickets with a choice of seats in the theater. (wordpress, woocommerce)?
Good afternoon. Please tell me or advise where to dig. I'm going to make a theater website with purchases and booking seats in the hall.
A person chooses a certain event and in front of him is a map of places in the hall and he can choose a place and buy a ticket. After the purchase, the place is not active. A variant is possible on the Vukomerc plugin or without it. Perhaps there are some custom solutions, tell me which way to dig. Thanks!!!
Answer the question
In order to leave comments, you need to log in
WP as a platform - maybe yes, but not the fact that the best choice is for your task.
Woocommerce as an online booking system is the same.
You need to dig approximately in this direction -
First, understand what the data structure will be.
What is - halls, places, films, screenings, tickets ( goods sold ), buyers.
Each of the above will have a set of attributes (properties):
Hall - a name (big, small...) and some configuration that describes its size and location. For example, 15x20 is 15 seats, 20 rows. Still somehow you need to take into account passages, inaccessible places, etc.
Movie - title, picture, trailer link, description, country, genre, year, age limit...
Session - most likely there will be a connection with the hall and the film, date / time, price. The price for different sessions may vary (daytime, evening...).
A ticket is the number of a row and a seat in a particular hall, the date / time of booking or sale, the amount, and some kind of binding to the buyer. Also, there will be a certain status here - booked, sold ... Then some connection with the seats in the hall is also needed to mark reserved and sold. Moreover, the reservation must be able to be canceled.
Next, you need to understand how to apply this to WP and WC.
WP has a basic "storage unit" of data - post (record). The entry has a basic set of attributes: title, picture, text, announcement, category selection, tags, gallery. Based on the base post in WP, you can create your own types - Custom Types. Custom attributes are created using metaboxes.
That is, the basic recording capabilities are definitely not enough for you. Just like the goods in the store.
A product in woocommerce is the same custom type with its own set of attributes - price, article, etc. To use the "mechanics" of woocommerce, it is necessary that the tickets sold become goods. Ticket attributes that will be missing can be added to the product.
Also, I would look at how to organize the basket. Essentially, the item in the cart is the booked ticket. That is, no one should put such a product in the basket, except for me. Because while I put it in the basket, then I went to drink tea, during this time five more people also put it in the basket or bought the same ticket. There will be a lot of overlays. And the standard shopping cart doesn't "know how" in any other way...
I think you also need to understand how online payment will be. And from this go, in relation to the store. If you are redirecting to the payment system, which is most likely, then the store may not be needed. Implement payment with the API of the payment system. ...
etc...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question