-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Small suggestion
Small suggestion to also display the Net price in the table, so that if there are discounts, it can be more accurately noticed when looking at the Grand Total. Any thought?
To adjust:
site/modules/ProcessWireCommerce/includes/render/PWCommerceAdminRenderOrders.php
Around line 213:
// NET PRICE
[$this->_('NET Price'), 'pwcommerce_orders_table_order_line_item_net_unit_price'],
Around line 2252:
// NET PRICE AFTER DISCOUNT
$this->pwcommerce->getValueFormattedAsCurrencyForShop($orderLineItem->unitPriceDiscounted),
Around line 2460:
// ---------
// show note in footer
if ($usage === 'orders_single_view') {
$footerLabels = [
// @note: forcing empty for columns 1-3
// using for note for totals
"<span class='italic'>" . $this->_('Totals include applicable tax') . "</span>",
'',
'',
'',
'',
];
$field->footerRow($footerLabels);
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request