Author Topic: payment layout override  (Read 549 times)


  • Jr. Member
  • **
  • Posts: 57
payment layout override
« on: April 06, 2018, 23:05:37 pm »

i need to override layouts for choosing payments.. i found the layout is created in file vmsplugin.php

but when i change layouts here it will rewrite with the updates.. why the layouts are created inside the functions?

please move the layout rendering to the /html / cart folder so we can override this..

thank you


  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2870
  • VirtueMart Version: 3.4
Re: payment layout override
« Reply #1 on: April 07, 2018, 10:28:00 am »
Try using css to modify the layout


Joomla 3.9.1
php 7.1


  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27345
  • Always on vacation
    • Jenkin Hill Internet
Re: payment layout override
« Reply #2 on: April 07, 2018, 15:19:14 pm »
You can override components/com_virtuemart/views/cart/tmpl/select_payment.php

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM on Joomla 3.9.5 PHP 7.0.33
Testing VM on Joomla 3.9.5


  • Jr. Member
  • **
  • Posts: 57
Re: payment layout override
« Reply #3 on: April 07, 2018, 17:42:12 pm »
i cant use css for what i need.

in the file components/com_virtuemart/views/cart/tmpl/select_payment.php is nothing..

i need to change <li> payments layout for every payment plugin..
that layout is happening inside functions in the /administrator/components/com_virtuemart/plugins/vmsplugin.php   

or is there any way i can use in my override layouts values from this functions? something as $this->payment->logo; $this->payment->name; etc..?