Biz Connection FREE TRIAL + $75 GOOGLE ADWORD - FREE VOUCHER for YOU!

Mandatory fields – register

Regsiter procedure on Zen Cart based wensites:

/includes/modules/pages/create_account/jscript_form_check.php

and

/includes/modules/YOUR ACCOUNT/tpl_create_account_default.php or /includes/modules/tpl_create_account_default.php

and delete the line(s) relevant – do not check filed you do not wish to be mandatory / insert lines for fileds you wish to be.

/includes/templates/YOUR_TEMPLATE/templates/tpl_create_account_default.php

/includes/templates/YOUR_TEMPLATE/templates/tpl_modules_create_account_dealer.php (here is for example (zen_not_null(ENTRY_MOBILE_NUMBER_TEXT)

To make it mandatory go to :

/includes/languages/YOUR_TEMPLATE/english.php

and change two lines from

define(‘ENTRY_MOBILE_NUMBER_ERROR’, ”);
define(‘ENTRY_MOBILE_NUMBER_TEXT’, ”);

to

define(‘ENTRY_MOBILE_NUMBER_ERROR’, ‘CAN YOU PLEASE WRITE YOUR MOBILE HERE’);
define(‘ENTRY_MOBILE_NUMBER_TEXT’, ‘*’);

Enjoy.

For full professional services – zencart (simple and very complex ecommerce websites) please visit our website : ECOMMERCE WEB DESIGN 

Thank you

 

Related articles

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 1.00 out of 5)
Loading ... Loading ...

Leave a Comment