Home Forums Plugins Import Shopify to WooCommerce Add a filter not to count Shopify imported orders in woocommerce total sales

Add a filter not to count Shopify imported orders in woocommerce total sales

  • Author
    Posts
  • #87009

    hellodr.tech
    Participant

    Hello,

    Hope you are doing well ! I am wondering if you can help me with a quick code snippet.

    When I import orders from shopify using the plugin, they are counted as orders in wooocommerce so woocommerce count them in its statistics : total sales, total revenue …

    I would like not to count the orders imported from Shopify with S2W in wooocommerce total sales value, so woocomerce only display the total sales of the orders placed on the woocomerce shop.

    For example :
    I use a shopify store first, I have 10 orders on this store, then I switch to woocomerce and I use S2W to import the data. The total sales will remain 0 on woocommerce after the import. Then I have 1 order of 10$ on my woocomerce store, the total sales is now 10$.

    I guess it’s a simple code snippet, thanks for your help 🙂

You must be logged in to see replies to this topic. Click here to login or register