销售订单中的基本\小计\包括\税务字段是否包含价格,包括magento中的奖励点数货币

销售订单中的基本\小计\包括\税务字段是否包含价格,包括magento中的奖励点数货币,magento,Magento,非常感谢您的帮助 谢谢,是的,这是正确的。如果您查看app/code/core/Enterprise/Reward/Model/Total/Quote/Reward.php,您会发现: When i looked at an order in sales_flat_order table in Magento , i see fields total_paid and total_invoiced have correct prices with deducted rewards curren

非常感谢您的帮助


谢谢,是的,这是正确的。如果您查看app/code/core/Enterprise/Reward/Model/Total/Quote/Reward.php,您会发现:

 When i looked at an order in sales_flat_order table in Magento , i see fields total_paid and total_invoiced have correct prices with deducted rewards currency , but on the base_subtotal_incl_tax it only shows the total amount with tax without deducting the rewards currency. Is that how its supposed to be? . ex:

base_subtotal_incl_tax => 144.17
total_paid =>143.17
total_invoiced =>143.17
因此,默认情况下,奖励将仅折扣GrandTotal和BaseGrandTotal

            $address->setGrandTotal($address->getGrandTotal() - $pointsCurrencyAmountUsed);
            $address->setBaseGrandTotal($address->getBaseGrandTotal() - $basePointsCurrencyAmountUsed);