Opencart 2.2 view order undefined error solution

If you have problem after enabled SSL, here is the quick fix.

Go to
admin/controller/sale/order.php in line 850
change
$data[‘store_url’] = $this->request->server[‘HTTPS’] ? str_replace(“http”, “https”, $order_info[‘store_url’]) :
to
$data[‘store_url’] = $this->request->server[‘HTTPS’] ? str_replace(“https”, “https”, $order_info[‘store_url’]) :

Tagged: Tags:

Leave A Comment?