Post by prateekdubey » Sun Oct 21, 2018 1:32 pm

Hello everyone,
I want to remove mandatory (red asterisk sign) in email id from the registration form and also login through mobile no. not email id. I am using opencart 3.0.2.0.
Does anyone have practical solution to this.

Thanks
Prateek Dubey


User avatar
Newbie

Posts

Joined
Sun Oct 14, 2018 9:25 pm
Location - India

Post by sarthakinfotech » Sun Oct 21, 2018 5:06 pm

hi
if you only want to hide the * asterisk sign than you need to edit
catalog\view\theme\default\template\account\register.twig file
goto line number 61 where you may find
<div class="form-group required">
now replace it with
<div>

now to see the effect you need to clear the cache from the admin panel. refresh register page and you will see the effect.
NOTE : it only remove the * . it wont allow if email is not entered.

below are the list of useful extensions for you.
https://www.opencart.com/index.php?rout ... h%20mobile
https://www.opencart.com/index.php?rout ... h%20mobile
https://www.opencart.com/index.php?rout ... h%20mobile

you may also refer my blog post http://sarthakinfotech.com/blog/opencar ... ogin-works to know how opencart login works.

Good Day,
Hiren
opencart tips and tricks ,
opencart blogs , opencart extensions/themes , custom development.


User avatar
New member

Posts

Joined
Tue Aug 05, 2014 1:12 am
Location - india

Post by prateekdubey » Mon Oct 22, 2018 1:23 pm

Hi sarthak infotech,
Thanks for your quick response...
Email may be empty or not but mobile no. must be mandatory, because in INDIA many users not have email id but they have mobile no. So we want mobile no. at the place of email id.

Thanks
Prateek Dubey


User avatar
Newbie

Posts

Joined
Sun Oct 14, 2018 9:25 pm
Location - India

Post by paulfeakins » Mon Oct 22, 2018 5:11 pm

Please be reminded this is the Commercial Support forum, is this a paid support request?

Paul

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by prateekdubey » Mon Oct 22, 2018 5:55 pm

Hi Paul,
No it is not a paid request, I can not understand how can I do this changes, pls help me to short out.

Thanks
Prateek Dubey


User avatar
Newbie

Posts

Joined
Sun Oct 14, 2018 9:25 pm
Location - India

Post by OSWorX » Tue Oct 23, 2018 2:50 am

Moved to General Support.

Forum Rules: viewtopic.php?f=176&t=200480
Commercial Request: viewforum.php?f=88

Image


User avatar
Expert Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 10 guests