En ocasiones, cuando uno intenta instalar Prestashop, le puede aparecer el siguiente error:
SQL error on query All parts of a PRIMARY KEY must be NOT NULL, if you need NULL in a key, use UNIQUE instead
Para arreglar este error, hay que seguir los siguientes pasos:
1. Abrir el fichero: Prestashop-package/install/data/db_structure.sql
2. Buscar el texto: CREATE TABLE `PREFIX_cart_product`
3. Cambiar PRIMARY KEY por UNIQUE