Changing default payment method in Virtuemart

Last updated on November 26th, 2023

I have just found out how to hard code change the way virtuemart lists its payment methods:

Locate the file:


Locate the code:

$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);

You can then copy and paste the lines in order to change the order of t payment method category list. Changes within the category can be done in the payment method options list!

Hope this helps! Took me ages to find!

Adblocker detected

Please bear in mind that ad blockers prevent this website covering its costs.

If you find this site useful, please consider supporting me by whitelisting this site, or making a £1 / $1 donation.