Cookie usage and its related consent acquisition are not directly ruled via the GDPR, They can be as a substitute governed because of the ePrivacy Directive (Cookie Legislation) which in upcoming will be repealed by the up-coming ePrivacy Regulation. Complex support: Prestashop provides with the purchase in the module, free https://www.presta-addons-modules.com