News:

Looking for documentation? Take a look on our wiki

Main Menu

[Solved - permission error] template override not working

Started by welrachid, June 29, 2017, 13:46:04 PM

Previous topic - Next topic

welrachid

Hi guys
I'm having trouble making a template override of the order_done.php page.

the file i want to override is this:
components/com_virtuemart/cart/tmpl/order_done.php

Im doing this by making a new file here:
templates/template_name/html/com_virtuemart/cart/order_done.php

But its still reading the order_done.php from components and i dont know why

Using: J3.7.2 , VM 3.2.2
I've also tried to disable OPC from virtueplanet with no success

Usually im familier with template overriding so maybe im just being blind..
Best regards,
Wel

Ghost

What exactly are you trying to change there? Because most data on that page is generated by payment plugins. Some plugins have their own layouts, e.g. /plugins/vmpayment/standard/standard/tmpl/post_payment.php.

welrachid

Im trying to make a pretty page that is a bit more personal than standard checkout done.

I dont want it to be a part of the plugins because they can be many, and i dont want to update many different.

Epay for example does not support this. Therefor i had to make my own version of that plugin that supports template override and make a pull request. But apprantly epay doesnt think my additions are any good for them.
See my additions here
https://github.com/welrachid/virtuemart3

Anyway.. Im trying to make a pretty page without having to hack VM, so i dont need to make the changes EACH time there is a VM update.
Best regards,
Wel

welrachid

Best regards,
Wel