Jump to content

Remove Guest Registration


Guest lprintz

Recommended Posts

Guest lprintz

Hello all!

I had hoped I could simply shut off the guest registration in the admin area...no such luck!

Is there any way to remove this feature! I need ALL my customers to register.

Thanks so much!

Len

Link to comment
Share on other sites

Hello all!

I had hoped I could simply shut off the guest registration in the admin area...no such luck!

Is there any way to remove this feature! I need ALL my customers to register.

Thanks so much!

Len

I've asked for help doing the same thing here on the forum with no response, so I hope someone can give us the way to do it.

Link to comment
Share on other sites

Until Cubecart add a setting for this in the admin dashboard, or someone makes a plugin, a quick and dirty workaround would be to hide the "I would like to create an account" checkbox in the template. It's in the file content.checkout.confirm.php - code looks like this:

<div class="select_register"><input type="checkbox" name="register" id="show-reg" value="1" class="" {$REGISTER_CHECKED} /> <label for="show-reg">{$LANG.account.create_account}</label></div>

You can give the div a style of display:none; to hide it.

Link to comment
Share on other sites

Until Cubecart add a setting for this in the admin dashboard, or someone makes a plugin, a quick and dirty workaround would be to hide the "I would like to create an account" checkbox in the template. It's in the file content.checkout.confirm.php - code looks like this:

<div class="select_register"><input type="checkbox" name="register" id="show-reg" value="1" class="" {$REGISTER_CHECKED} /> <label for="show-reg">{$LANG.account.create_account}</label></div>




You can give the div a style of display:none; to hide it.

That worked just fine. I added this to my skin/styles/layout.css

I tested it with a fake order and it seems to work perfectly.

Thanks again, Viola. You have been very helpful, and I really appreciate it.

.hidden {display:none;

}




and then changed 


<div class="select_register"><input type="checkbox" name="register" id="show-reg" value="1" class="" {$REGISTER_CHECKED} /> <label for="show-reg">{$LANG.account.create_account}</label></div>


to


 <div class="hidden"><input type="checkbox" name="register" id="show-reg" value="1" class="" {$REGISTER_CHECKED} /> <label for="show-reg">{$LANG.account.create_account}</label></div>
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...