Changed functions in order total rows - renamed to make more sense
This commit is contained in:
parent
7639cd8390
commit
ad30381ba3
|
@ -29,7 +29,7 @@
|
|||
<tr>
|
||||
<td>'.$item['name'].'</td>
|
||||
<td>'.$item['qty'].'</td>
|
||||
<td>' . $order->get_item_subtotal($item) . '</td>
|
||||
<td>' . $order->get_formatted_line_subtotal($item) . '</td>
|
||||
</tr>';
|
||||
endforeach;
|
||||
endif;
|
||||
|
|
|
@ -53,7 +53,7 @@ $order = new woocommerce_order( $order_id );
|
|||
|
||||
endif;
|
||||
|
||||
echo '</td><td>'.$item['qty'].'</td><td>' . $order->get_item_subtotal($item) . '</td></tr>';
|
||||
echo '</td><td>'.$item['qty'].'</td><td>' . $order->get_formatted_line_subtotal($item) . '</td></tr>';
|
||||
|
||||
endforeach;
|
||||
endif;
|
||||
|
|
Loading…
Reference in New Issue