X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Signup form customization (https://forum.x-cart.com/showthread.php?t=76674)

FactorInteractivo 12-04-2018 08:29 AM

Signup form customization
 
Hi ! I need to add a "phone" field in a client´s signup form (not the checkout one, which can be controlled in the admin). Do you have any idea where I shall search to make that change ? The site is in X-Cart 5.2.15. Found nothing in forums about that . . . Thanks in advance !

Ed B. 07-05-2020 09:07 AM

Re: Signup form customization
 
If I am not mistaken, basically you need to override the array $mainschema defined in the class /View/Model/Profile.php to add the widget /View/FormField/Input/Text/Phone.php


All times are GMT -8. The time now is 08:06 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.