Post by dimko » Sun Oct 09, 2011 2:05 am

I can not find any text string within the files, in order to translate the "Out Of Stock" label shown on the product page, except the one in the database. Any solution to this?

v1.5.1.3
Last edited by dimko on Sun Oct 09, 2011 4:29 am, edited 1 time in total.

Using OpenCart v1.5.1.3


Active Member

Posts

Joined
Sun Sep 25, 2011 2:10 am

Post by Daniel » Sun Oct 09, 2011 3:45 am

yes its under the the products page in the admin.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by dimko » Sun Oct 09, 2011 4:19 am

Hm, I'm not following you... What exactly do you mean under the products page in the admin?

In Admin, in every product options, there is a drop down menu to shoose "Out Of Stock Status", but not to translate it to some other language.

For example, the "In Stock" label can be translated via "$_['text_instock'] = 'In Stock';" which can be found in the "products.php" file, but I can not find in which file is "Out Of Stock" label, so I can translate it, except in the database.

It's the same with "Pre-Order" and "2 - 3 Days" string, they can only be found in the database.

Using OpenCart v1.5.1.3


Active Member

Posts

Joined
Sun Sep 25, 2011 2:10 am

Post by dimko » Sun Oct 09, 2011 4:27 am

Ok, found it, in Stock Statuses in Admin. Didn't see it, because "In Stock" label is in file to be translated, didn't think this can be in Admin.

Thanks.

Using OpenCart v1.5.1.3


Active Member

Posts

Joined
Sun Sep 25, 2011 2:10 am

Post by iamfablaz » Mon Dec 10, 2012 5:14 pm

You may find this in the DB, in the table "txst_stock_status".
For more languages Add fields with language ID and the translation.
Works on my Opencart 1.5.4* with 2 languages, English ID = 1, Italian ID = 2

Hope this helps.

Web designer & developer (php, jquery, mysql vqmod)
Last online effort: http://www.thelooksite.com
Company website: http://www.onydea.com


Newbie

Posts

Joined
Thu Nov 22, 2012 6:38 pm

Who is online

Users browsing this forum: No registered users and 10 guests