News:

Support the VirtueMart project and become a member

Main Menu

[SOLVED] Cash payment method List Order doesn't work

Started by aravot, October 22, 2010, 20:19:18 PM

Previous topic - Next topic

aravot

Cash payment method 'List Order' doesn't work, no matter what number is used it still shows as the first payment option


zanardi

Thank you again for this report and for your accurate testing.

When displaying payment methods, VM cycles through different types in different times:

$ps_payment_method->list_nocheck($payment_method_id,  false);
$ps_payment_method->list_bank($payment_method_id,  false);
$ps_payment_method->list_paypalrelated($payment_method_id,  false);

This means that "List order" only applies between payment methods of the same type, not between every payment method; as you can see in the code, methods that are of the "Address only / Cash on Delivery" type will always be shown first.

I agree this could be better, but i consider it more a "feature" than a "bug", so i don't think this will be fixed in 1.1.x series.
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter