← Back to Snippets
$5Intermediate

Recently Viewed Products

Carousel of products the customer has previously viewed. Uses localStorage, no app required. Fetches live product data so prices and images are always current.

Category: UX Compatibility: All OS 2.0 Themes Updated: Feb 2026
snippets/plynthr-recently-viewed.liquid Purchase — $5
{% comment %}
  Plynthr — Recently Viewed Products (Premium)

  This is a preview of the snippet. Purchase to receive:
  ✓ Full source code (.liquid file)
  ✓ Installation guide (README)
  ✓ Support via plynthr.com/contact

  FEATURES:
  - Tracks product views via localStorage (no app, no cookies)
  - Fetches live product data (prices always current)
  - Horizontal scroll carousel with navigation
  - Loading skeleton animation
  - Scroll snap on mobile for swipe gesture
  - Auto-hides when no history exists
  - Excludes current product
  - Configurable max products, title, vendor display
  - CSS custom properties for theming
{% endcomment %}

<!-- Full code available after purchase -->
<!-- Includes: 200+ lines of Liquid, CSS, and JavaScript -->
<!-- Fully documented with installation guide -->

Installation

  1. Purchase the snippet from Gumroad — you'll receive a .zip with the .liquid file and README.md
  2. In your Shopify admin, go to Online Store → Themes → Edit Code
  3. Under Snippets, click "Add a new snippet"
  4. Name it recently-viewed-products
  5. Paste the code from the downloaded file and save
  6. Add the render tag at the bottom of your product template, or on your homepage

Customization

  • Configurable max products displayed (default: 10)
  • Section title text
  • Show/hide vendor name
  • 15+ CSS custom properties for card sizing, colors, spacing
  • Mobile card width separate from desktop

Want this installed for you?

I'll add this to your Shopify store, test it, and make sure it's working perfectly. Done within 24 hours.

Purchase — $5 Install for Me — $29
✓ Installed & tested ✓ Within 24 hours ✓ Any OS 2.0 theme

FAQ

What do I get when I purchase?
A .zip file containing the full .liquid snippet (200+ lines) and a detailed README.md with installation steps and customisation options.
Does this need an app?
No. It uses the browser's localStorage to track views and Shopify's product JSON endpoint to fetch data. Zero external dependencies.
Is the data private?
Yes. All data is stored locally in the customer's browser. Nothing is sent to any server. Clearing browser data removes the history.
Start for free then pay $1/month for 3 months — Claim offer