=== Product Size Chart & Size Guide for WooCommerce === Contributors: giucu91, knaldi2020 Tags: size chart, size guide, woocommerce, size table, product size chart Requires at least: 6.5 Tested up to: 7.1 Requires PHP: 7.4 Requires Plugins: woocommerce Stable tag: 1.2.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Add size charts and size guides to WooCommerce products. Show them as a pop up or tab, per product or category, and reduce returns. == Description == Reduce returns with Sizegram size charts for WooCommerce. Give your customers the size information they need right on the product page: a clear size guide with a size table, in a pop up or in a product tab. Product Size Chart & Size Guide for WooCommerce lets you create unlimited size charts and show them on the products or product categories you choose. Add rows and columns to the size table without any HTML knowledge. Use it for clothing, shoes, jewelry, furniture or anything else that comes in sizes: chest, waist, height, weight, length in cm or inches. = What you can do = * Create unlimited size charts and size guides. * Assign a chart to one or more products, or to one or more product categories. * Show the chart as a modal pop up (with a button) or as an extra product tab. * Add and edit table rows and columns in a simple table editor. * Add an image and text to a chart, and show up to two additional charts in the same pop up or tab. * Choose table styles, colors, button style, button label and overlay. * Set default settings once and override colors and style per chart. = How it works = 1. Create a chart under Size Chart > Add Chart. 2. Fill in the size table and choose pop up or tab. 3. Select the product categories, or pick the chart on a single product. 4. Visitors see a "Size Guide" button or tab on the product page. The plugin does not contact external servers and does not collect data. Original plugin was developed by: Nabaraj Chapagain ( https://profiles.wordpress.org/nabaraj-chapagain/ ). On 06-09-2020 giucu91 took over and maintained this plugin. Since 30-01-2024 the plugin has been transferred to Knaldi2020, and is also known as Sizegram from 2024. We will keep maintaining and improving this plugin. Plugin information - Click here for sizegram.com = Features = 1. Create unlimited charts. 2. Assign a chart to single or multiple products. 3. Assign a chart to single or multiple categories. 4. Easy to use custom fields for color, buttons, overlay etc. 5. Add/edit multiple rows and columns in the chart table. 6. Multiple table styles. 7. Default settings available. 8. Customizable text, color, button, overlay. 9. Additional size charts can be added to products. == Installation == 1. Upload the plugin to the '/wp-content/plugins/' directory, or install it from the Plugins screen. 2. Activate the plugin through the 'Plugins' menu in WordPress. WooCommerce must be active. 3. Add a chart from the "Size Chart" menu in the left hand side menu bar. 4. Manage the default settings under Size Chart > Settings. == Frequently Asked Questions == = How do I add a size chart to a product? = Create a chart under Size Chart > Add Chart. Then either select the product categories on the chart, or open the product and pick the chart in the "Select Chart" box. A chart picked on a product always wins over a chart assigned to its category. = Can I use one size chart for a whole category? = Yes. Select one or more product categories on the chart and it will show on every product in those categories. = Can I show the size guide as a pop up or as a tab? = Yes. Choose "Modal Pop Up" or "Additional Tab" on each chart. For a pop up you can also choose where the button appears on the product page. = Can I show more than one size table on a product? = Yes. Enable "Additional Chart" in Size Chart > Settings and add up to two extra charts to the same chart. = Does the plugin work with WooCommerce HPOS (High-Performance Order Storage)? = Yes. The plugin does not read or write orders, and it declares compatibility with HPOS and the cart and checkout blocks. = Does the plugin contact external servers? = No. All charts are stored in your own WordPress database. = Does the plugin show a link to Sizegram on my site? = Only if you turn it on. Under Size Chart > Settings you can enable "Link to Sizegram", which adds a small "Size chart by Sizegram" link below the size chart. The plugin is free and we do not ask for a subscription; this link is our friendly alternative if you want to support us. It is off by default and never shown without your permission. Developers can change or remove the text with the `productsize_chart_credit_html` filter. = The size chart button does not show up. What should I check? = Check that the chart is published, that it is assigned to the product (or one of its categories), and that your theme uses the standard WooCommerce single product template. Developers can change the button position with the `productsize_chart_button_hook` and `productsize_chart_button_priority` filters. == Screenshots == 1. Single product page chart option. 2. Assign chart to single product. 3. Select categories to appear on product categories. 4. Additional settings panel. 5. Modal example single product page. 6. Tab example single product page. 7. Tab example single product page. == Changelog == = 1.2.0 = * Tested up to WordPress 7.1 and WooCommerce 11.1. Requires WordPress 6.5, PHP 7.4 and WooCommerce. * New: optional "Size chart by Sizegram" link below the size chart. Off by default; turn it on under Size Chart > Settings. * Declared compatibility with WooCommerce HPOS and the cart and checkout blocks. * Security: nonce, capability and input checks on every save action, escaped output, validated settings. * Fixed: content, image position and table of "Chart 2" were not shown again after saving. * Fixed: image position of the additional charts was not saved. * Fixed: padding was rendered as "10pxpx" when entered as "10px". * Fixed: the extra button CSS class setting had no effect. * Fixed: PHP 8 warnings, and a fatal error when a chart table contained invalid data. * Fixed: uninstall now removes the plugin settings. * Improved: the chart is looked up once per product page, nothing runs on other pages, styles are added with wp_add_inline_style. * Removed unused files. = 1.1.4 = * Changed ownership = 1.1.3 = * Fixed compatibility with PHP8.0 = 1.1.2 = * Fixed "Button Not Displaying" bug. = 1.1.1 = * Fixed popup's button label. = 1.1.0 = * Added sanitization and escapes * Reorganized the code. * Changed ownership = 1.0.6 = * New Version Release * bug fixes = 1.0.5 = * New Version Release = 1.0.4 = * New Version Release = 1.0.3 = * New Version Release = 1.0.2 = * New Version Release = 1.0.1 = * New Version Release = 1.0.0 = * Initial Release