| 开发者 | egydevinfo |
|---|---|
| 更新时间 | 2026年9月30日 23:37 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[egydevinfo_size_chart] shows the current product's chart button.
[egydevinfo_size_chart chart_id="12" display="inline"] shows a chart directly on a page, for example a Size Guide page.
[egydevinfo_size_chart product_id="34"] shows a specific product's chart.
Lightweight
<dialog> element, so it sits above sticky headers and page builder sections without z-index workarounds.Yes. Add a column of type "Text" for each size system (for example UK, US, EU / Egypt, or your factory's numbering). Text columns are shown as typed and are not converted by the cm/inch switch. The first column is the size name shoppers choose and that "Find my size" recommends.
For each measurement the shopper enters, it finds the smallest size whose range covers that measurement. It then suggests the largest of those sizes, so the garment fits every measurement given, and it shows which size each measurement points to. If a measurement is bigger than the chart's largest size, it says so and suggests contacting the store. For this to work, list sizes from smallest to largest and set body measurement columns to the "Length" or "Weight" type. Values can be single numbers (26) or ranges (88-92).
The link is added when the variable product has a variation attribute whose name or label contains "size" (or a translation such as مقاس or Taille). If your attribute has another name, developers can use the egydevinfo_size_chart_is_size_attribute filter, or you can pick another button position in the settings.
Some variation swatch plugins replace the dropdown completely. If the link disappears with such a plugin, choose "Before the Add to cart button" as the position.
Yes. Add the Size Chart block to your Single Product template in the Site Editor, or use the [egydevinfo_size_chart] shortcode in any page builder.
Yes. Size charts use product permissions, and the settings page uses the manage_woocommerce capability.
Your global image, button label, colors and position are imported automatically as a size chart. After checking the result you can delete the old plugin.
chart_id and display="inline" shortcode options.<dialog> popup without jQuery.