=== Related Products by Category ===
Contributors: snehalpancholi
Tags: woocommerce, related products, product category, upsell
Requires at least: 6.0
Tested up to: 6.7
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Override WooCommerce related products to show items from the same primary category, with configurable count, columns, and sort order.

== Description ==

By default, WooCommerce picks related products by shared tags and categories. Related Products by Category replaces that with a strict same-category query, keeping related items highly relevant.

Features:
* Queries products sharing at least one product category with the current product
* Configurable count (1–20) and columns (1–6)
* Sort order: random, newest, title, menu order

== Installation ==

1. Upload the `related-products-category` folder to `/wp-content/plugins/`.
2. Activate through **Plugins → Installed Plugins**.
3. Optionally configure under **WooCommerce → Related by Category**.

== Changelog ==

= 1.0.0 =
* Initial release.
