Page 1 of 1

Prevent Multi Other Info fields from being editable in Cart

Posted: Sat Jan 17, 2009 11:42 am
by norman
To prevent the Multi Other Info fields from being editable in the Cart do the following:

Edit ActinicOrder.pm (in your Site folder - back it up first).

Look for the line (about line 9944):

Code: Select all

                		$sHTML .= $sSpacer2 . "<INPUT TYPE=TEXT autocomplete=\"off\" SIZE=\"$sSize\" NAME=\"O_" . ($nI + 1) . "_$nIndex\"" .
Replace it with

Code: Select all

                		$sHTML .= $sSpacer2 . "<INPUT readonly TYPE=TEXT autocomplete=\"off\" SIZE=\"$sSize\" NAME=\"O_" . ($nI + 1) . "_$nIndex\"" .
Update your site.