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

#   Message after step3

##

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

Less More

- Posts: 187
- Thank you received: 10
-
-

12 years 4 months ago -  12 years 4 months ago [\#164409](#164409) by [zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")  *[Message after step3](/forum/27-checkout/869759-message-after-step3#164409 "We need to show a message after people paid for their product. Step 3 of the wizard ends with a &quot;thank you message&quot; which we could expand a bit but it would be nice to go to a full article. Somewhere in the forum I found the code to add a redirect to the &quot;after&#95;end&quot; file, which I tried:  $app=&amp; JFactory::getApplication(); $app-&gt;redirect('http://domain/winkel-bedankt');  But after the purchase I keep seeing this standard &quot;thank you page&quot;. Does it need a specific setting in the config? (Of course I am using an alias/dummy link to stay flexible)  Secondly could this message or better the redirect be made depending on the product (or category)?  if( this category) {do this} elseif(etc etc)  Any hint how to achieve this?  Bastiaan")* was created by *[zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")*

We need to show a message after people paid for their product.
Step 3 of the wizard ends with a "thank you message" which we could expand a bit but it would be nice to go to a full article.
Somewhere in the forum I found the code to add a redirect to the "after_end" file, which I tried:

$app=&amp; JFactory::getApplication();
$app-&gt;redirect('http://domain/winkel-bedankt');

But after the purchase I keep seeing this standard "thank you page". Does it need a specific setting in the config?
(Of course I am using an alias/dummy link to stay flexible)

Secondly could this message or better the redirect be made depending on the product (or category)?

if( this category)
{do this}
elseif(etc etc)

Any hint how to achieve this?

Bastiaan

Last edit: 12 years 4 months ago by [zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTc1OS1tZXNzYWdlLWFmdGVyLXN0ZXAzP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

12 years 4 months ago [\#164441](#164441) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Message after step3](/forum/27-checkout/869759-message-after-step3#164441 "We need to show a message after people paid for their product. Step 3 of the wizard ends with a &quot;thank you message&quot; which we could expand a bit but it would be nice to go to a full article. Somewhere in the forum I found the code to add a redirect to the &quot;after&#95;end&quot; file, which I tried:  $app=&amp; JFactory::getApplication(); $app-&gt;redirect('http://domain/winkel-bedankt');  But after the purchase I keep seeing this standard &quot;thank you page&quot;. Does it need a specific setting in the config? (Of course I am using an alias/dummy link to stay flexible)  Secondly could this message or better the redirect be made depending on the product (or category)?  if( this category) {do this} elseif(etc etc)  Any hint how to achieve this?  Bastiaan")*

Hi,

If you don't enter any "return URL" in your payment method, you'll indeed go to the after_end view file for most payment methods.
So if you entered a return URL the after_end view file won't be called. That could be why you don't get your redirect to work.

You can always have more complex code with conditions, but it will be quite complex since you can have several products in the same order, and several categories per product, and that the data of the order/products/categories is not loaded (so you first need to load all that with MySQL queries).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTc1OS1tZXNzYWdlLWFmdGVyLXN0ZXAzP3RtcGw9bWFya2Rvd24=) 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.052 seconds

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