Summary:
Mandatory telephone number in Cart Made Simple produces warning when telephone number is left blank.
Detailed Description:
If in the settings of Cart Made Simple telephone number is set to mandatory and
the user leaves the telephone number blank in the form. There will not be
generated an user error message, but the following error will be displayed in
the browser. (regardless of the php.ini error settings)
Warning: Parameter telephone is not known by module CartMadeSimple dropped
in/var/www/clients/client12/web35/web/lib/misc.functions.php on line 1590
'''Solution:'''
Based on a tip of duketown I've added the following line to the file
CartMadeSimpleModule.php
$this->SetParameterType('telephone', CLEAN_STRING);
.