I'm trying to override the "vmpayment" plugin. I've changed the layout of the "post_payment.php" file and put the file in the following folder structure: templates/mytemplate/html/plg_vmpayment_standard_standard/post_payment.php

Now this is not working. The structure of the plugin is: plugins/vmpayment/standard/standard/post_payment.php

What am I missing here? I've changed it to exclude the last "standard" folder without success.

When the Virtuemart plugin has a second folder with the same name in it, then it is using the overridable pattern.

Copy this second folder to: /templates/[yourtemplate]/html/[plugin-group]/[plugin-name]

So the right path would be: /templates/[yourtemplate]/html/vmpayment/standard/post_payment.php

Official Documentation: How to overwrite plugins

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.