edit after end page using paypal

  • Posts: 11
  • Thank you received: 0
3 years 11 months ago #326818

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.22
-- PHP version -- : 7.3

Can you guide me that how to edit after end page? I want to do some custom text in this page please refer attachment screenshot.
1. Want to alert message.
2. content need to show from after_end.php view.
3. want sef url

Please guide to do achieve above points

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 11 months ago #326832

Hi,

1. I'm sorry but I don't understand what you mean by "Want to alert message".

2. The message there already comes from the after_end.php view file. Now, if you want to display the message in the main area of your template instead of the message system of Joomla, you need to change that after_end.php and instead of sending the text to the messaging system, you can just echo the text directly there.

3. I suppose that you're talking about the URL in the address bar when you reach this page. Actually, that URL is usually provided by the payment plugin used for the payment. So what to do will depend on the payment plugin.
Now an easy solution would be to create a page with the content you want to display in a joomla article and enter the URL of that article in the "return URL" of your payment method. That way, you would see that page after the payment instead of the default one which would I suppose fix all your questions here.

The following user(s) said Thank You: imran

Please Log in or Create an account to join the conversation.

Time to create page: 0.044 seconds
Powered by Kunena Forum