VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: bryanearl on May 23, 2018, 22:10:44 PM

Title: How to override standard VM payment plugin
Post by: bryanearl on May 23, 2018, 22:10:44 PM
I can not figure out the exact way to override this plugin / file:
plugins/vmpayment/standard/standard/tmpl/post_payment.php


Therefore, I have created this folder for the override, but it does not work at all:
templates/<my template>/html/plg_vmpayment_standard/post_payment.php


I also tried it as, but still no luck:
templates/<my template>/html/plg_vmpayment_standard_standard/post_payment.php
Title: Re: How to override standard VM payment plugin
Post by: AH on May 23, 2018, 22:24:56 PM
you need to use the following

\templates\yourtemplaate\html\vmpayment\standard\post_payment.php
Title: Re: How to override standard VM payment plugin
Post by: bryanearl on May 23, 2018, 22:27:54 PM
Quote from: AH on May 23, 2018, 22:24:56 PM
you need to use the following

\templates\yourtemplaate\html\vmpayment\standard\post_payment.php

Thank you!! That folder structure works great now. I was following the advice from the Joomla forum on how to override plugins but it obviously wasn't working correctly.
Title: Re: How to override standard VM payment plugin
Post by: AH on May 23, 2018, 22:54:09 PM
you are welcome  :)