mage2kishan/module-live-activity

Live Activity & Social Proof notifications for Magento 2. Shows real-time customer activity (purchases, cart adds, wishlists) to create urgency and social proof. Supports configurable fake names, locations, featured products, animation styles, and mobile responsiveness. Compatible with Luma and Hyva

Maintainers

Package info

github.com/mage2sk/module-live-activity

Homepage

Language:HTML

Type:magento2-module

pkg:composer/mage2kishan/module-live-activity

Statistics

Installs: 32

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.5 2026-06-18 09:33 UTC

This package is auto-updated.

Last update: 2026-06-18 09:33:37 UTC


README

Magento 2 Live Activity Extension: Social Proof and FOMO Notifications (Hyva + Luma)

Magento 2.4.4 - 2.4.8 PHP 8.1 - 8.4 Hyva + Luma Live Demo & Details Packagist Upwork Top Rated Plus Website

Show shoppers that other people are actively buying, browsing, and saving products. Panth Live Activity adds real-time social proof notifications to your Magento 2 store: recent purchases, cart additions, wishlist saves, live viewer counts, trending alerts, and low stock warnings. Native templates for Hyva (Alpine.js) and Luma are both included.

Product page: kishansavaliya.com/magento-2-live-activity.html

Quick Answer

What is Panth Live Activity? It is a Magento 2 live activity extension that shows small notification popups on your storefront telling shoppers about recent purchases, cart adds, wishlist saves, current viewer counts, trending products, and low stock levels.

What does it add to my store?

  • Recent purchase notifications pulled from real order data: "John D. from New York purchased this 5 minutes ago."
  • Cart addition alerts when shoppers add a product to their cart.
  • Wishlist save notifications when visitors save a product for later.
  • Live viewer count showing how many people are looking at a product right now.
  • Trending product alerts based on view count in a configurable time window.
  • Low stock warnings using real stock quantity with a simulated fallback.
  • Simulated activity for new or low-traffic stores using configurable fake names and locations.

Which themes are supported? Both Hyva (Alpine.js, no jQuery) and Luma. The correct template is served based on the active theme.

What does it need? Magento 2.4.4 to 2.4.8, PHP 8.1 to 8.4, and the free mage2kishan/module-core package.

Need Custom Magento 2 Development?

Get a free quote for your project in 24 hours for custom modules, Hyva themes, performance work, M1 to M2 migrations, and Adobe Commerce Cloud.

Get a Free Quote

Kishan Savaliya

Top Rated Plus on Upwork

Hire on Upwork

100% Job Success • 10+ Years Magento Experience Adobe Certified • Hyva Specialist

Panth Infotech Agency

Magento Development Team

Visit Agency

Custom Modules • Theme Design • Migrations Performance • SEO • Adobe Commerce Cloud

Visit our website: kishansavaliya.com  |  Get a quote: kishansavaliya.com/get-quote

Table of Contents

Who Is It For

  • New stores that do not yet have a lot of real traffic and want to show realistic-looking activity using simulated names and locations.
  • Stores with steady orders where real purchase, cart, and wishlist data can be surfaced as social proof without any configuration.
  • Product pages where showing a live viewer count or a low stock warning helps undecided shoppers make a decision.
  • Hyva storefronts that want social proof notifications built on Alpine.js, with no jQuery required.
  • Merchants who want control over which products appear in notifications and which categories are excluded.

Key Features

Six Notification Types

  • Recent purchases so shoppers see that real orders are coming in for the product they are viewing.
  • Cart additions showing that other visitors have already added the item.
  • Wishlist saves surfaced from real wishlist events.
  • Live viewer count per product, drawn from the panth_live_activity_stats table.
  • Trending product alert based on total views in a configurable time window.
  • Low stock warning using real inventory quantity, with a simulated fallback.

Real Data and Simulated Fallback

  • Real activity is captured by observers on order placement, cart add, and wishlist add events.
  • Simulated activity uses configurable fake customer names and locations for stores with low traffic.
  • Both modes can run together, so real activity takes priority and simulated notifications fill in when needed.
  • Name anonymisation shows "John D." format instead of full names for privacy.
  • Activity time range controls how far back real data is drawn from (configurable per store view).

Notification Display Options

  • Four animation styles: slide, fade, bounce, scale.
  • Four positions: bottom-left, bottom-right, top-left, top-right.
  • Display delay, duration, and interval are all configurable in seconds.
  • Maximum notifications per page caps the total count shown in one visit.
  • Product image thumbnail and activity type icon can each be turned on or off.
  • Custom CSS field for minor style overrides targeting .live-activity-notification and related classes.

