=== Sia Retail ===
Contributors: siaplugins
Tags: woocommerce, stock management, barcode, inventory, low stock
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.5.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
WC requires at least: 7.0
WC tested up to: 10.8

Bulk-edit stock quantities, generate barcode labels, get low-stock email alerts and export stock to CSV — all from one plugin.

== Description ==

Sia Retail gives WooCommerce store owners a fast way to manage stock without opening each product individually:

* **Bulk Stock Editor** — see every stock-managed product in one table and update quantities in a single save.
* **Barcode Labels** — generate and print barcode labels for your products, using SKU as the barcode value.
* **Low Stock Alerts** — get a daily email when any product falls at or below a threshold you set.
* **CSV Export** — download current stock levels for every product.

Sia Retail is part of a larger operations suite. Store owners who need POS, purchasing, HR, shipments, quotes and more can upgrade to **Sia Retail Pro** — a single plugin that replaces the need to run several separate tools with their own updates, settings, and security surface.

== Installation ==

1. Upload the plugin ZIP from Plugins > Add New > Upload Plugin.
2. Activate Sia Retail.
3. Ensure WooCommerce is installed and active.
4. Open Sia Retail from the WordPress admin menu.

== Frequently Asked Questions ==

= Does this support multiple stock locations? =

No — multi-location stock, transfers, and full stock takes are part of Sia Retail Pro. The free plugin manages a single stock quantity per product, the same field WooCommerce itself uses.

= What barcode format do labels use? =

Code128, generated from the product SKU (or product ID if no SKU is set).

== Changelog ==

= 1.5.7 =
* Prefixed template-local variables flagged by Plugin Check ($group, $free_items, $paid_items, $tier, $tier_label, $settings, $export_url) with `sia_retail_`.

= 1.5.6 =
* Renamed all functions, classes, constants, options and hooks to a unique `sia_retail`/`SIA_RETAIL` prefix, per WordPress.org review feedback.

= 1.5.5 =
* Strengthened AJAX nonce visibility and input sanitization for WordPress.org automated checks.
* Added short-lived caching to the movement-log query.
* Removed the unnecessary direct close operation from the streamed CSV export.

= 1.5.4 =
* Updated the declared WordPress compatibility to version 7.1 for directory submission.

= 1.5.3 =
* Restored the Pro module comparison on the dashboard with Growth, Business and Full Suite tier labels.
* Kept paid modules informational and consolidated the upgrade path into one plan-comparison link.

= 1.5.2 =
* Prepared the distribution package for the WordPress.org Plugin Directory.
* Simplified the plugin dashboard to focus on the five included free tools.
* Removed the separate product-hub menu and consolidated product information on the Help page.

= 1.5.1 =
* Added an icon per product on the Sia Plugins hub page.
* Fixed the confusing duplicate "Sia Plugins" submenu item -- it now reads "Dashboard".

= 1.5.0 =
* Added to the shared "Sia Plugins" admin menu -- Sia Retail keeps its own full top-level menu unchanged, and also now appears as a linked entry alongside other installed Sia products for easier discovery.

= 1.4.1 =
- Fixed "Unlock with Sia Retail Pro" links pointing to a generic product page instead of the actual pricing page.

= 1.4.0 =
- Added a simple Help page covering all five free features plus common questions — no setup needed, accessible from the home screen.

= 1.3.1 =
- Moved Movement Log into the Inventory group.

= 1.3.0 =
- Products per page selector moved to the bottom of the table, next to pagination, and made visible.
- Added the ability to add or change a product's image directly from the Bulk Stock Editor.
- Stock Status (In stock / Out of stock / On backorder) is now directly editable in the Bulk Stock Editor.

= 1.2.0 =
- Added editable Price, Sale Price, and Manage Stock columns to the Bulk Stock Editor.
- Added Movement Log to the free plugin.

= 1.1.0 =
- Barcode label printing now opens an isolated, correctly-sized print job instead of printing the whole admin page.
- Added printer/paper selection: A4 sheet layouts, Dymo, Zebra, Brother, Rollo/MUNBYN presets, and custom label sizes.
- Label prices now use your store's currency symbol and formatting.
- Added a regional number-format option (standard vs. Indian lakh/crore grouping).

= 1.0.1 =
- Declared compatibility with WooCommerce High-Performance Order Storage (HPOS).

= 1.0.0 =
- Initial release: bulk stock editor, barcode labels, low stock alerts, CSV export.
