El atributo de cliente personalizado de Magento no está visible en Frontened
Frecuentes
Visto 1,890 equipos
2
I created a module to add a custom attribute for customer registration and other forms.It is visible on backend but not visible on frontend.I want to show it on all forms on frontend.
I used it from this link: http://www.silksoftware.com/magento-module-creator/
1 Respuestas
1
Just added the fields into register.phtml template like:
<div class="input-box"> <input type="text" name="driver_license_number" id="driver_license_number" value="" title="<?php echo $this->__('Driver License Number') ?>" class="input-text"/> </div>
Just take care about name,name must be same as your attribute code.
Respondido el 05 de junio de 14 a las 13:06
How do I do this by not editing the base template. From my module itself. - Harish Ninge Gowda
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas php magento magento-1.8 or haz tu propia pregunta.
Where do you want to show that customer attribute and what is your attribute_code ? - Slimshadddyyy
Want to show on customer registration form and attribute code is weedpreference - rohitnetgains
Do you see the attribute id of attribute_code
weedpreference
para el campo form_codecustomer_account_create
en tucustomer_form_attribute
mesa ? - Slimshadddyyyyes it is present there - rohitnetgains
Asegúrate de leer
is_visible
field value for your attribute incustomer_eav_attribute
mesa - Slimshadddyyy