How can I use the CSV importer to import event ticket data? I’ve tried using the meta fields with no luck. Also tried WP All import pro, also didnt work. It imports everything apart from ticket price, sku and stock.
Jan 2,2021 AT 4:13AM - 4 years ago -I have tried inspect element on the event page to get the input value names and use those, although it still doesnt update the event ticket data.
Here is my functions.php
Fixed the above code with ‘$field’ instead of ‘field’. Issue still remains
Hello,
Could you send us your .csv file and also wp-admin access to your site as a private message for us to further assist your situation?
Could you also update EventON to 3.0.6, Tickets add-on to 1.8.8 and CSV Import to 1.1.8?
To update eventon to latest version: If you are unable to do autoupdate, you can go to codecanyon your account > download and get the latest eventon version as zip file. Then you can go to your website, deactivate old eventon, activate (Do not delete eventon settings & data when EventON is uninstalled) from eventon settings, delete old eventon, install new one and activate. This link will further explain the process it. Also you can follow us on twitter to get real-time announcements on updates!
To update eventon addons: You can download latest eventon addons from myeventon > my account. Then you can go to your website, deactivate old addon and install new one and activate then delete the old addon. This link will further explain the process. Also you can follow us on twitter to get real-time announcements on updates!
Hi Liam,
Event tickets are handled by the WooCommerce plugin. Everytime you create a new ticket, then a WC product is created that contains the information that you are looking for.
I can recommend grabbing the SKU, price, stock quantity from the global $product object or an alternative method. I came across the following article that may be able to help to capture this data: WooCommerce get product data.
I hope this info helps!
I should still be able to import ticket info (price, sku, stock), even if it has to be as a draft post that when published creates the woocommerce product. The product doesnt exist yet, is where im getting at. How am I meant to import 200+ events with ticket data attached to them? Why can you import some of the ticket info, e.g. show_remaining but the others dont work?
Liam, sorry for the delay reply. Great job setting us custom fields for tickets, but the fact is when tickets are created several backend functions are run to create woocommerce associate product for the ticket. Also if you are importing 200+ events, and running woocommerce product creation codes for each, it will probably be very heavy on the server to process that.
If you have more questions, kindly send us a new ticket and we would be more than happy to help you resolve your issues!