Page 1 of 1
Taking the old stuff with me (orders etc)
Posted: Sun Mar 20, 2016 1:41 am
by djbosanac
Hello all,
I have a question about the orders in OC.
I want to open a new shop but want to take the orders with me.
Is there a possible way i can export/import the orders and than upload them to the new domain..
Because i want the current domain is be redirected(migrating) to a different domain(new one) but with the old hosting.
So is that possible?? Or do i need to choose a new domain + hosting???
Re: Taking the old stuff with me (orders etc)
Posted: Sun Mar 20, 2016 9:41 am
by Randem
Hi djbosanac,
Not following you... You want to take the orders but not the customers or products? This does not seem logical, perhaps you can give more details. If you just want to move the store to a new hosting site that is completely different. Everything will go...
Re: Taking the old stuff with me (orders etc)
Posted: Sun Mar 20, 2016 11:14 am
by ocart777
djbosanac wrote:Hello all,
I have a question about the orders in OC.
I want to open a new shop but want to take the orders with me.
Is there a possible way i can export/import the orders and than upload them to the new domain..
Because i want the current domain is be redirected(migrating) to a different domain(new one) but with the old hosting.
So is that possible?? Or do i need to choose a new domain + hosting???
the simplest way to get this done is make a full database backup and you'll get the sql file, open this file with text editor,i prefer notepad++ as it can handle large file and it is free too. search for your domain eg "
http://www.site.com/" and replace with "
http://www.newdomain.com/" search for "https://" too if needed. save then import them to the new website
please noted that you may need to change the table prefix if it is different. and also the file transfer may be needed(mod, theme etc..)
for redirect you can add this piece of code to your header controller just after "public function index() {"
Code: Select all
$this->response->redirect("http://www.newdomain.com/");