Support » Plugin: Order Delivery Date for WooCommerce » Get delivery date on order received

  • Resolved naguilarqf

    (@naguilarqf)


    Hello,

    I just need to get the delivery date, Actually it displays on the order received page. it’s fine. But also I need it on a specific script for some remarketing process.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author komal-maru

    (@komal-maru)

    Hi,

    Yes, we do provide a function in our plugin which can be used to obtain the selected Delivery Date information for any particular order. The function is as follows:

    orddd_lite_get_order_delivery_date(): To obtain Delivery Date information for any particular order.

    Attaching a sample example for your convenience

    $order_id = 123; /*sample order ID*/
    $orddd_class = new orddd_lite_common();
    $delivery_date = $orddd_class-> orddd_lite_get_order_delivery_date($order_id);
    echo $delivery_date; or print_r( $delivery_date );

    Parameters:
    $order_id – This contains the order id for which delivery date is obtained.

    Please let me know whether the provided information helped you to achieve the requirements on your site.

    Regards,
    Komal Maru

    Hello.
    Thank you for your support.
    It really works!

    Plugin Author Vishal Kothari

    (@ashokrane)

    Happy to know that @naguilarqf.

    Could you please leave a review for our support & the plugin? That would be immensely helpful.

    :Vishal

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.