Zum Inhalt springen
Termin buchen
Shopware 6 Manual

Size & Fit Advisor

Your customers enter body measurements and preferred fit, and the size advisor names the right size plus an alternative. It works from your size charts per brand, category or product.

Version 6.7.0 Compatible with 6.7.0 and newer 19 min read
Go to plugin page Coming soon to the Shopware Store
On this page

Introduction

The Size & Fit Advisor helps your customers find the right size directly on the product page. They enter their body measurements and preferred fit and immediately receive a size recommendation — calculated from the size charts you maintain yourself.

What you achieve with this plugin

  • Your customers find the right size without having to read a size chart themselves.
  • You maintain size charts per brand, category or product — with exactly the body measurements that matter for the item (for example chest, waist, hip).
  • Besides the recommended size, your customers see how reliable the recommendation is and, in close cases, an alternative size.
  • Customers who prefer a tight or loose fit get the matching neighbouring size in borderline cases.
  • Only sizes that appear in your chart are ever recommended. The calculation runs entirely in your store — no external services, no AI.

Who is this plugin for?

For stores selling clothing, shoes or other sized goods that want to make choosing a size easier for their customers and reduce returns caused by the wrong size.

Installation

After purchase, the plugin is available directly in your Administration — you do not need to download anything.

  1. Log in to your Shopware Administration (YourStore.com/admin).
  2. Open Extensions → My extensions.
  3. Click Install next to the plugin.
  4. Activate the plugin using the switch next to the entry — done.

In the extension list and on the configuration page, the plugin may appear under its German name Größen- und Fit-Berater, even in an English Administration.

Size & Fit Advisor in "My extensions", installed and active Fig. 1: The plugin is installed and active.

You do not need to run a build; all files ship with the plugin. If the advisor appears unstyled in your store after activation or its button does not respond, recompile your theme once (see Troubleshooting).

If the plugin does not appear in the list, your Shopware account is not yet connected to the store. You can do this under Extensions → My extensions by logging in with your Shopware account.

Getting Started

  1. Switch the advisor on: Open Extensions → My extensions and click Configure next to the plugin. The switch Enable plugin for this sales channel is on by default — you do not need to change anything here at first.
  2. Create your first size chart: Open Content → Size charts and click Add size chart. Define which brand, category or products the chart applies to, which measurements it uses and which sizes exist (see How to create size charts).
  3. Check the result: In your store, open the product page of an item the chart applies to. Below the add-to-cart button you now see “Not sure about your size? Find your best fit here.” with the button Find my size.

Settings

You find the settings under Extensions → My extensions: click Configure next to the plugin.

Configuration page of the Size & Fit Advisor Fig. 2: Configuration page with the sales channel selection, “Open documentation” and the activation switch.

Sales Channel

At the top of the General card, use Sales Channel to choose which store your setting applies to. With All Sales Channels you set the value for all channels. If you choose a single channel, you can set a separate value that applies to that channel only.

Open documentation

The Open documentation button takes you directly to this manual on our website.

Enable plugin for this sales channel

Enable plugin for this sales channel determines whether the advisor appears in the selected sales channel. It is switched on by default. If you switch it off, this sales channel shows the advisor on no product page — not even for products with a size chart. Your size charts remain unchanged.

Why this is useful: If you run several sales channels, for example a B2C store with clothing and a B2B channel without size advice, you use the advisor only where it is needed. Click Save after making a change.

How to create size charts

What you get: The size chart is the basis of every recommendation. In it you define which body measurements are requested and which measurement range belongs to which size — just as the manufacturer’s size chart specifies.

The overview

Under Content → Size charts you see all charts with Chart name / product type, Brand, Unit and whether they are Active. Click a row to open the chart for editing.

List of size charts Fig. 3: Overview under Content → Size charts.

Create a new size chart

  1. Go to Content → Size charts.

  2. Click Add size chart. The page New size chart opens.

    Create a new size chart Fig. 4: Empty new size chart — the unit is preset to “Centimetres (cm)”, “Active” is switched on.

  3. Fill in the General card (section 5.3).

  4. Define the body measurements in the Measurements card (section 5.4).

  5. Enter the measurement ranges per size in the Sizes card (section 5.5).

  6. Click Save. The message “Size chart saved.” confirms it.

”General” card: what does the chart apply to?

