Change Stock Status Character length in OpenCart 3.x

stock-status-chracter-length-in-opencart

Step-1 Locate:/admin/controller/localisation/stock_status.phpFind this line: if ((utf8_strlen($value[‘name’]) < 3) || (utf8_strlen($value[‘name’]) > 32)) {Change that 32 to your desired character length. like: 35 or 50 character.Save your file and upload (overwrite). Step- 2 *Before start – Make sure you taken backup of your database. Login to your phpmyadmin.Find out oc_stock_status (oc_ your database prefix maybe different … Read more