Post by olynnow11 » Sun Jan 22, 2017 9:30 pm

Hi,

How can I change the link for the success page that shoes when the order is completed?
Now it goes to opencartsite.com/index.php?route=checkout/success.
I want it to go to a different page from another website (newwebsite.com)

Thanks,
A

Newbie

Posts

Joined
Fri Dec 30, 2016 4:22 am

Post by MarketInSG » Sun Jan 22, 2017 10:52 pm

Modify your payment module, you will find something like

Code: Select all

$this->response->redirect(....)
Change it to redirect to another link accordingly.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by olynnow11 » Mon Jan 23, 2017 4:43 am

Hi MarketInSG,

Can you please tell me where do I find this? Which file should I modify?I use Opencart 2.0.

Thank you

Newbie

Posts

Joined
Fri Dec 30, 2016 4:22 am

Post by MarketInSG » Mon Jan 23, 2017 11:00 pm

As per mentioned, you will need to modify your payment module, so depends on what payment module you're using, go to the controller file.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by olynnow11 » Tue Jan 24, 2017 10:20 pm

thanks. found it :)

Newbie

Posts

Joined
Fri Dec 30, 2016 4:22 am
Who is online

Users browsing this forum: No registered users and 7 guests