How to add a size chart beside the size selector in Magento 2
What does 52 cm mean for a size M?
A shopper lays her favourite denim jacket flat. From one underarm seam to the other it measures 52 cm. The new jacket lists 104 next to M.
Is that a body measurement, the garment circumference or a flat width? Even an accurate number needs a label before it can guide a purchase.
Give one measuring method for this model
If the supplier measures the finished garment, label the column “Chest width, laid flat (cm)”. An illustrative chart for one jacket is S 50, M 52, L 54. Ask the shopper to fasten a well-fitting jacket, lay it flat and measure between the seams without stretching the fabric.
Her 52 cm matches M in this chart. For body measurements, use the supplier’s instructions and ranges. Doubling a garment width does not establish the body circumference it will fit.
Place the guide beside the size options
Under Stores → Configuration → Kowal → Tabela Rozmiarow, enable the module and specify the variant attribute, such as size, and the content attribute, such as tabela_rozmiarow. Enter this model’s measurements, units and instructions on the product. A drawing can show where the tape goes.
The button beside the size label opens the guide without reloading the page. Use separate data where two brands use different size scales.
Test before rolling out to the whole collection
On a phone, select a colour, open the guide and return to the options. Can you see the unit without scrolling sideways? Is the colour still selected?
Add M to the cart and check the variant. Repeat with missing chart data and a second language. After launch, compare fit questions and size-related returns for the same model relative to units sold.