General card of a size chart Fig. 5: “General” card with brand, chart name, unit, sales channel, categories, products and the “Active” switch.

  • Brand: Enter the manufacturer name exactly as it is stored for your products. The chart then applies automatically to all products of this manufacturer. Upper and lower case do not matter. This field is optional.
  • Chart name / product type: Your customers see this name in the advisor, for example “Men’s tops” or “Women’s jeans”. This lets you create several charts per product type for one brand. This field is required.
  • Unit: Choose Centimetres (cm) or Inches (in). Your customers enter their measurements in this unit.
  • Sales channel: If you leave this field empty, the chart applies in all sales channels. If you select a channel, it applies only there.
  • Categories: The chart applies to all products in the selected categories and their subcategories.
  • Products: The chart applies to exactly these products. If you select a parent product, it also applies to all of its variants.
  • Active: The advisor only uses active charts in the store. Use the switch to take a chart out temporarily without deleting it.

Important: Every chart needs at least one assignment — a Brand, a Category or a Product. Without one, saving shows the message “Please enter a brand or assign at least one category or product."

"Measurements” card: which body measurements are requested?

Measurements card Fig. 6: “Measurements” card with chest, waist and hip.

Here you define which body measurements your customers enter — for example chest, waist and hip for tops, or foot length for shoes.

  1. Click Add measurement.
  2. Under Label, enter what your customers should see, for example “Chest”.
  3. The Key field fills itself with a short term while you type the label. It links the measurement to the ranges in the Sizes card. You can leave it as it is. Just make sure each measurement of a chart has its own key.
  4. Remove deletes a measurement again — the related ranges in the Sizes card are removed with it.

Tip: Label and chart name are plain text fields and are not translated. If your store runs in several languages, choose terms all your customers understand, or create a separate chart per sales channel.

”Sizes” card: which measurements belong to which size?

Sizes card Fig. 7: “Sizes” card with minimum and maximum value per measurement.

  1. Click Add size.
  2. Under Size, enter the size name, for example S, M, L or 38, 40.
  3. For each measurement, enter the smallest and largest value this size fits — for example Chest min. 78 and Chest max. 82.
  4. Repeat this for every size. Remove deletes a size.

Important: Enter the sizes from smallest to largest. The advisor relies on this order when it picks the neighbouring size for customers who prefer a tight or loose fit, and it prefers the smaller size in a tie.

Tip: Avoid gaps between the ranges of neighbouring sizes. If a customer’s measurements fall into a gap, the advisor still names the closest size, but the recommendation is less reliable.

Example “Women’s tops” (cm):

SizeChestWaistHip
XS78 – 8260 – 6486 – 90
S82 – 8664 – 6890 – 94
M86 – 9268 – 7494 – 100
L92 – 9874 – 80100 – 106

The advisor ignores a size without a name or without at least one complete range. If the whole chart lacks a measurement or a valid size, a message points this out when you save.

How the advisor finds the right chart

What you get: You can create general charts per brand and assign a different chart to specific categories or products — the more specific assignment wins.

For each product, the advisor searches in this order. The first level with a match applies; the remaining levels are not considered:

  1. Product: A chart is assigned to the product itself — or, for a variant, to its parent product.
  2. Category: A chart is assigned to one of the product’s categories or to a category above it.
  3. Brand: The brand of a chart matches the product’s manufacturer name.

Only charts that are active and apply to the current sales channel are taken into account.

  • Exactly one matching chart on the winning level: the advisor uses it directly.
  • Several matching charts on the winning level (for example “Men’s tops” and “Women’s tops” of the same brand): your customer first chooses the right chart.
  • No matching chart: no advisor appears on this product page.

Tip: If a single product needs a different chart than the rest of the brand, assign that chart to it under Products. The product assignment takes precedence over category and brand.

How the advisor calculates the size

What you get: You understand why the advisor recommends a particular size and can improve your charts in a targeted way.

Which size wins

The advisor compares your customer’s measurements with every size in your chart. If a measurement lies within a size’s range, it fits exactly. If it lies outside, the distance to the nearest limit counts. The advisor averages this over all measurements entered. The size with the smallest average distance is recommended. If two sizes are equally good, the smaller one wins.

Only measurements your customer has filled in count. If a field is left empty, the advisor calculates with the remaining ones.

How reliable the recommendation is

Above the explanation, the advisor shows one of three ratings:

  • High confidence: All measurements entered lie within the range of the recommended size.
  • Good match: Not all measurements lie within the range, but the average deviation is at most 2 cm (or 2 inches for charts in inches).
  • Between sizes: The average deviation is greater than 2 — the measurements do not fit any size in your chart really well.

What the preferred fit does

Under Preferred fit, your customer chooses Tight, Regular or Loose. The choice only takes effect when two sizes fit almost equally well — when their average distances are no more than 1.5 apart:

  • Tight: The advisor recommends the smaller of the two sizes and names the larger one as the alternative.
  • Loose: The advisor recommends the larger of the two sizes and names the smaller one as the alternative.
  • Regular: The advisor recommends the size that fits better by calculation and names the second-best as the alternative.

