Bulk Import Members from file
-
Hi!
I need some advice. I have a file (in .csv, .xml, .xls format) with data about members (email, first name, last name), about membership (membership type) and about membership start and expiration dates (respectively some records are with lifetime access and some with recurring subscription).
How do I import this data into the database? I tried it via WP All Import, but I was only able to import members without membership.
I was looking at the SQL database to see how it’s handled there and I found that you have one database for members and the other one for memberships / payments. Is there any way to import it there in bulk, e.g. via an SQL statement?
The bulk listed here: https://www.cozmoslabs.com/docs/paid-member-subscriptions/member-management/#Bulk_Add_New_Member doesn’t help me because each of the members can have different expiration dates, plus you can’t set a recurrence in this bulk (unless someone has purchased a recurring membership).
It would probably help me the most if you could write me which SQL statement writes the new membership to the database (both the classic one and the one that is recurring). I would be able to link this to my file and bulk import the members.
If you have a better idea, I’m open to it.
Thanks!
- The topic ‘Bulk Import Members from file’ is closed to new replies.