Resolvedget delivery time in a template file

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #35019


    How can I get the chosen delivery time in a php template file?

    For example: $pickup_time = $order->get_pickup_time();

    Kind regards, Bart


    I’ve got it. Perhaps there are others looking for this, so:

    To retrieve the pickup time:
    get_post_meta($order->id, ‘thwdtp_pickup_time’, true);

    To retrieve the pickup date:
    get_post_meta($order->id, ‘thwdtp_pickup_datepicker’, true);

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register