PHPackages                             fostercommerce/variant-manager - 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. fostercommerce/variant-manager

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

fostercommerce/variant-manager
==============================

A plugin for managing product variants.

2.0.5(4mo ago)07.7k[1 issues](https://github.com/FosterCommerce/variant-manager/issues)proprietaryPHPPHP &gt;=8.2.0CI passing

Since Feb 21Pushed 3w ago2 watchersCompare

[ Source](https://github.com/FosterCommerce/variant-manager)[ Packagist](https://packagist.org/packages/fostercommerce/variant-manager)[ RSS](/packages/fostercommerce-variant-manager/feed)WikiDiscussions main Synced today

READMEChangelog (9)Dependencies (10)Versions (12)Used By (0)

[![Variant Manager](resources/img/header.png)](resources/img/header.png)

Variant Manager
===============

[](#variant-manager)

A Craft CMS plugin that imports and exports Craft Commerce product **variants** from CSV files.

What it does
------------

[](#what-it-does)

- Imports a CSV to create or update a Craft Commerce product and its variants.
- Bulk-imports many products at once from a zip of CSVs, each file becoming its own product.
- Exports a product to CSV from the product edit page, or many products at once from the Variants element index.
- Adds a **Variant Attributes** field that stores option name and value pairs (Color, Size, Material) on each variant for filtering on the storefront.
- Logs each import and export, with configurable retention, in a dashboard activity feed.

Requirements
------------

[](#requirements)

- Craft CMS `^5.0`
- Craft Commerce `^5.0`
- PHP `^8.2`

Install
-------

[](#install)

```
composer require fostercommerce/variant-manager
./craft plugin/install variant-manager
```

See [`docs/installation.md`](./docs/installation.md) for the full installation and configuration guide.

Importing
---------

[](#importing)

Upload a CSV (or a zip of CSVs) from **Variant Manager -&gt; Dashboard**. The CSV's filename determines the product: a new filename creates a new product, an existing product title updates that product. Each row becomes one variant. Columns map to product fields, variant fields, per-site Commerce fields, inventory levels, and variant attributes.

See [`docs/user-guide/importing.md`](./docs/user-guide/importing.md) and [`docs/user-guide/csv-format.md`](./docs/user-guide/csv-format.md).

Exporting
---------

[](#exporting)

Two ways to export: from a single product's edit page (sidebar **Export Product** button), or from the **Variants** element index using the **Export Variant Data** action on a multi-select. A single product downloads as one CSV; multiple products download as a zip. Exported CSVs are shaped so they can be reimported without edits to the column headers.

See [`docs/user-guide/exporting.md`](./docs/user-guide/exporting.md).

Variant Attributes field
------------------------

[](#variant-attributes-field)

The plugin ships a **Variant Attributes** field type that you add to each product type's variant field layout. The field stores the option-name and option-value pairs from your CSV (Color: Red, Size: Small) as JSON on the variant, and exposes them to Twig for variant selectors and faceted filtering.

See [`docs/reference/field-type.md`](./docs/reference/field-type.md) for storage and Twig usage.

Permissions
-----------

[](#permissions)

In addition to `accessPlugin-variant-manager`:

- `variant-manager:import`, upload CSVs and create or update products and variants.
- `variant-manager:export`, export products from the product edit page or the variants index.
- `variant-manager:manage`, clear the activity log and manage plugin data.

See [`docs/reference/permissions.md`](./docs/reference/permissions.md).

License
-------

[](#license)

Proprietary.

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance86

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 85.8% 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

Every ~81 days

Recently: every ~61 days

Total

10

Last Release

133d ago

Major Versions

v1.x-dev → 2.0.02025-06-05

PHP version history (2 changes)1.0.0-beta.1PHP &gt;=8.1.0

2.0.0PHP &gt;=8.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ac5b96165dd51aed8f0b9ea079d5d5beeb430a915cd07d645db0a228b0ac3aa?d=identicon)[fostercommerce](/maintainers/fostercommerce)

---

Top Contributors

[![johnnynotsolucky](https://avatars.githubusercontent.com/u/4161106?v=4)](https://github.com/johnnynotsolucky "johnnynotsolucky (121 commits)")[![sjcallender](https://avatars.githubusercontent.com/u/984311?v=4)](https://github.com/sjcallender "sjcallender (17 commits)")[![pseudoclass](https://avatars.githubusercontent.com/u/1387821?v=4)](https://github.com/pseudoclass "pseudoclass (3 commits)")

---

Tags

pluginecommerceCraft

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fostercommerce-variant-manager/health.svg)

```
[![Health](https://phpackages.com/badges/fostercommerce-variant-manager/health.svg)](https://phpackages.com/packages/fostercommerce-variant-manager)
```

###  Alternatives

[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

293952.6k30](/packages/craftcms-feed-me)[verbb/events

A full-featured plugin for event management and ticketing.

2311.9k](/packages/verbb-events)[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

393813.5k10](/packages/spicyweb-craft-neo)[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k60](/packages/verbb-formie)[verbb/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

29346.4k](/packages/verbb-feed-me)[verbb/comments

Add comments to your site.

13753.9k](/packages/verbb-comments)

PHPackages © 2026

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