> For the complete documentation index, see [llms.txt](https://docs.momocode.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.momocode.de/en/shopware-6/percentage-based-advanced-pricing/1.-description.md).

# 1. Description

## Manage Advanced Prices with Percentage Discounts

**Percentage Based Advanced Pricing** lets you define tiered prices and customer-specific prices using simple percentage values. Enter your desired discount and the price is calculated automatically.

## The Problem

Shopware's advanced prices are a powerful tool for tiered pricing and B2B pricing strategies. However, all prices must be entered as absolute values. This creates ongoing maintenance overhead:

* Every base price change requires manual recalculation of all advanced prices
* Percentage-based discount structures (e.g., "10% discount from 10 units") must be manually converted to absolute prices
* Error-prone and time-consuming when managing many products

## The Solution

This plugin adds a **percentage column** to the advanced prices table in the Shopware Administration. Enter the desired discount as a negative percentage value (e.g., `-10` for a 10% discount) — the absolute price is calculated and saved automatically.

![Advanced prices table with percentage column](https://459847022-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LtiS3-dzuXFp_IH7yRw-1972196547%2Fuploads%2Fgit-blob-eefad754ae0929e919b9e34fa8af873f69f1d328%2F1.png?alt=media)

## Automatic Recalculation

When you update a product's base price, all percentage-based advanced prices are **automatically recalculated**. Your discount structures stay consistent without any manual effort.

## Flexible Calculation Base

For each price type (price, list price, regulation price) you can individually choose whether the percentage is calculated from the **sale price** or the **purchase price**. This enables scenarios like "list price = purchase price + 20%".

![Base selection toggle for sale price and purchase price](https://459847022-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LtiS3-dzuXFp_IH7yRw-1972196547%2Fuploads%2Fgit-blob-34cb4ad7b68d8e4e0b07a4ed716ab512f30c7cc1%2F2.png?alt=media)

## Feature Overview

| Feature             | Description                                                    |
| ------------------- | -------------------------------------------------------------- |
| Percentage column   | New input column in the advanced prices grid                   |
| Instant calculation | Price is calculated as soon as you enter a percentage          |
| Calculation base    | Choose between sale price and purchase price per price type    |
| Automatic updates   | Recalculation when sale price or purchase price changes        |
| Bulk edit support   | Apply percentage prices to many products at once via bulk edit |
| Multi-currency      | Works with all configured currencies                           |
| Console command     | Bulk recalculation of all percentage prices                    |
| Clean uninstall     | Plugin data is fully removed on uninstall                      |

## Ideal for B2B

Percentage-based discount structures are standard in B2B. With this plugin, you can finally manage customer group prices and tiered prices the way you think about them — in percentages.

## Compatibility

* Version 1.x.x: Shopware 6.6
* Version 2.x.x: Shopware 6.7
* Seamlessly integrated into the existing Administration
* No storefront changes required
