How to redirect to thank you page in prestashop

How to redirect to thank you page in prestashop

In this tutorial we will learn how to redirect to thank you page after submission of contact us page.
It is very important to know how many successfull goals are achieved. In google analytics we need to give the url of targeted page.

In prestashop we need some coding to redirect our contact us page to thank you page.

1. First you open ftp or cpanel directory.
2. we need to add a code in contact-form.tpl which you can find in the location domain\public_html\themes\theme_name\contact-form.tpl
3. open file contact-form.tpl in text-editor then go to line no approx 29-30

4. Just add this code {header(“Location:http://domain.com/thank-you”)} like this

Now you will get redirect after submission of contact form.

Vijay maurya

Vijay maurya is a web developer having several years experience and passionate about programming. Vijay worked in many project along with reputed companies. The main aim of blogging is to spread knowledge who need help in development and also to improve knowledge and skills.

One thought on “How to redirect to thank you page in prestashop

  • November 1, 2016 at 12:41 pm
    Permalink

    Great article! must have for any prestashop site!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *