Live Activity Social Proof for Magento 2
Shows small notification cards on a Magento 2 store for recent purchases, cart adds and wishlist saves recorded in your store. A simulated mode with sample names is on by default and can be switched off, plus timing, position and page settings.
- Free
- Themes listed: Hyvä + Luma
composer require mage2kishan/module-live-activity
- Package requirementsRead the source documentation
- Developer profileView Upwork profile
- Themes listedHyvä + Luma
- PHP versions listed8.1, 8.2, 8.3, 8.4
- Installation questionsDiscuss your store setup
What it does for your store
The main features, as listed in the module documentation.
-
Store Activity Cards
Purchases, cart adds and wishlist saves recorded by observers in your store.
-
Data Source Switches
Real events, simulated entries, or both; simulated is on by default and can be turned off.
-
Name Privacy
Logged in customers appear as first name and last initial; no address is stored.
-
Page and Timing Controls
Pick page types, corner, delay, duration, interval and a cap per page view.
-
Mobile Settings
Responsive card, safe area insets, reduced motion support and a mobile off switch.
-
Light Loading
One fetch() call after page load; no jQuery, Knockout or RequireJS on the storefront.
Installation
Example commands from the Magento root. Follow the package instructions and your staging and deployment process.
- 1Check the releaseMatch Magento, PHP, theme and dependency requirements.
- 2Install on stagingReview Composer changes and follow the package instructions.
- 3Configure and verifyUse the documented settings and test the affected features.
$ composer require mage2kishan/module-live-activity $ bin/magento setup:upgrade $ bin/magento setup:di:compile $ bin/magento setup:static-content:deploy -f $ bin/magento cache:clean
Listed requirements
These are the details supplied in this listing. Confirm the selected release supports your Magento edition, PHP and storefront.
| Magento versions listed | 2.4.6, 2.4.7, 2.4.8 |
|---|---|
| PHP versions listed | 8.1, 8.2, 8.3, 8.4 |
| Themes listed | Hyvä, Luma |
| Composer package | mage2kishan/module-live-activity |
Documentation
Product details and setup guidance. Check the package repository for release-specific instructions.
Simulated mode and why to check it first
The module also has a simulated mode, and it is switched on by default. In that mode every feed adds 3 to 7 invented entries with names and cities from a list you edit, random times and products from your catalogue. Three card types exist only in simulated mode: a live viewer count, a trending count and a low stock alert. The viewer and trending numbers are always random. The low stock alert uses the real stock quantity and only appears when it is between 1 and 10.
Consumer protection rules in many regions treat invented activity shown as real as misleading. To show only what actually happened in your store, set Use Simulated Activity to No. That also removes the viewer, trending and low stock cards.
Activity notifications for a Magento 2 store
Live Activity shows small notification cards on the storefront about recent store activity: a purchase, an item added to the cart or to a wishlist. Each card can show a product thumbnail and an icon, and a click opens the product page. You choose the page types, corner, timing and animation.
Where the data comes from
Observers record real orders, cart additions and wishlist additions in a table with the store ID and time. The feed reads up to 10 of these events from the time range you pick, from the last hour to the last 7 days. Logged in customers are shown as first name and last initial, for example John D. No address or location is stored for real events. Guests have no stored name, so guest purchases and cart adds are shown with a random first name and initial.
Display settings
- Show On Pages: product pages by default, plus category, home, search results and CMS pages if you want. Cart, checkout and customer account pages never show cards.
- Four positions and four animations: slide, fade, bounce and scale.
- Display delay, time on screen, gap between cards and a cap per page view.
- Featured products and excluded categories for simulated cards.
- Product image and icon can be hidden, mobile display can be switched off, and a Custom CSS field is available.
How it loads
After the page has loaded, one fetch() call reads a JSON feed. The feed is not cached and is not served from the full page cache. No jQuery, Knockout or RequireJS is used on the storefront. One template with separate CSS rules covers Hyvä and Luma, and it can be overridden at Panth_LiveActivity/templates/notifications.phtml. The card text is built in English in JavaScript and does not go through Magento translation, so other languages need a template override.
Requirements and install
The README lists Magento Open Source and Adobe Commerce 2.4.4 to 2.4.8. Composer requires PHP 8.1, 8.2, 8.3 or 8.4 and mage2kishan/module-core, which it installs for you. Install with composer require mage2kishan/module-live-activity, then run setup:upgrade, static content deploy and a cache refresh. Setup adds the panth_live_activity table and an unused stats table.
Live Activity is free and open source under the MIT License. See the package README for every setting and the changelog for each release.
Developer notes
These names are from release 1.0.17 of the package.
- Namespace
Panth\LiveActivity. Loads afterPanth_Core,Magento_Catalog,Magento_Sales,Magento_CheckoutandMagento_Wishlist. No plugins or preferences are declared. Model\ActivityProvider::getRecentActivity()builds the feed.Model\ActivityTracker::track()saves a real event.Controller\Ajax\GetActivityis the JSON endpoint on theliveactivityroute. When Use Simulated Activity is Yes and a product ID is sent, the response also carries random counts understats, flaggedsimulated. The storefront script does not use them.- Observers in
etc/events.xml:Observer\TrackOrderPlacementonsales_order_place_after,Observer\TrackCartAddoncheckout_cart_product_add_afterandObserver\TrackWishlistAddonwishlist_add_product. Block\ActivityhasisEnabled(),getConfigJson(),getAjaxUrl(),getCurrentProductId()andgetCustomCss().activity_typevalues:purchase,cart_add,wishlist_add,live_viewers,trendingandlow_stock.etc/frontend/di.xmladds the module to theregisteredModulesargument ofPanth\Core\ViewModel\ThemeConfig.- ACL resource:
Panth_LiveActivity::config. - Table
panth_live_activitycolumns:activity_id,activity_type,product_id,product_name,customer_name,customer_location,created_at,store_idandis_real. The tracker writes it and the provider reads it.
| Module Category | Marketing |
|---|---|
| Best For | All Sizes |
Changelog
-
1.0.17, 2026-10-30
- Released under the MIT License: this module is free and open-source software.
-
1.0.16, 2026-10-06
- New Show On Pages setting (General Settings) chooses the page types where notifications may appear: product pages, category pages, home page, search results and CMS pages. The default is product pages only.
- Notifications never appear on the cart, checkout, order success or customer account pages, whatever is selected, so they no longer cover cart totals, checkout buttons or account forms.
FAQ
Will this slow down my storefront?
The storefront script makes one fetch() call per page view after the page has loaded. The JSON feed is not cached, so each call runs the queries for recent events and, in simulated mode, a small product query. No jQuery, Knockout or RequireJS is loaded on the storefront.
Is it GDPR compliant?
Logged in customers are shown as first name and last initial, and no address or location is stored for real events. Simulated entries use the names and cities you enter. Check the setup against your own privacy notice and local consumer rules, which in many regions treat invented activity shown as real as misleading.
Can I use only real data, no fakes?
Yes. Set Use Simulated Activity to No. Only recorded purchases, cart adds and wishlist saves are shown then, and the live viewer, trending and low stock cards stop, because those exist only in simulated mode. Guest purchases and cart adds still show a random first name, since no name is stored for guests.
Does it work with Hyvä?
Yes. One template with separate CSS rules covers Hyvä and Luma. It uses plain JavaScript and fetch(), so it needs no jQuery and no Alpine.js.
Can I show notifications only on product pages?
Yes. Show On Pages defaults to product pages only. You can add category, home, search results and CMS pages. Cart, checkout and customer account pages never show notifications.
Does it support multi-store / multi-language?
Settings work at default, website and store view scope, and real events are stored with their store ID. The card text is built in English in JavaScript and does not go through Magento translation, so other languages need a template override.
Can I customize the notification template?
Yes. Override Panth_LiveActivity/templates/notifications.phtml in your theme. It holds the markup, the inline CSS and the script.
Is Panth_Core required?
Yes. mage2kishan/module-core is a required dependency and is pulled in automatically by Composer.
Questions before you install?
Send me your composer.json and I will check for conflicts first. Free. Installation is +$45, custom work is quoted first.