Directive 97/7/EC on the protection of consumers in respect of distance contracts (Distance Selling Directive) http://eur-lex.europa.eu/legal-content/EN/ALL/?uri=CELEX:31997L0007
Directive 2000/31/EC on certain legal aspects of information society services (E-commerce Directive), which both include information requirements with which website operators have to comply. http://eur-lex.europa.eu/legal-content/EN/ALL/?uri=CELEX:32000L0031
The Distance Selling Directive and the E-commerce Directive were implemented in the UK through the Consumer Protection (Distance Selling) Regulations 2000 (SI 2000/2334) (Distance Selling Regulations) http://www.legislation.gov.uk/uksi/2000/2334/contents/made
and the Electronic Commerce (EC Directive) Regulations 2002 (SI 2002/2013) (E-commerce Regulations) http://www.legislation.gov.uk/uksi/2002/2013/contents/made
In November 2011 both the Distance Selling Directive and Directive 85/577/EEC, known as the Doorstep Selling Directive, were replaced by Consumer Rights Directive (2011/83/EU) (Consumer Rights Directive). http://eur-lex.europa.eu/legal-content/EN/ALL/?uri=CELEX:32011L0083
The Consumer Rights Directive has been implemented in the UK by the The Consumer Contracts (Information, Cancellation and Additional Charges) Regulations 2013 (SI 2013/3134) (Consumer Contracts Regulations) which come into force on 13 June 2014.