1and1 Help Centre Categories

print article

How can address fields be made read only? (cannot be edited by the shopper)

You can make the address fields read-only by entering the following code under: 'Settings' -> 'Advanced Settings' -> 'Payment methods' -> 'Rules for the order pages' Here you should see 'Rule for the second order page($RULE_ORDERPAGE_2)'$readonly_fields[fax_no]=true;

The other variables are first_name, surname, company, street, street2, postcode,
city, country, telephone_no, email and state

Please note:
This method is worthwhile if you determine the fields in advance, for instance with