display gift status
This commit is contained in:
parent
7d322af818
commit
841098af7a
@ -7,7 +7,7 @@ $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');
|
$order_date = $order->get_date_created()->date('d/m/Y');
|
||||||
|
$gift_message = $order->get_meta('_shipping_gift_message');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@ -122,7 +122,7 @@ $order_date = $order->get_date_created()->date('d/m/Y');
|
|||||||
<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><?php echo $order_date; ?></span></p>
|
<p class="date">Roasted on: <span><?php echo $order_date; ?></span></p>
|
||||||
<p class="code">NG<?php $is_organic ? 'O' : '' ?></p>
|
<p class="code">N<?php echo $gift_message ? 'G' : '' ?><?php echo $is_organic ? 'O' : '' ?></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="order-details">
|
<div class="order-details">
|
||||||
<p class="customer-name"><?php echo "$first_name $last_name"; ?></p>
|
<p class="customer-name"><?php echo "$first_name $last_name"; ?></p>
|
||||||
|
Loading…
Reference in New Issue
Block a user