display date
This commit is contained in:
parent
ffb77dc3c4
commit
b7ee593367
@ -6,6 +6,7 @@ $first_name = $order->get_billing_first_name();
|
|||||||
$last_name = $order->get_billing_last_name();
|
$last_name = $order->get_billing_last_name();
|
||||||
$postcode = $order->get_billing_postcode();
|
$postcode = $order->get_billing_postcode();
|
||||||
$items = $order->get_items();
|
$items = $order->get_items();
|
||||||
|
$order_date = $order->get_date_created()->date('d/m/Y');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@ -103,7 +104,7 @@ $items = $order->get_items();
|
|||||||
<p class="origin"><?php echo $product_name; ?></p>
|
<p class="origin"><?php echo $product_name; ?></p>
|
||||||
<p class="bean-type"><?php echo $brew_method; ?></p>
|
<p class="bean-type"><?php echo $brew_method; ?></p>
|
||||||
<p class="roast"><?php echo $roast; ?> Roast</p>
|
<p class="roast"><?php echo $roast; ?> Roast</p>
|
||||||
<p class="date">Roasted on: <span>31/03/2024</span></p>
|
<p class="date">Roasted on: <span><?php echo $order_date; ?></span></p>
|
||||||
<p class="code">NGO</p>
|
<p class="code">NGO</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="order-details">
|
<div class="order-details">
|
||||||
|
Loading…
Reference in New Issue
Block a user