Featured Product Picker

  • Highlight specific products in the notification rotation using an admin AJAX search modal.
  • Category exclusion prevents products from certain categories from appearing in notifications.

Mobile-First Design

  • Fully responsive on screens from 320px up.
  • Tap to dismiss on mobile devices.
  • Safe-area insets for iOS notch and Android gesture bar.
  • Mobile can be disabled separately via the Advanced settings group.
  • Respects prefers-reduced-motion for accessibility.

Hyva + Luma Ready

  • Native Hyva templates built with Alpine.js, no jQuery, Knockout, or RequireJS.
  • Native Luma templates using standard Magento UI.
  • CSS variables driven by theme-config.json for Hyva Theme Customizer compatibility.
  • Dark theme support included via CSS variable overrides.

Built to Last

  • Constructor dependency injection only, no ObjectManager calls.
  • MEQP-compliant code with declare(strict_types=1) on every PHP file.
  • Cached activity feed to keep database load low.
  • All labels translatable using Magento's __() function.

Compatibility

Requirement Versions Supported
Magento Open Source 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8
Adobe Commerce 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8
Adobe Commerce Cloud 2.4.4 to 2.4.8
PHP 8.1.x, 8.2.x, 8.3.x, 8.4.x
Hyva Theme 1.0+ (native Alpine.js support)
Luma Theme Native support
Required Dependency mage2kishan/module-core (free)

Installation

Composer Installation (Recommended)

composer require mage2kishan/module-live-activity
bin/magento module:enable Panth_Core Panth_LiveActivity
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

Manual Installation via ZIP

  1. Download the latest release from Packagist or from the product page.
  2. Extract it to app/code/Panth/LiveActivity/ in your Magento install.
  3. Make sure Panth_Core is installed too (required dependency).
  4. Run the commands above starting from bin/magento module:enable.

Verify Installation

bin/magento module:status Panth_LiveActivity
# Expected: Module is enabled

After install, open:

Admin → Stores → Configuration → Panth Extensions → Live Activity & Social Proof

Configuration

Go to Stores → Configuration → Panth Extensions → Live Activity & Social Proof.

General Settings

Setting Group Default Description
Enable Live Activity General Yes Master toggle for all notifications.
Notification Position General Bottom-Left Where the popup appears: bottom-left, bottom-right, top-left, top-right.
Display Delay (seconds) General 5 How long to wait before the first notification appears (0-60 seconds).
Notification Duration (seconds) General 5 How long each notification stays on screen (3-30 seconds).
Interval Between Notifications (seconds) General 8 Gap between notifications (5-120 seconds).
Maximum Notifications Per Page General 10 Cap on total notifications shown in one page view (0 = unlimited).

Activity Types

Setting Group Default Description
Show Recent Purchases Activity Types Yes Show "John D. from New York purchased this 5 minutes ago."
Show Cart Additions Activity Types Yes Show "Sarah M. added this to cart 2 minutes ago."
Show Wishlist Additions Activity Types Yes Show wishlist save notifications.
Show Live Viewers Count Activity Types Yes Show how many people are viewing the product right now.
Show Trending Products Activity Types Yes Show "Trending: 50 views in the last hour."
Show Low Stock Alerts Activity Types Yes Show "Only 5 left!" when stock is low.

Data Source Settings

Setting Group Default Description
Use Real Activity Data Data Source Yes Pull notifications from real orders, carts, and wishlists.
Use Simulated Activity Data Source Yes Generate realistic activity using fake names and locations.
Activity Time Range Data Source 24 hours How far back to look for real activity data.
Anonymize Customer Names Data Source Yes Show first name plus initial only (e.g., "John D.").
Featured Product IDs Data Source - Products to prioritize in the notification rotation.
Fake Customer Names Data Source Sample list Names used when simulated activity is on.
Fake Customer Locations Data Source Sample list City/country pairs used for simulated notifications.

Appearance Settings

Setting Group Default Description
Animation Style Appearance Slide Slide, fade, bounce, or scale entrance animation.
Show Product Image Appearance Yes Show a small product thumbnail in the notification.
Show Activity Icon Appearance Yes Show an icon for the activity type (cart, heart, etc.).
Custom CSS Appearance - Minor CSS overrides for .live-activity-notification and related classes.

Advanced Settings

Setting Group Default Description
Exclude Categories Advanced - Products in these categories will not appear in notifications.
Enable on Mobile Advanced Yes Show notifications on mobile devices.

