Preview: readme.txt
Size: 2.21 KB
/home/certprox/test.certproxywizard.com/wp-content/plugins/woo-variation-short-desc/readme.txt
=== WooCommerce Variation Short Description === Author: Sabbir License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Requires at least: WordPress 5.8 Requires PHP: 7.4 WC requires at least: 6.0 WC tested up to: 9.5 == Description == Adds an individual **Short Description** field to every product variation — mirroring the existing variation "Description" field that WooCommerce already provides. When a customer selects a variation on the product page the short description area updates automatically; when they reset the selector the original product short description is restored. **Zero side-effects** — nothing runs unless WooCommerce is active, and on the frontend the script only loads on single-product pages. == Installation == 1. Upload the `woo-variation-short-desc` folder to `/wp-content/plugins/`. 2. Activate the plugin through the **Plugins** screen in WordPress. 3. Open any Variable product in the editor and expand a variation panel — you will see a new **Short Description** field directly below the existing Description field. == How to use == 1. Go to **Products → Edit** any variable product. 2. Click the **Variations** tab. 3. Expand a variation panel. 4. Fill in **Short Description** (HTML is allowed, same as the main field). 5. Click **Save changes**. On the storefront, when a customer picks that variation the product short description area is replaced with your variation-specific text. Resetting the selectors restores the original short description. == Frequently Asked Questions == = Will this break my site? = No. The plugin is fully scoped inside a singleton class. On the frontend it only enqueues one small JavaScript file (< 1 KB) on single-product pages, and only if WooCommerce is active. = What if a variation has no short description? = The original product-level short description is shown — exactly as before the plugin was installed. = Does it support HTML in the variation short description? = Yes. The field is saved with `wp_kses_post()` (the same sanitisation WooCommerce uses for product descriptions) so basic HTML tags like `<strong>`, `<em>`, `<ul>`, `<li>`, etc. are preserved. == Changelog == = 1.0.0 = * Initial release.
Directory Contents
Dirs: 1 × Files: 2