Author Topic: How to override standard VM payment plugin  (Read 172 times)

bryanearl

  • Beginner
  • *
  • Posts: 29
  • Web Design and SEO / SMO
    • Bryan Earl Web Design
How to override standard VM payment plugin
« 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

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2740
  • VirtueMart Version: 3.2.15
Re: How to override standard VM payment plugin
« Reply #1 on: May 23, 2018, 22:24:56 pm »
you need to use the following

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

Joomla 3.8.8
php 7.0

bryanearl

  • Beginner
  • *
  • Posts: 29
  • Web Design and SEO / SMO
    • Bryan Earl Web Design
Re: How to override standard VM payment plugin
« Reply #2 on: May 23, 2018, 22:27:54 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.

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2740
  • VirtueMart Version: 3.2.15
Re: How to override standard VM payment plugin
« Reply #3 on: May 23, 2018, 22:54:09 pm »
you are welcome  :)
regards
A

Joomla 3.8.8
php 7.0