VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: iwanna on August 01, 2014, 12:05:11 PM

Title: have a different payment method cost description
Post by: iwanna on August 01, 2014, 12:05:11 PM
Hello,

Is there a way to have a different payment method description in cost.

I mean that in payment method and shipping method when the price is above zero it has an preset text for both steps: (Discount / Charge: 15,00 €)
is it possible if a have 3 different payment methods to have 3 different preset text ?

example:
* payment method 1                                payments methods cost are 16,00€
* payment method 2                                you pay only 3,00€
* payment method 3                                best price 20,00€
Title: Re: have a different payment method cost description
Post by: GJC Web Design on August 01, 2014, 13:29:29 PM
on my plugins I have over ridden the protected function getPluginHtml ($plugin, $selectedPlugin, $pluginSalesPrice) in the Payment/Shipping plugin to get exactly the display and labels I need

have a look at the code in vmsplugins.php in the vm admin plugins folder