On my site, opencart 2.2 is a module within the larger site.
When one clicks on a "Buy" button the user is taken into Opencart to complete the transaction.
After successful completion I would like the user to be returned to the main directory either by substituting a page for / index.php?route=checkout/success
or
By changing the URL of the "continue" button on the success page.
Can anyone offer a solution please?
Hi
In the file: catalog/controller/checkout/success.php just before
add
In the file: catalog/controller/checkout/success.php just before
Code: Select all
$this->document->setTitle($this->language->get('heading_title'));
Code: Select all
$this->response->redirect('url you want to redirect');
Professional OpenCart support: info@ite.systems
Who is online
Users browsing this forum: No registered users and 83 guests