FAQ
Does it require WooCommerce?
Section titled “Does it require WooCommerce?”Yes. Sizer extends WooCommerce single product pages and does nothing without WooCommerce active. The plugin header declares WooCommerce as a required plugin.
Where does the size guide appear?
Section titled “Where does the size guide appear?”Always as a button just below the add-to-cart button on the single product page (hooked to woocommerce_after_add_to_cart_button at priority 15). There is no placement setting, placement is fixed so the guide lands in a predictable, discoverable spot.
Can I reuse one chart on many products?
Section titled “Can I reuse one chart on many products?”Yes. Build a chart once under WooCommerce → Size Guides → Size charts, then assign it on each product’s Product data → Size guide tab. The same chart can be assigned to any number of products.
Can I assign a chart to a whole category?
Section titled “Can I assign a chart to a whole category?”Not in the free edition, assignment is per product only. A store-wide default chart (shown on every product with no explicit assignment) is the shipped Sizer Pro feature. Developers can implement other fallback logic with the sizer/resolved_chart_id filter.
Can I choose a text link instead of a button, or show the chart in a product tab?
Section titled “Can I choose a text link instead of a button, or show the chart in a product tab?”No. The trigger is always a styled button, and the chart always opens in a modal <dialog>. There is no text-link variant and no inline product-tab display. You can restyle the button with CSS or replace the markup with a theme template override.
Is the modal accessible?
Section titled “Is the modal accessible?”Yes. It is a native <dialog> opened with showModal(), which keeps focus inside while open. The close (×) button is focused on open, Escape and a backdrop click both close it, and focus returns to the Size guide button on close. The chart table uses <th scope="col"> and <th scope="row"> so screen readers announce each cell in context.
What happens on a browser without <dialog> support?
Section titled “What happens on a browser without <dialog> support?”The script falls back to toggling the element’s visibility, so the chart still opens and closes. Modern evergreen browsers all support <dialog> and use the native modal path.
Can I change the wording?
Section titled “Can I change the wording?”Yes, two settings on the Settings tab: Link wording (the button text) and Pop-up heading (the dialog title). Leave the heading blank to reuse the button text; leave the button text blank to fall back to “Size guide”.
Can I override the styling or markup?
Section titled “Can I override the styling or markup?”Yes. Copy single-product/trigger.php, dialog.php or chart-table.php into your theme under yourtheme/sizer/single-product/ to override the markup, and re-theme the look with the --sizer-* CSS custom properties. The output is dark-mode aware and respects prefers-reduced-motion.
Is there a shortcode?
Section titled “Is there a shortcode?”No. The button is injected automatically after the add-to-cart button; there is nothing to place by hand. Developers can change which chart resolves with the sizer/resolved_chart_id filter.
What shows on a product with no chart?
Section titled “What shows on a product with no chart?”Nothing, no button and no dialog, and no Sizer CSS or JS is enqueued on that page. You can roll size guides out one product at a time.
What happens to my charts if I uninstall?
Section titled “What happens to my charts if I uninstall?”Deleting the plugin removes the sizer_settings, sizer_charts and sizer_db_version options, so your charts and wording settings are gone. The per-product _sizer_chart_id meta is left in place, so if you reinstall and rebuild the same chart ids, existing product assignments still resolve.
What does Sizer Pro add?
Section titled “What does Sizer Pro add?”Shipped today: a store-wide default chart for products with no per-product assignment (DefaultChart), and per-variation charts on variable products that update the modal as shoppers switch variations (VariationCharts). Both build on the sizer/resolved_chart_id filter and variation meta, with no extra database tables. cm/inch unit switching, a “find my size” calculator and CSV import/export are on the Pro roadmap.