Post by gerstavros » Sun Sep 29, 2019 7:01 am

Hi
I am trying to remove the email validation from the admin's order creating page.
I made the field on tpl not required but still gives error that email address is invalid. I checked sales/order controller and model but can't see any validation code. What am i missing?
Last edited by gerstavros on Sun Sep 29, 2019 6:31 pm, edited 1 time in total.

New member

Posts

Joined
Mon Apr 04, 2016 12:44 am

Post by opencartmart » Sun Sep 29, 2019 2:33 pm

You are looking in wrong places. Validation code can be found in the file - catalog/controller/api/customer.php, please check that file

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by gerstavros » Sun Sep 29, 2019 6:29 pm

Thank you. Didn't even think of admin using the catalog controllers. In older opencart versions, validation was in every admin controller too

New member

Posts

Joined
Mon Apr 04, 2016 12:44 am

Post by opencartmart » Sun Sep 29, 2019 11:54 pm

Glad to hear. Thanks

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am
Who is online

Users browsing this forum: No registered users and 29 guests