fgatica95 Posted September 2, 2012 Share Posted September 2, 2012 Hello. I write because I am developing www.TuPremium.cl, which sells only digital products (which are sent by email) so you do not need shipping address or billing address. To do this, I enter the authethification.tpl and delete fields not served me. Obviously there are those that delete fields that are mandatory, so I went to AuthController.php AdressController.php delete some lines. Now, no error message appears if anything is missing. When you press the Continue button, it gives Fatal error (http://tupremium.cl/autenticacion?back=order.php?step=1) I have attached the files AdressController and AuthController, if anyone can tell me what is going wrong. Thank you very much for your help. Link to comment Share on other sites More sharing options...
shokinro Posted September 2, 2012 Share Posted September 2, 2012 The required fields validation are in many places, not just in AdressController and AuthController. It also happens in other places like in order validation. The validation is based on class required fields definition of related classes. To remove those as required fields you need to modify related classes. Example protected $fieldsRequired = array('lastname', 'passwd', 'firstname', 'email'); In your scenario, you may need to modify following classes Customer Address Hope this helps Link to comment Share on other sites More sharing options...
Recommended Posts