Skip to content

Opencart 2.3.0.2 with bugs fix added and some features.

Notifications You must be signed in to change notification settings

jimradford/Opencart_2302

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCart

Overview

OpenCart is a free open source ecommerce platform for online merchants. OpenCart provides a professional and reliable foundation from which to build a successful online store.

Info

  • Bug fixes added
  • Support PHP 7.3 and above
  • OpenBay was removed
  • Integrated Currency module from Master Branch - 3.1.0.0b
  • Integrated Timezone from Master Branch - 3.1.0.0b
  • Added Show/Hide password. Code used from Opencart Brasil
  • Integrated Cron module from Master Branch - 3.1.0.0b
  • Added vendor folder for some payments
  • Bootstrap 3.4.1
  • jQuery 3.5.1
  • Removed deprecated Klarna Payment

Language patch for non English

Currency module and Timezone

  • Edit admin/language/your_language/setting.php and add this values:

$['entry_timezone'] = 'Time Zone';
$
['entry_currency_engine'] = 'Currency Rate Engine';

  • Copy currency.php from admin/language/en-gb/extension/extension in the same location of your language.
  • Copy currency folder from admin/language/en-gb/extension/ in the same location of your language.

Cron module

  • Edit admin/language/your_language/column_left.php and add this value:

$_['text_cron'] = 'Cron Jobs';

  • Copy cron.php from admin/language/en-gb/extension in the same location of your language.

Patching standard version of Opencart 2.3.0.2

Cron Module

  • If you had standard Opencart 2.3.0.2 and you have replaced with this version then you need to create in Database "oc_cron" table from opencart.sql

Admin config

Replace old structure

// DIR
define('DIR_APPLICATION', '/your_path/admin/');
define('DIR_SYSTEM', '/your_path/system/');
define('DIR_LANGUAGE', '/your_path/admin/language/');
define('DIR_TEMPLATE', '/your_path/admin/view/template/');
define('DIR_CONFIG', '/your_path/system/config/');
define('DIR_IMAGE', '/your_path/image/');
define('DIR_CACHE', '/your_path/system/storage/cache/');
define('DIR_DOWNLOAD', '/your_path/system/storage/download/');
define('DIR_LOGS', '/your_path/system/storage/logs/');
define('DIR_MODIFICATION', '/your_path/system/storage/modification/');
define('DIR_UPLOAD', '/your_path/system/storage/upload/');
define('DIR_CATALOG', '/your_path/catalog/');

With the new one

// DIR
define('DIR_APPLICATION', '/your_path/admin/');
define('DIR_SYSTEM', '/your_path/system/');
define('DIR_IMAGE', '/your_path/image/');
define('DIR_STORAGE', DIR_SYSTEM . 'storage/');
define('DIR_CATALOG', '/your_path/catalog/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/template/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');

Catalog config

Replace old structure

// DIR
define('DIR_APPLICATION', '/your_path/catalog/');
define('DIR_SYSTEM', '/your_path/system/');
define('DIR_LANGUAGE', '/your_path/catalog/language/');
define('DIR_TEMPLATE', '/your_path/catalog/view/theme/');
define('DIR_CONFIG', '/your_path/system/config/');
define('DIR_IMAGE', '/your_path/image/');
define('DIR_CACHE', '/your_path/system/storage/cache/');
define('DIR_DOWNLOAD', '/your_path/system/storage/download/');
define('DIR_LOGS', '/your_path/system/storage/logs/');
define('DIR_MODIFICATION', '/your_path/system/storage/modification/');
define('DIR_UPLOAD', '/your_path/system/storage/upload/');

With the new one

// DIR
define('DIR_APPLICATION', '/your_path/catalog/');
define('DIR_SYSTEM', '/your_path/system/');
define('DIR_IMAGE', '/your_path/image/');
define('DIR_STORAGE', DIR_SYSTEM . 'storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');

About

Opencart 2.3.0.2 with bugs fix added and some features.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 54.4%
  • Smarty 31.9%
  • JavaScript 11.2%
  • HTML 2.0%
  • CSS 0.5%
  • SCSS 0.0%