Estimados necesito su ayuda para este error
Quiero agregar los campos de direccion en mi formulario de nuevo cliente pero al querer guardar me aparese el error Delete operation is forbidden for current area, como puedo solucionarlo e probado agregando lineas en mi controlador
pero aun asi no puedo saltar la validacion que me falta o estoy haciendo las cosas mal, no soy muy experto en magento por favor su ayuda
Utilizo magento 2.3.2 y php 7.2
@andres _aguiler Magento by default provide the address fields.
You can enable them using the below link.
@rahul Gupta Hello and thanks for your answer but I have done both cases but clicking on the button saves me the error. What interests me is to skip the validation correctly or fix this
@andres _aguiler try to leave Street field blank and then create the customer and let me know if you are getting the same error.
@rahul Gupta friend I keep the same error, I have left all the fields reacted to the address as not mandatory, the other is that the client is created but leave the error in the frontend
I know this is old, but I wanted to share my case and solution:
I think the problem arrived because we were including the address fields inside the <form> registration. If these fields were not completed, then the form would throw that error.
<input type="hidden" name="create_address" value="1"/>
Which might indicate to Magento that the address field has to be created. But if the fields are empty... it throws the error.