Jump to content

Adding tpl file as UI for Thank You Page


Recommended Posts

Hi

I just created my store with prestashop. And for payment gateway i am using HDFC gateway with their module. I have succesfully added the payment gateway and that payment gateway is also working fine. But after payment sucess, the hdfc redirect user to our website. with url xyz.com/module/hdfc/response and it shows a message. Thanks.

 

But the problem is that i  want to show Order summary and thank you. After doing R&D i found a order-confirmation.tpl file in my theme folder which show complete order summary with order confirmation message. Now the problem is that i want to show this .tpl file instead of that thank you message which is coming from module/hdfc/response.

 

In module/hdfc folder i found one .php file which contains a constant fileUrl for response. I tried changing the url and pointed towards my .tpl file. After doing that changes i again tried the gateway process. And now my url is xyz.com/theme/xyz/order-confirmation. But i am getting 404 not found error on my page. That means prestashop is not able to pickup that file from that folder or not able to read that file.

Now my query is how to fix this issue.? How to call .tpl file on my UI? Is there any way to read .tpl file and to show that on UI?

 

I will be very thankful to you if you help me.

 

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...