Home › Forums › Ticket Products › Event Tickets Plus › Using WordPress Importer to import and connect Events and their Woo Products
- This topic has 6 replies, 2 voices, and was last updated 8 years, 11 months ago by
Rob.
-
AuthorPosts
-
May 8, 2017 at 7:37 pm #1280588
Rob
ParticipantIs there a way to use the WordPress Importer plugin to export event tickets and their associated WooCommerce products and then import them, connected, into another site?
Here’s what I did:
1. Export a specific event by exporting all events and then deleting all the events from the XML file <i>except</i> the event I want to import to the other site.
2. Export the WooCommerce product that represents the ticket created for the event exported in #1 above.
3. Import the event from #1 into the new site.
4. Import the product from #2 into the new site.The problem is that the event on the new site is no longer associated with the WooCommerce product for its ticket.
How do I connect them? Or do I only export/import the event and then manually re-create the ticket product?
May 8, 2017 at 7:38 pm #1280590Rob
ParticipantThis reply is private.
May 10, 2017 at 7:47 am #1281647Barry
MemberHi Rob,
Great question.
I’m admittedly unsure why they wouldn’t be connected – but I’m curious to learn why you are staging the import in this way.
As a test, if I create an event and a matching (WooCommerce-backed) ticket, I can export using the regular WordPress exporter than import again on a clean install and both event and ticket come through, and are correctly associated with one another.
Is it possible for you to try doing things that way?
May 10, 2017 at 12:41 pm #1281937Rob
ParticipantI’m doing this to develop content on a Dev version of the site and then export it so I can import it to a Live version of the site.
Here’s a short screen video showing how I exported the event file from the Dev site. My screen recorder limits me to 30 seconds and staying on the same tab, so pretend that the import process is on the Live site, which is an identical WordPress and Event Tickets Plus/WooCommerce setup.
In between the export and import process, I’m editing the XML file and removing all but the event I’m interested in exporting. As you can see in the file attached earlier, the only thing I could find in the exported XML that had to do with the event I wanted was the event, but not the WooCommerce product. I had to export that separately in its own XML file.
Is there a better WordPress export/import plugin I should be using rather than the “default” one Automattic always recommends?
May 10, 2017 at 1:47 pm #1281972Barry
MemberAs you can see in the file attached earlier, the only thing I could find in the exported XML that had to do with the event I wanted was the event, but not the WooCommerce product. I had to export that separately in its own XML file.
Sure, I understand that: but why not export the events and the products in the same operation, and similarly import them? You could still edit the XML in between those steps to remove extraneous data.
Certainly when I tried just that, it worked without issue and on my destination site I imported an event complete with tickets/products.
June 1, 2017 at 9:35 am #1291873Support 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 ‘Using WordPress Importer to import and connect Events and their Woo Products’ is closed to new replies.
