Search found 3 matches

Page 1 of 1

Search found 3 matches

how to add second db connection

i want to get some data from another database on basic of store selection from combo box so how can i add another dynamic db connection to my project and get data from it $this->registry->set('db2', new DB($this->config->get('db_type2'), $store['db_hostname'], $store['db_username'], $store['db_passw...

Jump to post
  • Mon Nov 07, 2016 9:29 pm
  • Replies 1
  • Views 155
How To connect Multiple database

i have developed my custom site using the opencart 2.2.0.0 frame work first data base have login info and its not change but other data base display information based on the select boxed selected store and make object db2 like below connection but when i change the store from select box db2 cont get...

Jump to post
  • Sat Nov 08, 2014 12:42 am
  • Replies 0
  • Views 951
Re: How To Set Up Multi-Store - Simple 5 step guide

Hy i have two domain on different hosting server 1) abc.com 2) xyz.com Now i have opencart theme 1.5.2.1 on my abc.com and its live now i need xyz.com to be live with same data base as per its post i have setup new store in abc.com domain and i already uploaded all the same code (All the folders) on...

Jump to post
  • Fri Jul 05, 2013 4:03 pm
  • Replies 193
  • Views 214269

Page 1 of 1

Search found 3 matches