Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting custom meta #138

Closed
TravisDee67 opened this issue Aug 24, 2016 · 3 comments
Closed

Exporting custom meta #138

TravisDee67 opened this issue Aug 24, 2016 · 3 comments

Comments

@TravisDee67
Copy link

Hello,

When I imported my subscribers I made a custom_user_meta field. This field is "shipping_sortcode". We manually fill this field for each subscriber based on information provided to us from Canada Post. We need to be able to export this field so that we can sort our subscriber list to be able to print labels. What modifications do I need to make in order to be able to export it?

Thanks
Travis

@mattallan
Copy link
Contributor

Hey @TravisDee67,

There's currently no way to export custom meta with the exporter but this is something we definitely want to support, so we'll get up a patch for this soon.

The solution will most likely just be adding two filters to A) allow you to add your own custom CSV headers and, B) save the custom header data to each CSV row. You will then need to filter these yourself to support your "shipping_sortcode" meta.

Regards

@TravisDee67
Copy link
Author

Hi @mattallan,

If you don't mind me asking, how soon is soon? That is the only thing holding us back from moving our subscribers over from our current subscriber management system.

Although I'm learning more and more about coding, I'm no developer. Could you possibly link me to a page explaining what code I need to add?

In my particular case the shipping_sortcode is just a string of text (ie. 1-T/1) that is present for each subscriber.

Thanks,
Travis

@thenbrent
Copy link
Contributor

Hi @TravisDee67,

Could you possibly link me to a page explaining what code I need to add?

Unfortunately not, no such page exists yet and we'd have to write the code in order to publish it such a page.

You can find a developer to help you with this at https://codeable.io/ or in the WooExperts directory: https://woocommerce.com/wooexperts/. Sebastien Dumont has also done a lot of work on Subscriptions and can be reached via email or twitter via details here: https://sebastiendumont.com/#pg-12-7

If you don't mind me asking, how soon is soon?

We can't provide ETA at the moment on this and won't be able to provide it until work begins on it. That means "soon" almost certainly isn't soon enough for your timelines. A developer from one of the above sources will also be able to add this though on your timeline though. The code is open source so they can freely review it an submit a patch to implement it.

mattallan added a commit that referenced this issue Sep 9, 2016
For #138
 - allows plugins to add their own headers to export or simply allows
   custom developers to hook on to the export row and customise it
however they like.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants