VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: geoele on January 29, 2016, 12:12:17 PM

Title: Insert in Payment method fee per unit of weight
Post by: geoele on January 29, 2016, 12:12:17 PM
Hello all. There is any way or any plugin or any code to add fee per unit of weight by kilos in standard payment method independently not in shipping? I use VM 3 JOOMLA 3.

Thanks for any help.
Title: Re: Insert in Payment method fee per unit of weight
Post by: GJC Web Design on January 29, 2016, 17:46:05 PM
would need to be coded

all you need should be in the $cart->products object in the std ship plugin
Title: Re: Insert in Payment method fee per unit of weight
Post by: geoele on January 29, 2016, 18:40:51 PM
First of all thank you and sorry about my English. Can you help me with the code? I want to do samthing like this:
if product is 1 Kg insert fee 10,
2 Kg fee = 20
3 Kg fee = 30 e.t.c.

bat i dont want to affect all the standart payment bat to juse  inside the setup just like the total amount

Can you help me with this code in std payment plugin?

Thank you again. 
Title: Re: Insert in Payment method fee per unit of weight
Post by: geoele on January 30, 2016, 07:59:31 AM
Any idea about it ?