• Resolved imwebvizion

    (@webvizionph)


    Hi, we have created a custom order status for our ecommerce sites. How can we include that in the Sales and Orders calculation of your plugin? So that in the Dashboard it will reflect the values including these custom order status.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter imwebvizion

    (@webvizionph)

    I am referring here to the Sales Widget. Currently, it only shows the sales which has processing and completed status. I also have a custom order status called picked up by courier which means the order is already paid and should be included in the computation.

    Is there a code snippet i can add to make this work?

    Thank you very much!

    Plugin Author Jose Andres Piera

    (@japiera)

    Hi @webvizionph,

    Thanks for your post.

    Unfortunately, we don’t provide custom coding support. I can give you only some tips.

    Depending on where you want to include your custom status, you’d need to use distinct hooks. For example, to include it in sales calculations (for widgets and Stock Central), you should use the ‘atum/get_sold_last_days/orders_status’ filter.

    You can find more hooks for other calculations by searching our code for the ‘/order_status’ string.

    Hope this helps,
    José Andrés

    Thread Starter imwebvizion

    (@webvizionph)

    Thank you Jose for your help. I’ll try to figure this out. Appreciate your tip and support. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sales Calculation for Custom Order Status’ is closed to new replies.