3rd party meta_key date formatting
-
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
The topic ‘3rd party meta_key date formatting’ is closed to new replies.