Home Forums Plugins Store Exporter Deluxe Support [Resolved] Exporting orders – first order is repeated if I use CRON script

Welcome to our community support forums! We're here to help - but if you have an urgent request for a Pro Plugin, you will get a prioritised response through our Premium Support page.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #32960

    I have a problem with exporting orders from Store Exporter Deluxe using CRON script.
    I’ve made five test orders in my Woocommerce installation.

    Both manual and scheduled exports works fine, but I get the first order repeated five times if I use the CRON script, and then I don’t get the rest of the orders at all.

    Syntax of CRON request is http://www.mydomain.com/?action=woo_ce-cron&key=mykey&type=orders&response=raw&format=csv&orderby=date

    Wordpress version is 3.9.1
    Plugin versions:
    Woocommerce 2.1.12
    Woocommerce – Store Exporter 1.7.2
    Woocommerce – Store Exporter Deluxe 1.6.4

    Best regards, Lukas

    Michael Visser

    Hi lukasmattsson, thanks for raising this with us and providing a detailed explanation of how to reproduce this. I’m looking at this now, what is likely happening is the Order ID’s are being pulled correctly but the Order details are being populated incorrectly. Will update later this afternoon and include the fix in the next Plugin update.

    Michael Visser

    Hi lukasmattsson, it looks like our CRON engine is defaulting to the “Place each Order Item within their own Order row” Order items formatting option under Export Options on the Export tab. If you have an Order with 3 Products and Free Shipping and Tax then that single Order will take up 5 rows. I’ll look at adding a new override to control the order items formatting option which should take care of this for you. Looking at it now 🙂

    Michael Visser

    I’ve added a new ‘order_items’ attribute that can be controlled via $_GET. It’s on the Usage document 🙂


Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Exporting orders – first order is repeated if I use CRON script’ is closed to new replies.