• Resolved tenebralyo

    (@tenebralyo)


    Is there any way to import the orders only from specific year? to deal in some way with the timeouts.

    Thank you for your time!

    Note: I’ve contacted you through your personal site with more details about this in Spanish.

Viewing 1 replies (of 1 total)
  • Plugin Author Alejandro Aranda

    (@alexwing)

    The timeouts also gave me the import of products, were due to an error when inserting them in WP, or some order has something that does not like WooCommerce and that is why it causes the timeout.

    To do what you ask to filter it by dates in the line that you ate yesterday, you must add the following

    if ($ orders = $ oscdb-> get_results ("SELECT * FROM orders WHERE DATE (date_purchased)> = '2011-01-01' and DATE (date_purchased) <= '2011-12-31' ORDER BY orders_id DESC", ARRAY_A)) {

    For any date you want, using the American format. If there is something that causes the waiting time, the information may be what I can fix.

Viewing 1 replies (of 1 total)
  • The topic ‘orders from specific year’ is closed to new replies.