woocommerce-subscriptions-importer-exporter
woocommerce-subscriptions-importer-exporter copied to clipboard
Link Subscription to and Order?
In using this to import subscriptions, it doesn't seem to link up the subscription to an order.
Is there a way to make this happen? Or is it supposed to happen and I missed something?
And if it isn't supposed to link up the parent order, how would that happened, so that the User then becomes an Active subscriber?
I linked my subscription to a product using the example below. This generated the new parent order when a renewal is due. A parent order is needed for an active subscription initially.
CSV Headerorder_items
Subscription product detailsproduct_id:3500|name:Group Membership|quantity:1
For anyone who comes across this, see: https://github.com/Prospress/woocommerce-subscriptions-importer-exporter/issues/177
My fork based on that issue: https://github.com/tnorthcutt/woocommerce-subscriptions-importer-exporter
@tnorthcutt if you submit a PR with those changes, I will get it reviewed & merged it to help others. :)
@thenbrent was @tnorthcutt 's PR ever merged? The importer at https://github.com/woocommerce/woocommerce-subscriptions-importer-exporter does not create associated orders when importing subscriptions. Thanks.
@omarfilip I don't believe I ever submitted a PR for this, and unfortunately don't have the capacity to do so now, but you might find my fork helpful.
@tnorthcutt Yes - I'm experimenting with your fork now and it seems to work as expected. Thanks for offering it!