Our Latest News

PrestaShop natively stores, in its core (or native modules), a lot of information in cookies, such as:

Cookie name Description Type Personal information Module Back office context
date_add Date when the cookie was created date (Y-m-d H:i:s)
id_lang ID of the current language integer
id_currency ID of the current currency integer
ast_visited_category ID of the last visited category integer ps_categorytree
id_guest ID of the guest account integer
id_customer ID of the customer account integer
id_connections ID of the Connection entity integer
id_country ID of the selected country integer
shop_context ID of the current shop integer
checksum Validation checksum string for the cookie string
customer_lastname Customer’s last name string
customer_firstname Customer’s first name string
passwd Customer’s password string
logged Indicates whether the customer is authenticated boolean
email Customer’s email string
id_cart Shopping cart ID integer
remote_addr Customer’s IP address string
account_created Indicates whether the customer created an account integer
iso_code_country Customer’s preferred ISO country code string
checkedTOS Replaced by check_cgv integer
check_cgv Indicates whether the customer has accepted the terms and conditions integer
contactFormToken Contact form token value string contactform
contactFormTokenTTL Contact form token time-to-live (for expiration) integer contactform
viewed IDs of viewed products array ps_viewedproduct
is_contributor Indicates whether the employee is a contributor boolean
collapse_menu Indicates whether the admin menu should be collapsed by default boolean
last_activity Timestamp of the employee’s last activity timestamp (integer)
employee_form_lang Language ID for the authenticated employee integer
entity_selected Selected exported entity integer
csv_selected Selected CSV export format integer
separator_selected Selected CSV delimiter integer
multiple_value_separator_selected Selected CSV multi-value delimiter integer
stats_year Selected year for statistics integer
stats_month Selected month for statistics integer
stats_day Selected day for statistics integer
checkup_order Selected order of verification modules integer statscheckup
stats_granularity Statistics module granularity integer statsforecast
stats_id_zone Zone ID for the statistics module integer statsforecast
statsstock_id_category Category ID for the statsstock module integer statsstock
Please note that third‑party modules may store other types of information via cookies.

GDPR

If you have questions regarding GDPR in PrestaShop, you can find more information here: PrestaShop User Guide – GDPR

Limits

The browser cookie mechanism has certain limits on how much data you can store.

  • According to RFC 6265 (section 6.1), browsers must support at least 50 cookies per domain and a minimum size of 4096 bytes (4 KB) per cookie (cookie name + value/attributes).

  • PrestaShop will create a single cookie, in the $_COOKIE array, with each key and value appended to a string and finally encrypted for security.

  • Please note that most browsers will ignore a cookie if its size exceeds 4096 bytes, which results in a limit of roughly 1,000 characters before encryption.