PHPackages                             laenen/sw6-single-page-variants-plugin - 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. [Admin Panels](/categories/admin)
4. /
5. laenen/sw6-single-page-variants-plugin

ActiveShopware-platform-plugin[Admin Panels](/categories/admin)

laenen/sw6-single-page-variants-plugin
======================================

Single Page Variants

1.0.2(1mo ago)370MITPHPCI passing

Since May 28Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/runelaenen/sw6-single-page-variants-plugin)[ Packagist](https://packagist.org/packages/laenen/sw6-single-page-variants-plugin)[ RSS](/packages/laenen-sw6-single-page-variants-plugin/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

Single Page Variants
====================

[](#single-page-variants)

**Single Page Variants** is a Shopware 6 plugin that changes how URLs for product variants work. Instead of giving each variant its own SEO URL, only the main product has one.

When a user selects a variant on the product page, the plugin loads the new product data using AJAX. This means the page doesn’t reload, and the URL stays the same.

Features
--------

[](#features)

- Only the main (parent) product gets an SEO URL.
- Variants no longer have their own URLs.
- The product page updates using AJAX when switching between variants.
- Sitemap includes urls for parent pages, not for specific variant pages.
- Avoids SEO issues with multiple URLs for similar content.

How It Works
------------

[](#how-it-works)

- **Variant Switcher:**
    The plugin changes the variant switcher (product configurator) so it uses AJAX to load the selected variant’s data without reloading the page.
- **Switch Route:**
    The controller for the `switch` route is updated to return the full product detail HTML directly, instead of redirecting to a new variant URL.
- **URL Handling:**
    Variant URLs are replaced with their parent product’s URL using a custom `SeoUrlPlaceholderHandler`.
- **No SEO URLs for Variants:**
    The plugin stops Shopware from generating any SEO URLs for variants by extending the `ProductPagePageSeoUrlRoute`.

When to Use This
----------------

[](#when-to-use-this)

- You want simpler, cleaner product URLs.
- You don’t want each variant to have its own page.
- You want a faster, more dynamic product page experience.

Compatibility
-------------

[](#compatibility)

- Shopware 6.6
- Not recommended if other plugins or custom code depend on variant-specific URLs. Your mileage may vary.

Installation
------------

[](#installation)

You can install the plugin through the Shopware Administration, or use the command line:

```
composer require laenen/sw6-single-page-variants-plugin
bin/console plugin:install --activate LaenenSinglePageVariants
```

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Every ~357 days

Total

2

Last Release

46d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3930922?v=4)[Rune Laenen](/maintainers/runelaenen)[@runelaenen](https://github.com/runelaenen)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/laenen-sw6-single-page-variants-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/laenen-sw6-single-page-variants-plugin/health.svg)](https://phpackages.com/packages/laenen-sw6-single-page-variants-plugin)
```

###  Alternatives

[shopware/production

177209.0k](/packages/shopware-production)[adyen/adyen-shopware6

Official Shopware 6 Plugin to connect to Payment Service Provider Adyen

25117.9k](/packages/adyen-adyen-shopware6)[shopware/administration

Administration frontend for the Shopware Core

414.3M116](/packages/shopware-administration)[kiener/mollie-payments-plugin

Mollie Payments

6565.2k](/packages/kiener-mollie-payments-plugin)[unzerdev/shopware6

Unzer payment integration for Shopware 6

1233.3k](/packages/unzerdev-shopware6)[shopware/elasticsearch

Elasticsearch for Shopware

153.9M19](/packages/shopware-elasticsearch)

PHPackages © 2026

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