Support » Plugin: WooCommerce » Building a Recap

  • Resolved nathan0212

    (@nathan0212)


    Hello,
    Using the woocomerce on Python, is there a way to save in variables a recap of the orders in a certain time frame?
    I would like to get an output that would look like this:
    Shipping adress: xx
    Company : xx
    Number of orders : xx

    The number of orders would be sorted by each adress.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    @nathan0212 did you want to automatically generate these reports? If so, there isn’t a way by default to automatically generate a report with that information.

    Something like the http://Customer /Order Export XML plugin might be handy, though it wouldn’t be the exact format you wanted. You could however schedule exports to be run automatically using that plugin. You could then manipulate the information in that report however you wanted.

    Otherwise, WooCommerce doesn’t have a report that specifically matches your criteria. That being said, all of the information you’d need for that is store so you could check for some third-party WooCommerce reporting plugins that would have something like this.

    How do I unsubscribe?

    Plugin Support Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    @artfaul3717 Do you mean unsubscribe to updates on this thread? You can do that from the menu on the right-hand side of this page. That applies to any other thread on these forums as well.

    Thank you for your answer. Indeed, manipulating the customer section of the API could get me a recap of the amount of orders that a specific customer did. The issue I have now is that many customers with different ID’s could be in the same building. I would then have many recaps for the same shipping adress. I think I could bypass this by sorting the clients in the ‘groups’ plugin. However, in the customers API I do not get a new parameter telling me what group he is in… Would there be a way to grab the group of a customer by using the customers ID?

    Thank you for your time.
    Nathan

    Plugin Support Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    @nathan0212 if you are referring to the Groups for WooCommerce plugin in our marketplace,
    If so, I believe the developer of that plugin allows you to target the groups. You can fin the hooks and filters available on the documentation that the developer wrote here:
    https://docs.woocommerce.com/document/groups-woocommerce/api/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Building a Recap’ is closed to new replies.