woocommerce-subscriptions-importer-exporter icon indicating copy to clipboard operation
woocommerce-subscriptions-importer-exporter copied to clipboard

Link Subscription to and Order?

Open rezzz-dev opened this issue 6 years ago • 7 comments

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?

rezzz-dev avatar Oct 19 '18 15:10 rezzz-dev

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?

rezzz-dev avatar Oct 19 '18 16:10 rezzz-dev

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

webthread avatar Nov 12 '18 16:11 webthread

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 avatar Feb 19 '19 16:02 tnorthcutt

@tnorthcutt if you submit a PR with those changes, I will get it reviewed & merged it to help others. :)

thenbrent avatar Feb 20 '19 23:02 thenbrent

@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 avatar Jan 29 '20 21:01 omarfilip

@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 avatar Jan 29 '20 22:01 tnorthcutt

@tnorthcutt Yes - I'm experimenting with your fork now and it seems to work as expected. Thanks for offering it!

omarfilip avatar Jan 29 '20 22:01 omarfilip