A package consisting of a module and a plugin. The plugin writes the products viewed by the visitor to the cookie, and the module displays them. The plugin configures the cookie lifetime - how many days to store information about viewed products in the user's browser.
In the module, you can select output layouts, but we assume that the layouts require a little refinement for the needs of each specific site. The presented layouts should be considered more as a demonstration.