Hello, could you help me to modify the calculations to show order total price without the user gift certificate balance discount. In the VM 2.6 it was quite simple. I've commented out the salesPriceCoupon in the calculationh.php.
$this->_cartPrices['billTotal'] = $this->_cartPrices['salesPriceShipment'] + $this->_cartPrices['salesPricePayment'] + $this->_cartPrices['withTax']; //+ $this->_cartPrices['salesPriceCoupon'];
But in VM 3.4 it's more tricky. I could comment the
$dispatcher->trigger('plgVmUpdateTotals', array(&$this->_cart->cartData, &$this->_cart->cartPrices));
line (also found in the calculationh.php) but then the VM Standard Payment won't let me finalize the order because I'm using the 0.1 maximum amount condition.
I'm using AwooCoupon as my only payment method, so discounts are 100% (I don't want to have 0s, I need the order total for reports). Users "buys" products using their account balances (gift certificates).
I have Virtuemart 3.4.2
Regards