Prevent Multi Other Info fields from being editable in Cart

Collect several lines of customer entered data with a product.
Post Reply
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Prevent Multi Other Info fields from being editable in Cart

Post 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.
Norman
Post Reply