[Skip to main content](#vessel-content)

#   Redirect page after purchase

##

- **[blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")**
- [![blackballdesigns's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile") Topic Author
- [ Offline](/forum/user/1315-blackballdesigns)

Less More

- Posts: 44
- Thank you received: 0
-
-

14 years 10 months ago [\#34687](#34687) by [blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")  *[Redirect page after purchase](/forum/4-how-to/34687-redirect-page-after-purchase#34687 "I am selling custom jerseys and I need some information from my customers after they purchase the jerseys. So, I want HikaShop to redirect the customer to a form that I built after they submit their...")* was created by *[blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")*

I am selling custom jerseys and I need some information from my customers after they purchase the jerseys. So, I want HikaShop to redirect the customer to a form that I built after they submit their purchase. How do I go about creating a redirect page? I know some html so I could create the redirect page, but I am just wondering how do I go about connecting it all?

Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0Njg3LXJlZGlyZWN0LXBhZ2UtYWZ0ZXItcHVyY2hhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

14 years 10 months ago [\#34744](#34744) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Redirect page after purchase](/forum/4-how-to/34687-redirect-page-after-purchase#34744 "I am selling custom jerseys and I need some information from my customers after they purchase the jerseys. So, I want HikaShop to redirect the customer to a form that I built after they submit their...")*

You could try to editing the after_end view file via the menu Display-&gt;Views. There, you will have access to the $this-&gt;order which contains all the order information and you will be able to do your redirect.

Alternatively, you could just create custom fields of the table "order" (Business edition only) and they would be displayed on the checkout and the values entered by the user would be attached automatically to the order (and the emails). It's way easier to do.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0Njg3LXJlZGlyZWN0LXBhZ2UtYWZ0ZXItcHVyY2hhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")**
- [![blackballdesigns's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile") Topic Author
- [ Offline](/forum/user/1315-blackballdesigns)

Less More

- Posts: 44
- Thank you received: 0
-
-

14 years 10 months ago [\#35077](#35077) by [blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")  Replied by *[blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")* on topic *[Re: Redirect page after purchase](/forum/4-how-to/34687-redirect-page-after-purchase#35077 "I am selling custom jerseys and I need some information from my customers after they purchase the jerseys. So, I want HikaShop to redirect the customer to a form that I built after they submit their...")*

Ok I understand, but I'm not good at writing php code. So if I want the url to redirect to: [ myurl.com/index.php?option=com\_breezingf...&amp;view=form&amp;Itemid=84](http://myurl.com/index.php?option=com_breezingforms&view=form&Itemid=84)

How do I go about writing to code to actually perform that?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0Njg3LXJlZGlyZWN0LXBhZ2UtYWZ0ZXItcHVyY2hhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

14 years 10 months ago [\#35112](#35112) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Redirect page after purchase](/forum/4-how-to/34687-redirect-page-after-purchase#35112 "I am selling custom jerseys and I need some information from my customers after they purchase the jerseys. So, I want HikaShop to redirect the customer to a form that I built after they submit their...")*

Redirecting can be done like that:

$app=&amp; JFactory::getApplication();
$app-&gt;redirect('[ myurl.com/index.php?option=com\_breezingf...&amp;view=form&amp;Itemid=84](http://myurl.com/index.php?option=com_breezingforms&view=form&Itemid=84)');

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0Njg3LXJlZGlyZWN0LXBhZ2UtYWZ0ZXItcHVyY2hhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")**
- [![blackballdesigns's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile") Topic Author
- [ Offline](/forum/user/1315-blackballdesigns)

Less More

- Posts: 44
- Thank you received: 0
-
-

14 years 10 months ago [\#35139](#35139) by [blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")  Replied by *[blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")* on topic *[Re: Redirect page after purchase](/forum/4-how-to/34687-redirect-page-after-purchase#35139 "I am selling custom jerseys and I need some information from my customers after they purchase the jerseys. So, I want HikaShop to redirect the customer to a form that I built after they submit their...")*

Thank you very much, I will test it out and let you know if it works

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0Njg3LXJlZGlyZWN0LXBhZ2UtYWZ0ZXItcHVyY2hhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")**
- [![blackballdesigns's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile") Topic Author
- [ Offline](/forum/user/1315-blackballdesigns)

Less More

- Posts: 44
- Thank you received: 0
-
-

14 years 9 months ago [\#38626](#38626) by [blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")  Replied by *[blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")* on topic *[Re: Redirect page after purchase](/forum/4-how-to/34687-redirect-page-after-purchase#38626 "I am selling custom jerseys and I need some information from my customers after they purchase the jerseys. So, I want HikaShop to redirect the customer to a form that I built after they submit their...")*

After testing out the payment method to see if it redirects I discovered that it doesn't. All I really need is for a page on my site that contains a form to open up after the customer makes a purchase. I would use the extra fields at in the business version but the form is much more complex than that. Is there any way I can add code to the site to make it open a new window that loads that page when the user clicks the "Next" button at the end of the checkout process?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0Njg3LXJlZGlyZWN0LXBhZ2UtYWZ0ZXItcHVyY2hhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")**
- [![blackballdesigns's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile") Topic Author
- [ Offline](/forum/user/1315-blackballdesigns)

Less More

- Posts: 44
- Thank you received: 0
-
-

14 years 9 months ago [\#38627](#38627) by [blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")  Replied by *[blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")* on topic *[Re: Redirect page after purchase](/forum/4-how-to/34687-redirect-page-after-purchase#38627 "I am selling custom jerseys and I need some information from my customers after they purchase the jerseys. So, I want HikaShop to redirect the customer to a form that I built after they submit their...")*

Also, how do I edit the automatic email that gets sent when a customer makes an order? I want to include a reminder that tells them to fill out the form.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0Njg3LXJlZGlyZWN0LXBhZ2UtYWZ0ZXItcHVyY2hhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

14 years 9 months ago [\#38760](#38760) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Redirect page after purchase](/forum/4-how-to/34687-redirect-page-after-purchase#38760 "I am selling custom jerseys and I need some information from my customers after they purchase the jerseys. So, I want HikaShop to redirect the customer to a form that I built after they submit their...")*

Redirecting to the page where you have the form with the code posted before sounds to be the best solution to what you're asking.

Please make sure that you're editing the correct view file of your front end template and that your payment plugin doesn't have a return URL configured. Otherwise, you wouldn't get that page displayed.

Emails can be edited via the menu System&gt;Emails in the Business edition.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0Njg3LXJlZGlyZWN0LXBhZ2UtYWZ0ZXItcHVyY2hhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")**
- [![blackballdesigns's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile") Topic Author
- [ Offline](/forum/user/1315-blackballdesigns)

Less More

- Posts: 44
- Thank you received: 0
-
-

14 years 9 months ago [\#38769](#38769) by [blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")  Replied by *[blackballdesigns](/forum/user/1315-blackballdesigns "View blackballdesigns's Profile")* on topic *[Re: Redirect page after purchase](/forum/4-how-to/34687-redirect-page-after-purchase#38769 "I am selling custom jerseys and I need some information from my customers after they purchase the jerseys. So, I want HikaShop to redirect the customer to a form that I built after they submit their...")*

Here is a screenshot of my redirect page.
[ ![Untitled-1.jpg](/forum/attachment/2687) ](/forum/attachment/2687 "Untitled-1.jpg")

- [ ![Untitled-1.jpg](/forum/attachment/2687) ](/forum/attachment/2687 "Untitled-1.jpg") [ ](/forum/attachment/2687?download=1 "Untitled-1.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0Njg3LXJlZGlyZWN0LXBhZ2UtYWZ0ZXItcHVyY2hhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

14 years 9 months ago [\#38923](#38923) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Redirect page after purchase](/forum/4-how-to/34687-redirect-page-after-purchase#38923 "I am selling custom jerseys and I need some information from my customers after they purchase the jerseys. So, I want HikaShop to redirect the customer to a form that I built after they submit their...")*

The modification is correct. But make sure that you're doing it for the correct template. You should have once instance of that view file for each template on your website. If you have several templates, you might not be editing the view file for the template you're actually using.

Also, for some payment plugins, it's the file "end" of the view "checkout" which should be edited instead of the "after_end" file (when the payment happens on your website or when you're using offline payment plugins like the bank transfer).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0Njg3LXJlZGlyZWN0LXBhZ2UtYWZ0ZXItcHVyY2hhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.071 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
