I'm using OC 2.0.2.0.
When an order is added, the email i (and the client) receive is a little strange regarding the date:
Date Added: 09am30UTC_f2015Thu, 09 Apr 2015 01:21:49 +000004am30_49012015Thu, 09 Apr 2015 01:21:49 +000030
How can i fix this?
Thanks
Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
OSWorX wrote:See here: https://github.com/opencart/opencart/pull/2897
The only thing I find on this link in response to this is;
Is better $order_info['language_directory'] than 'english'.
Any chance anyone here can interpret what exactly that means?
The dates displays wrong on both my admin copy and the customer copy of the invoice like this.
Code: Select all
$order_info['language_directory']
2. how does your date (the output) looks now
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Do I remove the line only to add it or do I add a blank line or blank space? Sorry I was confused on the github colour/label for that
Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.
Wether nor.pennyprofits wrote:I'm not sure what line 858 in your code is to do...
Do I remove the line only to add it or do I add a blank line or blank space? Sorry I was confused on the github colour/label for that
The orginal line (code) is like that:
Code: Select all
$language->load('default');
Code: Select all
$language->load($order_info['language_directory'])
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
-Ryan
Can you tell me what file you are making this change in?OSWorX wrote:Wether nor.pennyprofits wrote:I'm not sure what line 858 in your code is to do...
Do I remove the line only to add it or do I add a blank line or blank space? Sorry I was confused on the github colour/label for that
The orginal line (code) is like that:and you have to replace that with:Code: Select all
$language->load('default');
Code: Select all
$language->load($order_info['language_directory'])
From the cryptic github note regarding this, I assume it is order.php, but if so, which one? I have three different ones in three different folders.
pennyprofits wrote:I did it in the one mentioned in github and it works perfect.
Thanks. I didnt realize there was more to the github thread than that single line. Took a little digging but found the info and it did indeed work.
Gracias!
OpenCart Version 2.0.2.0
from Date Added: 25pm30UTC_f2015Sat, 25 Apr 2015 15:16:30 +000004pm30_30032015Sat, 25 Apr 2015 15:16:30 +000030
to Date Added: 04/25/2015
File to edit:
Code: Select all
\catalog\model\checkout\order.php
Code: Select all
$language->load('default');
Code: Select all
$language->load($order_info['language_directory']);
Order ID: 41550
Date Ordered: 29am31America/Los_Angeles_f2015Fri, 29 May 2015 11:44:20 -070005am31_20112015Fri, 29 May 2015 11:44:20 -070031
Your order has been updated to the following status:
Shipped
The comments for your order are:
Order Shipped on 05/29/2015 via Priority Mail Tracking Number is: 1
Please reply to this email if you have any questions.
Users browsing this forum: Semrush [Bot] and 135 guests