Pro add-on · Store

Recently Viewed for WordPress

Tracks and re-surfaces the products a visitor has already browsed.

$199/yr or $549 once — all 35 add-ons Same admin as the free core Enable or disable without losing data
What it does

Recently Viewed, in practice.

A tracker script runs on every storefront page. On a product page it determines the current product id (passed from the server, or read from a meta tag or data attribute) and moves it to the front of an ambikly_recent cookie that lives 30 days and holds up to your maximum. The server reads that cookie at render time, loads the published products in viewing order, excludes the product being viewed, formats prices and outputs a grid, so the section works without JavaScript on the rendering page. Show it with [ambikly_recently_viewed], the ambikly_recently_viewed action, or automatically under product detail pages. Logging out deletes the cookie.

CapabilitiesStore
  • History kept in a 30-day cookie, never on the server
  • Separate limits for remembering and displaying
  • Grid rendered server-side in viewing order
  • Current product excluded from its own page
  • Shortcode attributes for count, heading and columns (1 to 6)
  • Auto-append on product pages, or place with the action hook
  • Cookie cleared on logout for shared computers
  • Only published products with formatted prices are shown
Where it shows up

Storefront, admin and settings.

On the storefront

  • [ambikly_recently_viewed] shortcode with count, heading and columns attributes
  • Automatic Recently viewed grid on product pages
  • do_action('ambikly_recently_viewed') for theme templates

Settings you control

  • Maximum products to remember (default 12)
  • How many to display (default 6)
  • Auto-append on product pages
  • Section heading
For developers

Routes and hooks.

Built on the same Addon SDK as every other Pro add-on — extend it instead of replacing it.

Core hooks it listens to

  • ambikly_recently_viewed
  • ambikly_product_detail_body
  • wp_logout
  • wp_enqueue_scripts
When it earns its place

Three stores that want Recently Viewed.

1

Comparison shoppers on fashion stores

A clothing store's visitors open several dresses before deciding. On each product page the Recently viewed grid below the description brings back the previous options in order, letting them return to a favorite without using the back button repeatedly.

2

Returning visitors within a month

A gift store's shoppers browse, leave and come back a week later. Because the cookie lasts 30 days, the shortcode on the homepage shows exactly what they looked at last time, picking up the session where it stopped.

3

Theme templates with custom layouts

A store with a bespoke theme calls do_action('ambikly_recently_viewed') in its footer template. The server-rendered grid appears with the configured heading and column count, styled by the theme, without any extra JavaScript or template logic.

Setup

From toggle to live in a few minutes.

  1. Enable it

    Ambikly → Add-ons → Recently Viewed → toggle on. Pro must be active; nothing else to install.

  2. Set it up

    Open its settings panel and set: maximum products to remember (default 12); how many to display (default 6); auto-append on product pages; section heading.

  3. Find it in use

    The storefront surfaces, admin screens and settings it adds are listed under “Where it shows up” above; nothing needs placing by hand unless a shortcode is named there.

  4. Turn it off without losing anything

    Disable the add-on from the same screen. Its settings and data stay in place, and a lapsed license pauses it the same way — the store keeps running.

FAQ

About Recently Viewed.

Is browsing history stored on the server?

No. Product ids live in an ambikly_recent cookie in the shopper's browser, capped at your maximum and expiring after 30 days. The server only reads the cookie when rendering the grid and looks up those products; nothing is written to your database.

What happens on a shared or kiosk computer?

The add-on hooks wp_logout and deletes the cookie when a customer signs out, so the next person does not inherit their history. Guests who never log in keep the cookie until it expires after 30 days or they clear it.

Can I control how many products are shown and in how many columns?

Yes. The shortcode accepts count, heading and columns attributes, with columns clamped between 1 and 6, and the settings screen sets the defaults used by the automatic product-page section. Remembering and displaying have separate limits.

Does the current product show in its own Recently viewed list?

No. When the server can identify the product being viewed from the URL, it removes that id before rendering, so the section only shows other products the shopper has visited, in the order they visited them.

Get Recently Viewed with every other add-on.

Pro is $199 a year or $549 once, for all 35 add-ons. Enable this one from the same admin the day you need it.