PHPackages                             zvirko/module-animate-title - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. zvirko/module-animate-title

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

zvirko/module-animate-title
===========================

This module animates the tab title when adding a product to the cart

1.0.3(2y ago)04MITJavaScript

Since Feb 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/YevhenZvieriev/magento2-animation-title-tab)[ Packagist](https://packagist.org/packages/zvirko/module-animate-title)[ RSS](/packages/zvirko-module-animate-title/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (8)Used By (0)

Description
-----------

[](#description)

This module enhances the user experience on a Magento 2 website by adding a dynamic title tab change feature when a product is added to the shopping cart. It utilizes jQuery and Magento\_Catalog's built-in functionality to achieve this.

This module adds a subtle yet engaging interaction for users, providing feedback that their action of adding a product to the cart has been completed.

This works for both PDP and PLP.

How the module works:

1. It listens for a click event on elements with the class `".action.tocart.primary"`, typically representing the "Add to Cart" button on product pages.
2. When clicked, it retrieves the name of the product being added by finding the closest element with the class `".product-item-details"` and locating the product name within it.
3. It then constructs a new title tab for the document indicating that the product has been added to the shopping cart.
4. The script creates a dynamic animation effect by continuously changing the document title to display a scrolling effect of the new title text.
5. After 5 seconds, the animation stops, and the document title reverts to its original value.

    animated-title.webm    The module introduces functionality for animating the title tab in Magento 2. The animation is configurable through the admin panel, allowing administrators to enable or disable it and customize the text displayed in the title tab.

You can also change the animation duration from the Admin Page. The default value is 5 seconds. Feel free to change this :)

    Screencast.from.2024-03-01.15-38-10.webm    Installation
------------

[](#installation)

```
composer require zvirko/module-animate-title
bin/magento module:enable Zvirko_AnimationTitleTab
bin/magento setup:upgrade

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

769d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/43544955?v=4)[Jenyamba](/maintainers/YevhenZvieriev)[@YevhenZvieriev](https://github.com/YevhenZvieriev)

---

Top Contributors

[![YevhenZvieriev](https://avatars.githubusercontent.com/u/43544955?v=4)](https://github.com/YevhenZvieriev "YevhenZvieriev (28 commits)")

### Embed Badge

![Health badge](/badges/zvirko-module-animate-title/health.svg)

```
[![Health](https://phpackages.com/badges/zvirko-module-animate-title/health.svg)](https://phpackages.com/packages/zvirko-module-animate-title)
```

###  Alternatives

[elgentos/regenerate-catalog-urls

Regenerate Catalog URL Rewrites (products, categories, cms pages)

2842.6M](/packages/elgentos-regenerate-catalog-urls)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27703.7k4](/packages/nosto-module-nostotagging)[tig/postnl-magento2

TIG Magento 2 PostNL extension

59570.5k5](/packages/tig-postnl-magento2)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[zwernemann/module-withdrawal

Magento 2 EU Withdrawal Button Module - Adds a withdrawal/revocation button for orders in compliance with EU Directive (EU) 2023/2673

244.9k2](/packages/zwernemann-module-withdrawal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
