Hi,
Is it possible to disable login box from checkout page. I just want my customer details billing and shipping don't want to give him option to register or login. I know It can be done. When Customer clicks on checkout he should ask for his details that's it. Please advice me how can I do that.
Regards,
Is it possible to disable login box from checkout page. I just want my customer details billing and shipping don't want to give him option to register or login. I know It can be done. When Customer clicks on checkout he should ask for his details that's it. Please advice me how can I do that.
Regards,
Quick method is to redirect all normal checkout pages to the guest checkout pages.
1. EDIT 3 FILES:
catalog/controller/checkout/shipping.php
catalog/controller/checkout/payment.php
catalog/controller/checkout/confirm.php
2. IN ALL 3 FILES, FIND:
3. IN ALL 3 FILES, REPLACE WITH:
If you want to completely disable login and account create features, you can set up redirects from those account pages so that they can never be landed on:
1. EDIT 2 FILES:
catalog/controller/account/login.php
catalog/controller/account/create.php
2. FIND:
3. AFTER, ADD:
4. EDIT:
catalog/view/theme/YOURTHEME/template/common/header.tpl
You will also likely want to remove the login & account tabs from the header.
1. EDIT 3 FILES:
catalog/controller/checkout/shipping.php
catalog/controller/checkout/payment.php
catalog/controller/checkout/confirm.php
2. IN ALL 3 FILES, FIND:
Code: Select all
$this->redirect($this->url->https('account/login'));
Code: Select all
$this->redirect(HTTPS_SERVER . 'index.php?route=checkout/guest_step_1'));
1. EDIT 2 FILES:
catalog/controller/account/login.php
catalog/controller/account/create.php
2. FIND:
Code: Select all
public function index() {
Code: Select all
$this->redirect(HTTPS_SERVER . 'index.php?route=checkout/guest_step_1');
catalog/view/theme/YOURTHEME/template/common/header.tpl
You will also likely want to remove the login & account tabs from the header.
how would one go about this? apologies if the answer is on here somewhere but i can't find itQphoria wrote: You will also likely want to remove the login & account tabs from the header. If you want to completely disable login and account create features, there is a different way

Hi,
thanks in advance
I would like to remove login & account & shopping cart etc. functions, im trying to configure my opencart as "catalogue only".You will also likely want to remove the login & account tabs from the header. If you want to completely disable login and account create features, there is a different way
thanks in advance
to fix my problem i ended up editing this file
\catalog\view\theme\default\template\common.header.tpl
go to line 35 and replace all the div4 code with this:
<div class="div4"><a href="<?php echo $home; ?>" id="tab_home"><?php echo $text_home; ?></a>
<a href="<?php echo $cart; ?>" id="tab_cart"><?php echo $text_cart; ?></a><a href="<?php echo $checkout; ?>" id="tab_checkout"><?php echo $text_checkout; ?></a></div>
although now the tabs are misaligned, but i'm sure that's easily fixed
\catalog\view\theme\default\template\common.header.tpl
go to line 35 and replace all the div4 code with this:
<div class="div4"><a href="<?php echo $home; ?>" id="tab_home"><?php echo $text_home; ?></a>
<a href="<?php echo $cart; ?>" id="tab_cart"><?php echo $text_cart; ?></a><a href="<?php echo $checkout; ?>" id="tab_checkout"><?php echo $text_checkout; ?></a></div>
although now the tabs are misaligned, but i'm sure that's easily fixed
Hi. How do you disable the login and account features as mentioned above? I only want users to be able to checkout using a guest account. I'm running version 1.4.8Qphoria wrote:If you want to completely disable login and account create features, there is a different way
Thanks in advance.
How can I send all clicks on the Checkout link to the guest checkout page but still give the customer the option to register an account. I think I need to add something to the "if" question in login.php.
1.4.9.3
1.4.9.3
I'm using OpenCart 1.5.1.3
Hi,
I would like to allow checkout as guest only on opencart 1.5.
Since it's completely different way for checout as in 1.4.x I would be glad if anyone can provide instructions.
I presume threre's need to change the checkout.php and/or checkout.tpl file but since I'm beginner in java programming I can't do it myself.
Thanks
I would like to allow checkout as guest only on opencart 1.5.
Since it's completely different way for checout as in 1.4.x I would be glad if anyone can provide instructions.
I presume threre's need to change the checkout.php and/or checkout.tpl file but since I'm beginner in java programming I can't do it myself.
Thanks
How about making the registration option a little more "stealthy"?
What do we need from the customer to register an account? E-mail and password.
They already enter the E-mail address on guest checkout - so just stick a password field in there somewhere.
That way, you're not scaring them with the whole "Register Account" header, yet you're still providing them with a way to re-login and track their orders.
That's the easy part... now we just need one of the resident OpenCart wizards (oh hi Qphoria!
) to figure out the programming...
What do we need from the customer to register an account? E-mail and password.
They already enter the E-mail address on guest checkout - so just stick a password field in there somewhere.
That way, you're not scaring them with the whole "Register Account" header, yet you're still providing them with a way to re-login and track their orders.
That's the easy part... now we just need one of the resident OpenCart wizards (oh hi Qphoria!



