Jump to content

Adding php to order-confirmation.php


Fins

Recommended Posts

I've added some php code to /order-confirmation.php, but I'm concerned that it may get overwritten in any upgrades and want to place the code elsewhere.

Is using :

{php}

include('myfile.php');

{/php}

in /themes/mytheme/order-confirmation.tpl

an accepted/suitable way of doing it or is there a better way?

 

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...