Is there a way to display recently viewed products?

Hi! I would like to display a list of products that the user has recently viewed. Is this possible to achieve with Cwicly?

Hello @bapre,

Welcome to the forum, great to have you on board.

This isn’t possible with Cwicly alone as you would need a way to keep count of the items the user has viewed.

  • Track logged-in users → update_user_meta() and then use that meta in the Query Include Products parameter.
  • Track guests & logged-in users → using a cookie to track the viewed products.

We don’t currently provide a way to dynamically use a cookie in the Query Editor, but it does sound like something one could definitely use. Will think about adding it in the next few updates.

If you need more info, don’t hesitate to ask.

Cheers,