UPDATE for version 1.4.9.5:Qphoria wrote: 1. EDIT 3 FILES:
catalog/controller/checkout/shipping.php
catalog/controller/checkout/payment.php
catalog/controller/checkout/confirm.php
2. IN ALL 3 FILES, FIND:3. IN ALL 3 FILES, REPLACE WITH:Code: Select all
$this->redirect($this->url->https('account/login'));
Code: Select all
$this->redirect(HTTPS_SERVER . 'index.php?route=checkout/guest_step_1'));
Instead of
$this->redirect($this->url->https('account/login'));
search for
$this->redirect(HTTPS_SERVER . 'index.php?route=account/login');.
Disable login and registration on Checkout Opencart 1.5
Hi! Have a look at this post:
http://forum.opencart.com/viewtopic.php?f=20&t=36157
Hi! Have a look at this post:
http://forum.opencart.com/viewtopic.php?f=20&t=36157
If you want to completely disable login and account create features in OC 1.4.X.X, you can set up redirects from those account pages so that they can never be landed on:
1. EDIT 2 FILES:
catalog/controller/account/login.php
catalog/controller/account/create.php
2. FIND:
3. AFTER, ADD:
4. EDIT:
catalog/view/theme/YOURTHEME/template/common/header.tpl
You will also likely want to remove the login & account tabs from the header.
In order to change the wording "Guest Checkout", go to catalog\language\english\checkout and you will find two files:
guest_step_1.php and guest_step_2.php
Change all references to "GUEST CHECKOUT" in these files to "CHECKOUT"
This way the customers won't think there's something wrong with your cart.
1. EDIT 2 FILES:
catalog/controller/account/login.php
catalog/controller/account/create.php
2. FIND:
Code: Select all
public function index() {
Code: Select all
$this->redirect(HTTPS_SERVER . 'index.php?route=checkout/guest_step_1');
catalog/view/theme/YOURTHEME/template/common/header.tpl
You will also likely want to remove the login & account tabs from the header.
In order to change the wording "Guest Checkout", go to catalog\language\english\checkout and you will find two files:
guest_step_1.php and guest_step_2.php
Change all references to "GUEST CHECKOUT" in these files to "CHECKOUT"
This way the customers won't think there's something wrong with your cart.
How can I disable login and registration on checkout in opencart 1.5.5.1
I cant find any of these files in my catalog/controller/checkout/ Folder
catalog/controller/checkout/shipping.php
catalog/controller/checkout/payment.php
catalog/controller/checkout/confirm.php
I cant find any of these files in my catalog/controller/checkout/ Folder
catalog/controller/checkout/shipping.php
catalog/controller/checkout/payment.php
catalog/controller/checkout/confirm.php
Who is online
Users browsing this forum: Semrush [Bot] and 73 guests