Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author algol.plus

    (@algolplus)

    Hello

    please, follow to https://docs.algolplus.com/algol_order_export/fields/

    add keys only_date only_time

    use this code

    add_filter('woe_get_order_value_only_date', function ($value,$order, $field) {
    return $order->get_date_created()->date("Y-m-d");
    }, 10, 3);
    add_filter('woe_get_order_value_only_time', function ($value,$order, $field) {
    return $order->get_date_created()->date("H:i:s");
    }, 10, 3);

    Thread Starter harshapoojari

    (@harshapoojari)

    Hello,
    I appreciate your prompt response to my previous inquiry.
    I am currently experiencing an issue with the date field. While the time field is working fine, the date field is still showing the time 2023-10-26 00:00, with all product default times showing 00:00. (Please check the screenshot.) Could you please assist in resolving this error?

    Plugin Author algol.plus

    (@algolplus)

    So you added “only_date” as Date field ?

    Please, go to section Format and set Time = “-“, as shown at https://snipboard.io/54Npqy.jpg

    Thread Starter harshapoojari

    (@harshapoojari)

    Thank you so much

    Plugin Author algol.plus

    (@algolplus)

    You’re welcome

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘separate column for date and time.’ is closed to new replies.