Support » Plugin: Cost of Goods for WooCommerce » I suggest adding the profit feature with order fulfillment time selection

  • I bought your plugin, I like it very much but with current my works I think you should have Profit feature with select order completion time. I give a example as below:
    I create 10 order in 08/08/2020, I change 5 status of orders to complete in 09/08/2020 so I want to calculate the profit with 5 invoices just completed because at this time, your plugin will calculate with created date of orders. Sorry for my English skills.

    Regards,
    Tri

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter phanhuutricntt

    (@phanhuutricntt)

    I don’t understand new version. Please let me explain my request
    1. I want filter invoices by date of status changed because your plugin is using date created of invoice
    2. I want calculate invoice profit base on date of status changed because your plugin is using date created of calculation profit

    Thread Starter phanhuutricntt

    (@phanhuutricntt)

    My email is phanhuutricntt@gmail.com. I think we can discuss for more details. Thank s you

    Thread Starter phanhuutricntt

    (@phanhuutricntt)

    I mean we can use $order->get_date_paid() to calculate profit

    Thread Starter phanhuutricntt

    (@phanhuutricntt)

    There is 4 different date cases when an order is placed (where $order is an instance of the WC_order Object) depending on order status, on the payment method used and on Woocommerce regarding behavior:
    1. The creation date: $order->get_date_created()
    2. The modification date: $order->get_date_modified()
    3. The paid date: $order->get_date_paid()
    4. The completed date: $order->get_date_completed()
    I mean we can use The paid date or The completed date to filter orders and calculate profit

    Thread Starter phanhuutricntt

    (@phanhuutricntt)

    Please see this link https://usersinsights.com/woocommerce-customer-database/
    We need use meta key _paid_date to filter invoices in date range

    Thread Starter phanhuutricntt

    (@phanhuutricntt)

    You need query invoces with wc-completed column in wp_postmeta table that I mean in this request

    Thread Starter phanhuutricntt

    (@phanhuutricntt)

    I will paid for you with this requirment

    Plugin Author Algoritmika Ltd

    (@algoritmika)

    Hi @phanhuutricntt,

    As your request seems rather specific, I’ve just wrote to you via email, let’s continue conversation there.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘I suggest adding the profit feature with order fulfillment time selection’ is closed to new replies.