display organic status
This commit is contained in:
parent
aa85dc5afc
commit
7d322af818
@ -111,6 +111,7 @@ $order_date = $order->get_date_created()->date('d/m/Y');
|
||||
$brew_method = $item->get_meta('pa_brew-method');
|
||||
$weight = $item->get_meta('weight');
|
||||
$roast = get_field('roast_level', $product_id);
|
||||
$is_organic = get_field('is_organic', $product_id);
|
||||
|
||||
for ($i = 0; $i < $quantity; $i++) { ?>
|
||||
<div class="label">
|
||||
@ -121,7 +122,7 @@ $order_date = $order->get_date_created()->date('d/m/Y');
|
||||
<p class="bean-type"><?php echo $brew_method; ?></p>
|
||||
<p class="roast"><?php echo $roast; ?> Roast</p>
|
||||
<p class="date">Roasted on: <span><?php echo $order_date; ?></span></p>
|
||||
<p class="code">NGO</p>
|
||||
<p class="code">NG<?php $is_organic ? 'O' : '' ?></p>
|
||||
</div>
|
||||
<div class="order-details">
|
||||
<p class="customer-name"><?php echo "$first_name $last_name"; ?></p>
|
||||
|
Loading…
Reference in New Issue
Block a user