Post by a3s6d » Wed Apr 12, 2017 9:34 pm

How do I make "guest checkout" as the default selection in Version 2.1.0.2?

Newbie

Posts

Joined
Sat Apr 09, 2016 5:00 pm

Post by oc-extensions » Thu Apr 13, 2017 6:48 am

Hi,

In catalog/controller/checkout/login.php find code

Code: Select all

		if (isset($this->session->data['account'])) {
			$data['account'] = $this->session->data['account'];
		} else {
			$data['account'] = 'register';
		}
and change line from

Code: Select all

$data['account'] = 'register';
to

Code: Select all

$data['account'] = 'guest';
Have a nice day,
OC-Extensions.com Team

Image | Extensions and Custom Development


User avatar
Active Member

Posts

Joined
Fri Jan 06, 2012 11:31 pm

Post by a3s6d » Thu Apr 13, 2017 1:21 pm

Done, Thank you very much!

Newbie

Posts

Joined
Sat Apr 09, 2016 5:00 pm

Post by samaraki » Wed May 29, 2019 10:15 am

I made a post saying this doesn't work for 3.0.3.2, however actually it does, but you need to refresh modification after editing the file, clearing the theme and SASS doesn't do it.

Active Member

Posts

Joined
Fri Jul 26, 2013 2:36 pm
Who is online

Users browsing this forum: No registered users and 7 guests