I have a module in prestashop that is anchored in the DisplayCustomerAccountForm hook in other modules within the getContent method to receive data from a form I just had to put
if(Tools::isSubmit('boton'){
$nombre = Tools::getValue('nombre');
}
basically with that inside getcontet I can obtain the values but in a module that works in the front office of prestashop it does not work for me it does not enter the post to the hook does anyone have an example of a form that works in the front office
you have to put this in the hook
DisplayCustomerAccountForm
, not ingetconent
, that is only for the configuration pages of the modules