News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

payment layout override

Started by jankoo, April 06, 2018, 23:05:37 PM

Previous topic - Next topic

jankoo

hi,

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

AH

Try using css to modify the layout



Regards
A

Joomla 4.4.5
php 8.1

jenkinhill

You can override components/com_virtuemart/views/cart/tmpl/select_payment.php
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

jankoo

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..?
thx