Insert redirect

  • Mel Des Jardins
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 weeks ago #29506 by Mel Des Jardins
Insert redirect was created by Mel Des Jardins
How do I insert a redirect from the booking confirmation page to another page on the site? We don't use pricing, but I need to have a redirect to send customer to another page on the site.
We are almost ready for go live. This is an issue for the client and he's had me take the site down until I can find a way to do this.
Help!!
Mel

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

More
12 years 2 weeks ago #29517 by Mr. Dam
Replied by Mr. Dam on topic Re: Insert redirect
Hi,
If you already disable payment and you want to redirect the customers to another link instead of the page to show Order details, you can follow these steps:
1. Go to file
components > com_osservicesbooking > classes > default.php
2. In line 637
$mainframe->redirect(JURI::root()."index.php?option=com_osservicesbooking&task=default_orderDetailsForm&order_id=".$order_id."&Itemid=".JRequest::getVar('Itemid'));
You can change the link to order details form by the your link, for example
$mainframe->redirect(" abc.com ");

Good luck
Dam

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

Moderators: Mr. Dam