Lifetime prices rise on 19 October →
Phox Elements
WOOCOMMERCE Recently viewed products for Breakdance

Show shoppers the products they just looked at

Woo Recently Viewed keeps a list of the products each visitor opens and shows them as a small list with image, title and price. It helps shoppers get back to something they liked without searching again. The list is stored in a cookie, so there is no account or login needed.

Built for WooCommerce Stored in a 30-day cookie Hides the product being viewed
Live demo

Open a few products, then come back

Click two or three products in the loop below. When you come back, the recently viewed list on this page shows them, newest first. The list is stored in your browser only.

Step 1

Open two or three products

A normal product loop from this shop. Click a product, then come back to this page. Every product page on this site has Woo Recently Viewed in its template, so each visit is recorded.

Goldfish Food Flakes
£2.99
Cat Pouches
Original price was: £14.50.Current price is: £12.99.
Naturo Dog Food
Price range: £10.00 through £12.00
Step 2

Your recently viewed products

The live element. Max Number To Show is 6, items have a white background that turns lilac on hover, and images are 64px with rounded corners. Your list is kept in a cookie for 30 days.

Nothing here yet? Open a product above and come back. The list is personal to your browser, so each visitor sees their own.

On other pages

See it where shoppers use it

The same element runs in this site's single product template and on the Favorites List page. On a product page it leaves out the product you are looking at.

How it works

Three steps to a recently viewed list

Add it to your product template once and it works on every product.

1

Add the element

Drop Woo Recently Viewed into your single product template, or any page where you want the list.

2

Set the number

Choose how many products to show with Max Number To Show. If you leave it empty it shows 5.

3

Style it

Set the container, item, title, price and image styles to match your shop.

Features

What it does

A small list that follows each shopper around your store.

Tracks product views

When a visitor opens a product page, that product moves to the top of their list.

Image, title and price

Each item shows the product image, its name and the WooCommerce price, linked to the product.

Skips the current product

On a product page the product being viewed is left out, so the list only shows other products.

Remembered for 30 days

The list is kept in a cookie for 30 days, so returning visitors still see what they looked at.

Loads after the page

The list is fetched with AJAX after the page loads, so page caching does not freeze it.

Choose how many

Set the maximum number of products to show. The default is 5.

Image controls

Hide the image, set its width, or give it borders and rounded corners.

Title and price styles

Separate typography for titles and prices, space below the title, and an option to hide the price.

Container and items

Set width, borders, padding, margin, background colours and the gap between items.

Use cases

Where it helps

Anywhere shoppers compare products before they buy.

01

Product pages

Show the last few products under the add to cart area or in a sidebar.

02

Cart page

Remind shoppers of items they looked at but did not add.

03

Shop sidebar

Keep a short list of recent products beside your catalogue.

04

Large catalogues

Help people find a product again without using search.

05

Comparison shopping

Make it easy to jump between products a shopper is weighing up.

06

Account pages

Give returning customers a quick route back to recent products.

Settings reference

Every control, explained

This is the full list of settings in the Breakdance editor.

ControlWhat it doesDefault
Content
Max Number To ShowHow many recently viewed products to list.5
Container
WidthWidth of the list container.—
BordersContainer border and radius.—
Padding and marginSpace inside and around the container.—
Background ColorContainer background colour.—
Items
GapSpace between items, in pixels.—
Background ColorItem background, with a hover colour.—
BordersItem border and radius.—
PaddingSpace inside each item.—
Title TypographyText style for product names.—
Price TypographyText style for prices.—
Space below TitleGap between the title and the price.—
Hide PriceRemove the price from each item.Off
Product Image
Hide ImageRemove the product image.Off
WidthWidth of the product image.—
BordersImage border and radius.—
Tips & FAQ

Good to know

Where should I place it?

Put it in your single product template so every product view is recorded. It can also go on other pages, where it shows the list stored so far.

Does it need visitors to log in?

No. The list is kept in a browser cookie, so it works for guests. It lasts 30 days.

Why is the product I am on missing from the list?

That is on purpose. On a product page the current product is left out, so the list only shows other products.

Does it work with page caching?

The list is loaded with AJAX after the page loads, so each visitor sees their own products.

What shows when there is nothing yet?

A first-time visitor sees the message No recently viewed products until they open a product.

Can I have more than one on a page?

Use one per page. The list is loaded into a container with a fixed ID, so only the first Woo Recently Viewed on a page is filled.

Add Recently Viewed Items to your next page

Recently Viewed Items is included with Phox Elements, along with 140+ other premium elements for Breakdance.