The alternative appears in the result as “If you prefer a different fit, size … is your closest alternative.” If only one size clearly fits, the recommendation stays the same regardless of the fit and no alternative is shown.

What the comparison table shows

For each measurement entered, the result shows your customer’s value, the range of the recommended size and a rating in the Fit column:

  • In range: The measurement lies within the size’s range.
  • Room to spare: The measurement lies below the range — the garment is slightly roomier at this point.
  • Snug: The measurement lies above the range — the garment fits more closely at this point.

What your customers see

What you get: You know exactly what your customers see and can answer questions about the advisor with confidence.

Opening the advisor

Below the add-to-cart button on the product page, your customers see “Not sure about your size? Find your best fit here.” with the button Find my size. The advisor only appears for products to which an active size chart applies.

Collapsed advisor on the product page Fig. 8: The advisor below the add-to-cart button.

Choosing a size chart

If several charts apply to the product, your customer first picks the right one under Choose a size chart and clicks Next. If only one chart applies, this step is skipped.

Choosing between several size charts Fig. 9: Selection when several size charts match.

Entering measurements and fit

Your customer sees the chart name and an input field with unit for each measurement, for example “Chest (cm)”. Below it, they choose Tight, Regular or Loose under Preferred fit — Regular is preselected. Get recommendation starts the calculation.

Entering measurements with fit selection Fig. 10: Entering chest, waist, hip and preferred fit.

  • A single measurement is enough. The more measurements your customer enters, the more precise the recommendation.
  • Decimal values can be entered with a comma or a point.
  • If your customer fills in no field, the message “Please enter at least one measurement.” appears.

The result

The result shows:

  • Your recommended size with the size,
  • the rating (High confidence, Good match or Between sizes),
  • a short explanation, such as “Based on your measurements, size M fits you best in …” — with brand and chart name, or only the chart name if no brand is entered,
  • the alternative size in close cases,
  • the comparison table with the columns Measurement, You, Size … and Fit,
  • the note that the recommendation is guidance and cannot guarantee a perfect fit.

Result with high confidence Fig. 11: All measurements lie within the range — “High confidence”.

Result with a good match Fig. 12: The chest is just below the range of size L (“Room to spare”), waist and hip are in range — “Good match”.

Start over lets your customer begin again.

All advisor texts are available in German, English and Dutch. They follow the language in which your customer visits the store.

How to grant permissions for size charts

What you get: You decide which staff members may only view size charts and which may also edit, create or delete them.

  1. Open Settings → Users & permissions.
  2. Create a role (Create role) or open an existing one.
  3. In the permissions grid, find the size chart row in the Content group and tick the permissions you need:
    • View: open and read size charts. Only with this permission does the menu item Content → Size charts appear.
    • Edit: change existing charts, including their assignment to categories and products.
    • Create: create new charts. This automatically includes View and Edit.
    • Delete: remove charts.
  4. Click Save and assign the role to the users concerned.

Permissions grid with the Size charts row Fig. 13: Permissions grid with the “Size charts” row in the “Content” group and the levels View, Edit, Create, Delete.

Data protection

  • The body measurements your customers enter are personal data. They are sent to your store server for the calculation, processed there for this single request only, and neither stored nor logged.
  • No data is transferred to third parties. The calculation runs entirely in your store.
  • Include the size advice in your store’s privacy policy (purpose: size recommendation, measurements not stored).

How to uninstall the plugin

  1. Open Extensions → My extensions.
  2. Choose Uninstall for the plugin.
  3. In the dialog that follows, Remove all app data permanently decides what happens to your data:
    • On: All size charts, their assignments to categories and products, and the plugin settings are deleted permanently.
    • Off: Your size charts and settings are kept. If you reinstall the plugin later, everything is still there.

Important: Deleted size charts cannot be restored. Only switch the option on if you no longer want to use the advisor at all.

Troubleshooting

The advisor does not appear on the product page

Cause: No active size chart applies to the product, or the advisor is switched off in the sales channel.

Solution:

  1. Under Extensions → My extensions, click Configure next to the plugin and check that Enable plugin for this sales channel is switched on for this channel.
  2. Under Content → Size charts, check that a chart is Active and assigned to the product, one of its categories or its manufacturer (field Brand).
  3. If a Sales channel is assigned to the chart, it applies only there. Leave the field empty if it should apply everywhere.
  4. Check that the chart has at least one measurement and one size with a complete range.
  5. The advisor sits in the buy area of the product page. If your product layout shows no buy area, no advisor appears either.

