Hello
I have two running stores, and one thing that I am failing in is keeping my shoppers up to date with regards to the order statuses.
I have added order statuses but they do not display nicely and I think this has to do with the language file. They show like this - COM_VIRTUEMART_ORDER_STATUS_"STATUSNAME" instead of just "STATUSNAME"
I know how to add extra statuses but I do not know how to change the way they show.
Thank you in advanced.
http://forum.virtuemart.net/index.php?topic=113895.0
Might help
Create language overrides for the constants? http://forum.virtuemart.net/index.php?topic=113895.0
Thank you for the replies.
Maybe I should be more clear. I created a new order status but the shopper receives the update with this in the subject line:
QuoteCOM_VIRTUEMART_MAIL_SUBJ_SHOPPER_Z
I need to edit that to what the pre-configured order statuses display.
Hope that makes sense.
Then just create that lang constant in the Joomla lang over rides and translate it
Quote from: GJC Web Design on November 16, 2015, 13:16:41 PM
Then just create that lang constant in the Joomla lang over rides and translate it
That has gone completely over my head, and I do not understand. I understand that there must be editing, but please forgive me, I am not a coder or anything like that unfortunately. Guidance?
nothing to do with coding... a std. Joomla function in the admin
http://bfy.tw/2oSu
You can do it different ways.
In your FTP: /administrator/language/overrides/
en-GB.override.ini (english)
es-ES.override.ini (spanish)
fr-FR.override.ini (french)
etc
and folder /language/overrides
Download and open those INI files with notepad or notepad++
Add the order status name you created and the lines for the e-mail subjects.
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_Z="[%3$s], Confirmed order at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_VENDOR_Z="[%3$s], Confirmed order by %1$s, total %2$s"
COM_VIRTUEMART_ORDER_STATUS_ACCEPTED="Accepted"
COM_VIRTUEMART_ORDER_STATUS_POSTPONED="International o postponed"
In my example you see 2 mail subjetcs one for vendor one for customers and 2 order status I created.
So add your lines both in the admin folder and the frontend folder of overrides.
----------------------------------------
You can do it directly also from joomla backend Extensions/languages/overrides/add new and you add them in both frontend and backend.
Regards
Hello
I have added the lines on the language override, and it seems to be correct, but i sent an order update and the subject line still showed, "COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_Z"
This is getting a bit frustrating as it really shouldnt be this difficult to add order statuses that show what they are meant to. It is just the order status email that I need to change, but it seems I have to change the way VM displays it in order for the email subject to read correctly.
Take a look at this screenshot. How come when we create an order status, it shows like this. There is data missing here i think - See attachement
I know I am being a pain, and I am probably being stupid, and sorry for taking up your time, but I am close to paying someone to do this I am that desperate.
Quote from: Niko on November 19, 2015, 14:00:47 PM
Hello
I have added the lines on the language override, and it seems to be correct, but i sent an order update and the subject line still showed, "COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_Z"
This is getting a bit frustrating as it really shouldnt be this difficult to add order statuses that show what they are meant to. It is just the order status email that I need to change, but it seems I have to change the way VM displays it in order for the email subject to read correctly.
Take a look at this screenshot. How come when we create an order status, it shows like this. There is data missing here i think - See attachement
I know I am being a pain, and I am probably being stupid, and sorry for taking up your time, but I am close to paying someone to do this I am that desperate.
The problem is that you are using "shipped by supplier" as title.
Change the title of that order status to:
COM_VIRTUEMART_ORDER_STATUS_SHIPPED_BY_SUPPLIER
In your language files overrides as I showed you in previous post, add the line:
COM_VIRTUEMART_ORDER_STATUS_SHIPPED_BY_SUPPLIER= "Shipped by supplier"
For the email line remember there are 2 lines, one for vendor one for customers:
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_Z="[%3$s], Shipped by supplier order at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_VENDOR_Z="[%3$s], Shipped by supplier order by %1$s, total %2$s"
You have 2 files for overrides for each language, one for admin one for frontend, add it in both as I showed you in:
/administrator/language/overrides/
/language/overrides
Right, I was not able to find a workaround to load always the FE override file, so it must be done in both files for emails and invoices.