VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: lobebe on October 14, 2015, 07:20:43 AM

Title: Payment price customization
Post by: lobebe on October 14, 2015, 07:20:43 AM
Dear all,

I have modified the pricelist like below:

<?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,',','').'&euro;';?>

Now, I want the payment to read the same amount as above. please can someone tell me how to achieve this.

Thank you very much for your help.
Adeola