Jump to content

Changing content of order confirmation page


Recommended Posts

Hi

 

I would like to check how to delete certain default messages from the order confirmation page?

 

I do not know anything coding except for HMTL.. please advise, thanks.

 

e.g.: I do not want the liner of your order will be sent as soon as we receive payment..

 

Please send us a bank wire with
- Amount S$20.00
- Name of account owner xxxx
- Include these details xxxx

- Bank name xxxx

- Do not forget to insert your order reference xxxx in the subject of your bank wire.
An email has been sent with this information.
Your order will be sent as soon as we receive payment.
If you have questions, comments or concerns, please contact our xxxx

Edited by nickmummy (see edit history)
Link to comment
Share on other sites

You need to edit the OrderController.php file

				// Bypass payment step if total is 0
				if (($id_order = $this->_checkFreeOrder()) && $id_order)
				{
					if ($this->context->customer->is_guest)
					{
						$order = new Order((int)$id_order);
						$email = $this->context->customer->email;
						$this->context->customer->mylogout(); // If guest we clear the cookie for security reason
						Tools::redirect('index.php?controller=guest-tracking&id_order='.urlencode($order->reference).'&email='.urlencode($email));
					}
					else
						Tools::redirect('index.php?controller=history');
				}

see the history redirection? Set it to order-confirmation

Link to comment
Share on other sites

×
×
  • Create New...