Getting started

YITH WooCommerce Recently Viewed Products allows you to show the products that your users have recently viewed in a list on the product detail page or through a widget or shortcodes.

The major new feature is that, not only does the plugin store the information of logged-in and non-logged users in a cookie, but the plugin will also store the information of logged-in users in the database.

In this way, when users log to the site, the cookie will be deleted and their information stored in the database. Doing so users will always be able to see their recently viewed products regardless of the browser used, as the system will get this information directly from the database (and not from a cookie).

General settings

Let’s start from the General settings that you can find in YITH > Recently Viewed Products > Settings.

General settings

  • Set cookie time: set the duration (days) of the cookie that tracks customer viewed products.
  • Select which products to show: choose to show only viewed products or include similar products. By selecting Viewed products and similar items, you will be able to choose to get similar products by categories, tags or both.
  • Set how many products to show: enter the number of products to show and how many of them to show in each row.

General settings 2

  • Order products by: show in which order to display the products: random, latest viewed, sales, newest, price > high to low, price > low to high.
  • Set which products to hide: choose if you want to hide out-of-stock products, free products and/or products already purchased by the customer.
  • Show only products from the most viewed category: enable to show only products of the most viewed category.

From the General settings, you can also enable and configure a slider to show the recently viewed products.

Slider settings

  • Enable products slider: enable to show the product list section as a slider.
  • Enable products slider autoplay: enable to activate the autoplay for sliders.
  • Show dot indicators: enable to show dot indicators for sliders.
  • Show shortcode in all product pages: enable to add the shortcode in the single product page automatically.

Texts and labels

In the Texts and LabelsĀ section, you can customize the text for the message, the section title and the link to view the recently viewed list.

Text and label options

  • Text for no product found: enter the message to show when users open the page without any viewed product and, as a consequence, the list is empty (see the example below).

Product not found

  • Section title: text shown above the section of the recently viewed products (see the example below).
  • Text for “View All” link: link text that redirects users to the “Recently Viewed Products” page (see the example below).

Section title and View all link