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

How to disable all countries and only allow India – OpenCart 3

disable_remove_country_name_in_opencart

Note: Status = 0 [Means Disable]Status = 1 [Means Enabled] Login to phpmyadmin Select your Database. Click on SQL Tab and Run this code: UPDATE ocdemo_country SET status = 0 WHERE country_id <> 99;UPDATE ocdemo_zone SET status = 0 WHERE country_id <> 99; “ocdemo_” is database prefix. Change according to your installed OpenCart database prefix. … Read more

How to change your OpenCart-3 Password in phpMyAdmin

Opencart 3 change password via phpMyAdmin

– Log into cPanel and click on phpMyAdmin.– Select the database that your OpenCart webstore uses.– Under Database Find the “yourprefix_user” table and then click on “Edit“. – Click on “Insert Tab“. Go to password field. – Write your preferred password in the password field. From the function dropdown to the left, select MD5. Press … Read more