The advisor appears unstyled or its button does not respond

Cause: Your store’s theme has not been recompiled since activation.

Solution: Open Content → Themes, select your theme and save it once — Shopware recompiles it in the process. Alternatively, your administrator can do this on the command line (see For administrators / Technical details).

The “Size charts” menu item is missing in the Administration

Cause: Your user lacks the View permission for size charts, or your browser still shows an old version of the Administration.

Solution: Check your user’s role (see How to grant permissions for size charts) and reload the Administration in your browser.

The wrong chart is shown

Cause: The more specific assignment wins: product before category before brand.

Solution: Check whether the product, its parent product or one of its categories (including a parent category) is assigned to another chart.

”We could not match your measurements to a size. Please check your entries.”

Cause: The values entered do not match any measurement of the chart, or they are implausible (for example 0, or 500 and above).

Solution: Check that the sizes in your chart have complete ranges for the requested measurements. Customers should enter realistic values in the unit shown.

Cause: The chart’s ranges overlap, have large gaps, or were entered in the wrong unit.

Solution: Compare the ranges with the manufacturer’s size chart and check that Unit is correct (cm or inches).

The preferred fit does not change the recommendation

Cause: This is intended. The fit only takes effect when two sizes fit almost equally well. If one size clearly fits, it remains the recommendation.

Configuration changes have no effect

Solution: Clear the cache under Settings → System → Caches & indexes with Clear cache.

All settings

Every setting in the plugin configuration with its default value, in the order shown in the Administration. As of version 6.7.0.

General

SettingDefaultDescription
Enable plugin for this sales channelon

FAQ

Q: Do I need a separate chart for every brand?

A: No. You can also assign a chart via Categories or Products without entering a brand. A brand is only useful if the chart should apply to all products of a manufacturer.

Q: Can I create several charts for the same brand?

A: Yes, for example one per product type. If several charts apply to one product at the same time, your customer picks the right one in the advisor. To avoid this, assign the charts more precisely via Categories or Products.

Q: Can the advisor recommend a size that is not in my chart?

A: No. It always recommends a size from your chart.

Q: What if my customer only knows one measurement?

A: One measurement is enough. The advisor then calculates with that measurement only.

Q: Does a chart assigned to a parent product also apply to its variants?

A: Yes.

Q: Are my customers’ body measurements stored?

A: No. They are only processed for the calculation and are neither stored nor logged (see Data protection).

Q: Can I change the texts in the advisor?

A: Yes, via your store’s snippets under Settings → Snippets. Search there for the text you want to change, for example “Find my size”.

For administrators / Technical details

This section is intended for technical administrators. You do not need it for normal use.

System requirements

  • Shopware: 6.7 (from 6.7.0)
  • PHP: 8.2 or newer
  • External services: none

Installation via the command line

php bin/console plugin:refresh
php bin/console plugin:install --activate SwpSizeAdvisorSix
php bin/console theme:compile
php bin/console cache:clear

Administration and Storefront ship pre-built; no build of your own is needed. theme:compile is only required if the advisor’s storefront styling or behaviour is missing after activation.

Database

The plugin creates three tables of its own: swp_six_size_chart (size charts), swp_six_size_chart_category and swp_six_size_chart_product (assignments). Shopware core tables are not changed. When uninstalling with “Remove all app data permanently”, the three tables and the plugin configuration are removed (command line: plugin:uninstall without --keep-user-data).

Storefront

  • The advisor is included in the product page’s buy box element, below the buy area.
  • It uses two storefront endpoints (/size-advisor/charts, /size-advisor/recommend). If the advisor is switched off in the sales channel, both respond with HTTP 403.
  • The size ranges of a chart never leave the server; the browser only receives the name, unit and measurement labels.
  • At most 50 charts are considered per assignment level.
  • Changes to size charts automatically invalidate cached product pages.
  • Storefront snippets use the prefix swpSizeAdvisorSix. (DE, EN, NL).

Permissions

The permissions sit in the “Content” group under the key swp_six_size_chart (levels viewer, editor, creator, deleter).


This manual was created for the Size & Fit Advisor version 6.7.0.

How much help do you need?

  • Updates and compatibility: Plugin-Care from €149 per month

    Before every Shopware release we check whether your plugins keep up. You get a written recommendation and install the updates yourself. Cancel monthly.

    See Plugin-Care
  • Setup or customisation: intro call

    Want us to set up the plugin, or are you missing a feature? We sort that out in a free intro call.

    Book an intro call

Something in the plugin not working? Write to us

Need a team that keeps your shop running?

We have been working with Shopware since 2010 and maintain shops including updates, hotfixes and the plugins you are configuring right now.