This also worked doing this!! I have no problems now!!
In admin/controller/sale/order.php Find this line:
$data['store_url'] = $order_info['store_url'];
You'll notice it pulls the url from the order, and not from your browsing context.
I'm not sure if I'm over riding some other functionality, but I added this:
$data['store_url'] = $order_info['store_url'];
# add the following
if( isset($_SERVER['HTTPS'] ) ) {
$data['store_url'] = str_replace('http://','https://',$data['store_url']);
}
In admin/controller/sale/order.php Find this line:
$data['store_url'] = $order_info['store_url'];
You'll notice it pulls the url from the order, and not from your browsing context.
I'm not sure if I'm over riding some other functionality, but I added this:
$data['store_url'] = $order_info['store_url'];
# add the following
if( isset($_SERVER['HTTPS'] ) ) {
$data['store_url'] = str_replace('http://','https://',$data['store_url']);
}
I solved the problem of having the error editing orders with this:
http://www.opencart.com/index.php?route ... =42&page=7
http://www.opencart.com/index.php?route ... =42&page=7
Take note that using OCMod and VQMod for bugfixes is not a recommended solution: viewtopic.php?f=191&t=165826
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 7 guests