Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Signup form customization

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 12-04-2018, 08:29 AM
 
FactorInteractivo FactorInteractivo is offline
 

Advanced Member
  
Join Date: Oct 2007
Posts: 44
 

Default 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 !
__________________
X-Carting since 2006
Reply With Quote
  #2  
Old 07-05-2020, 09:07 AM
 
Ed B. Ed B. is offline
 

X-Adept
  
Join Date: Apr 2016
Posts: 446
 

Default 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
__________________
X-cart 5.2.12, php 5.6
Ed from Grenoble, France
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:19 AM.

   

 
X-Cart forums © 2001-2020