Hello Everyone,
I have a heavily customised virtuemart and for the total price in cart
I use calculation like:
<?php $bse = $this->cart->pricesUnformatted['salesPrice'] ;
$sps = $this->cart->pricesUnformatted['salesPriceShipment'];
$spp = $this->cart->pricesUnformatted['salesPricePayment'];
$dpt = $this->cart->pricesUnformatted['salesPriceCoupon'];
$fsbs = ($bse + $sps + $spp + $dpt);
echo number_format($fsbs,2,',','').'€';?>
which work great but my challenge now is the total on order done page, invoice sent to customer, order page are different from my actual total.
Can anyone help with this please.
Thank you
Adeola
:-\
I really wonder why you are doing this?
All this stuff works out of the box in VM...
and surely a coupon should be minus?
Yes, coupon is minus and it already have minus sign before it so if I add it. it will minus.
The site customisation is confusing and it was done by another developer but I manage it now and I need to achieve my client's request on this. That is the reason for this.
Thank you
Adeola
then I assume u will have to do the same on all the files that produce the invoice, order done etc -- seems nuts to me...