• Resolved vectory

    (@vectory)


    Hi there,

    I am in the process of customising an invoice template.

    It uses a 3rd-party plugin called Woocommerce Delivery & Pickup Date Time, from Coderockz.
    From this, I would like to display the delivery or pickup date, via a meta_key.
    This works!

    I’m using [wcj_order_meta meta_key=’pickup_date’] and [wcj_order_meta meta_key=’delivery_date’]

    My question is whether I can format this meta_key date? Display currently is ‘2023-10-20’. I would like to change this to ’20-10-2023′ or even ‘Friday 20-10-2023’ / ‘Friday 20 October 2023’.

    Is this possible with via the meta_key shortcode?

    Can I also use boolean of if statements to conditionally show either one or the other, depending on the shipping method?

    Thanks in advance for any help!

    Kind regards,
    Frank



Viewing 1 replies (of 1 total)
  • Plugin Support David G

    (@gravid7)

    Hi @vectory ,

    You can display the meta value using the [wcj_order_meta meta_key=”pickup_date”] shortcode, but there is no option available to change the value into date format.

Viewing 1 replies (of 1 total)
  • The topic ‘3rd party meta_key date formatting’ is closed to new replies.