Install Vqmod in OpenCart manually (2.5+)

Install Vqmod in OpenCart manually (2.5+)

1. Backup or make a duplicate of your existing installed OpenCart files and folders in safe place.

2.Download the latest version Vqmod for Opencart  from:

https://github.com/vqmod/vqmod/releases

3. Using FTP, upload the “vqmod” folder from the zip to the root of your opencart store.Be sure the vqmod folder and the vqmod/vqcache folders are writable (either 755 or 777).

* Also be sure index.php and admin/index.php are writable.

 + If not sure which you need, first try 755.

 + If you get errors about permissions, then try 777.

4. Now, we need to modify two files. One is /index.php and another one is /admin/index.php file.

  Edit your  index.php

  FIND

// Startup

require_once(DIR_SYSTEM . ‘startup.php’);

// Application Classes

require_once(DIR_SYSTEM . ‘library/customer.php’);

require_once(DIR_SYSTEM . ‘library/currency.php’);

require_once(DIR_SYSTEM . ‘library/tax.php’);

require_once(DIR_SYSTEM . ‘library/weight.php’);

require_once(DIR_SYSTEM . ‘library/length.php’);

require_once(DIR_SYSTEM . ‘library/cart.php’);

require_once(DIR_SYSTEM . ‘library/affiliate.php’);

 REPLACE WITH

// vQmod

require_once(‘./vqmod/vqmod.php’);

VQMod::bootup();

// VQMODDED Startup

require_once(VQMod::modCheck(DIR_SYSTEM . ‘startup.php’));

// Application Classes

require_once(VQMod::modCheck(DIR_SYSTEM . ‘library/customer.php’));

require_once(VQMod::modCheck(DIR_SYSTEM . ‘library/currency.php’));

require_once(VQMod::modCheck(DIR_SYSTEM . ‘library/tax.php’));

require_once(VQMod::modCheck(DIR_SYSTEM . ‘library/weight.php’));

require_once(VQMod::modCheck(DIR_SYSTEM . ‘library/length.php’));

require_once(VQMod::modCheck(DIR_SYSTEM . ‘library/cart.php’));

require_once(VQMod::modCheck(DIR_SYSTEM . ‘library/affiliate.php’));

 Edit your admin/index.php file

FIND

// Startup

require_once(DIR_SYSTEM . ‘startup.php’);

// Application Classes

require_once(DIR_SYSTEM . ‘library/currency.php’);

require_once(DIR_SYSTEM . ‘library/user.php’));

require_once(DIR_SYSTEM . ‘library/weight.php’);

require_once(DIR_SYSTEM . ‘library/length.php’);

 REPLACE WITH

// vQmod

require_once(‘../vqmod/vqmod.php’);

VQMod::bootup();

// VQMODDED Startup

require_once(VQMod::modCheck(DIR_SYSTEM . ‘startup.php’));

// Application Classes

require_once(VQMod::modCheck(DIR_SYSTEM . ‘library/currency.php’));

require_once(VQMod::modCheck(DIR_SYSTEM . ‘library/user.php’));

require_once(VQMod::modCheck(DIR_SYSTEM . ‘library/weight.php’));

require_once(VQMod::modCheck(DIR_SYSTEM . ‘library/length.php’));

5. vQmod is now ready to use. Upload desired xml script to ‘vqmod/xml’ folder

6. Load your store homepage and verify it works.



Leave a Reply