How It Works

  1. When a customer places an order, adds a product to cart, or saves to wishlist, an observer records the event in the panth_live_activity database table with product, name (anonymized), location, and timestamp.
  2. The panth_live_activity_stats table keeps running counts per product: current viewers, views today, cart adds today, wishlist adds today, and purchases today.
  3. An AJAX endpoint (Panth_LiveActivity/Ajax/GetActivity) returns a feed of notifications for the current product or store.
  4. On the frontend, a lightweight Alpine.js handler (Hyva) or standard JS handler (Luma) polls the endpoint and displays each notification as a small popup at the configured position.
  5. When real data is thin, simulated notifications using fake names and locations fill in, so the storefront always looks active.
  6. Admin configuration at Stores → Configuration → Panth Extensions → Live Activity & Social Proof controls every aspect of the display without code changes.

FAQ

Does Panth Live Activity work on Hyva themes?

Yes. The module ships native Alpine.js templates for Hyva with no jQuery, Knockout, or RequireJS. The correct template is served based on the active theme through Panth_Core.

What is the difference between real data and simulated activity?

Real data comes from actual order, cart, and wishlist events captured by observers. Simulated activity is generated from configurable fake names and locations. Both can run at the same time, with real data taking priority.

Will it slow down my storefront?

No. The activity feed is cached, images are lazy-loaded, and the JS runs asynchronously after the page loads. There is no blocking resource added to any page.

Is it GDPR compliant?

The module stores only anonymized first names (e.g., "John D.") and city-level locations. No email addresses or full personal details are exposed. Always review your own local regulations.

Can I show notifications only for specific products?

Yes. Use the Featured Product IDs field in Data Source settings to pick products for the rotation. Set Exclude Categories to prevent entire categories from appearing.

Does it work with multi-store setups?

Yes. All settings respect Magento's scope order (default, website, store view), and all display strings are translatable via __().

Can I disable simulated activity and show only real orders?

Yes. Set Use Simulated Activity to No in Data Source settings. The module will only show notifications based on actual orders, cart events, and wishlists.

Can I change the animation style?

Yes. The Appearance group has four options: slide, fade, bounce, and scale. You can also add custom CSS targeting .live-activity-notification for fine-tuning without touching template files.

Does Panth Live Activity need Panth Core?

Yes. mage2kishan/module-core is a required free dependency that Composer installs automatically.

Support

Channel Contact
Product Page kishansavaliya.com/magento-2-live-activity.html
Email kishansavaliyakb@gmail.com
Website kishansavaliya.com
WhatsApp +91 84012 70422
GitHub Issues github.com/mage2sk/module-live-activity/issues
Upwork (Top Rated Plus) Hire Kishan Savaliya
Upwork Agency Panth Infotech

Response time: 1-2 business days.

Need Custom Magento Development?

Looking for custom Magento module development, Hyva theme work, store migrations, or performance tuning? Get a free quote in 24 hours:

Get a Free Quote

Hire on Upwork    Visit Agency    View Product Page

About Panth Infotech

Built and maintained by Kishan Savaliya (kishansavaliya.com), a Top Rated Plus Magento developer on Upwork with 10+ years of eCommerce experience.

Panth Infotech is a Magento 2 development agency that builds high quality, security focused extensions and themes for both Hyva and Luma storefronts. The extension suite covers SEO, performance, checkout, product presentation, customer engagement, and store management, with each module built to MEQP standards and tested across Magento 2.4.4 to 2.4.8.

Browse the full extension catalog on our Magento extensions page or on Packagist.

Quick Links

Resource Link
Product Page magento-2-live-activity.html
Packagist mage2kishan/module-live-activity
GitHub mage2sk/module-live-activity
Website kishansavaliya.com
Free Quote kishansavaliya.com/get-quote
Upwork (Top Rated Plus) Hire Kishan Savaliya
Upwork Agency Panth Infotech
Email kishansavaliyakb@gmail.com
WhatsApp +91 84012 70422

Ready to show shoppers that your store is busy?
See Live Activity

SEO Keywords: magento 2 live activity, magento 2 live activity extension, magento 2 social proof, magento 2 social proof extension, magento 2 fomo notifications, magento 2 recent purchases popup, magento 2 live viewer count, magento 2 trending products notification, magento 2 low stock alert, magento 2 cart addition notification, magento 2 wishlist notification, magento 2 urgency notifications, magento 2 conversion optimization, magento 2 activity feed, hyva social proof, hyva live activity, hyva fomo extension, luma social proof extension, magento 2 simulated activity, magento 2 fake notifications fallback, magento 2 real time notifications, magento 2 anonymous customer activity, magento 2 featured product notification, magento 2 category exclusion notifications, magento 2.4.8 social proof, php 8.4 live activity, mage2kishan live activity, panth live activity, panth infotech, hire magento developer, top rated plus upwork, kishan savaliya magento, custom magento development