> 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](/files/jaMByJrFHR5z5kTuIyAg)

## 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](/files/9zYULmXeeLELbSoLZxhn)

## 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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.momocode.de/en/shopware-6/percentage-based-advanced-pricing/1.-description.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
