Post by JackDavis » Tue Mar 06, 2012 11:20 pm

I have written a quick blog post on how to define which pages your customer is redirected to when they log into or out of their account. This can be great for branding, customisation, conversions, boosting sales and customer loyalty! As well as looking better! The link is:

http://www.jackwdavis.com/2012/03/06/ho ... gging-out/

Cheers!

Jack

Destrove is a professional Web Development, SEO, Marketing and eCommerce company based in Lincoln, UK that specialises in OpenCart Development.
http://www.destrove.com
We now offer a specialised OpenCart Web Hosting Service at great rates, hosting clients get discounted OpenCart Development! http://www.destrove.com/services/opencart-web-hosting


New member

Posts

Joined
Sun Jan 15, 2012 1:29 am
Location - Lincoln, UK

User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)

Post by JackDavis » Tue Mar 13, 2012 10:07 pm

Hmm thats an interesting question. I don't see how it couldn't be done, all you would have to do is load the customer type and put the redirect URLS in an IF statement...

Destrove is a professional Web Development, SEO, Marketing and eCommerce company based in Lincoln, UK that specialises in OpenCart Development.
http://www.destrove.com
We now offer a specialised OpenCart Web Hosting Service at great rates, hosting clients get discounted OpenCart Development! http://www.destrove.com/services/opencart-web-hosting


New member

Posts

Joined
Sun Jan 15, 2012 1:29 am
Location - Lincoln, UK

User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)

Post by gulli » Fri Sep 07, 2012 6:06 pm

Hi,

Thanks for your blog post! I tried and it does what it promises, good work there! However, there is a problem: I'm running a bilingual website and when users are redirected they always land in the home page of one of the languages only. This is what is happening:

English login page >> English home page - this is fine

now the issue:

Portuguese login page >> English home page - this is not fine

Is there a way of correcting this issue?

regards

Newbie

Posts

Joined
Thu Aug 30, 2012 11:19 pm

User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)

Post by mobilus » Thu Jun 13, 2013 3:11 am

I'm trying to figure out how to do the same for my multisite installation. could you share your code, if I get it working, I'll post back with a free VQMOD. I'm trying to redirect the users from a single logon to their proper store - based on the store_id value stored in the customer table. I'm trying to avoid having to make my customers remember the subdomain URL of their store.

thanks,
mike

Newbie

Posts

Joined
Thu Jun 13, 2013 2:05 am

Post by JackDavis » Wed Jun 19, 2013 3:37 pm

Hi,

You can do this with an IF statement. So:

if($this->language->get('code') == "Whatever"){
redirect code for language 1;
} else if($this->language->get('code') == "Whatever else"){
redirect code for language 2;
}

and so on...

Destrove is a professional Web Development, SEO, Marketing and eCommerce company based in Lincoln, UK that specialises in OpenCart Development.
http://www.destrove.com
We now offer a specialised OpenCart Web Hosting Service at great rates, hosting clients get discounted OpenCart Development! http://www.destrove.com/services/opencart-web-hosting


New member

Posts

Joined
Sun Jan 15, 2012 1:29 am
Location - Lincoln, UK
Who is online

Users browsing this forum: No registered users and 4 guests