=== Jeet Sanwal Shipping Data Checker ===
Contributors: jeetsanwal
Tags: woocommerce, shipping, product dimensions, product weight, variations
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Requires Plugins: woocommerce
Stable tag: 1.0.5
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Review missing or invalid WooCommerce shipping measurements in small read-only batches, including effective variation values.

== Description ==

Jeet Sanwal Shipping Data Checker gives store managers a compact, read-only review of effective product weight, length, width and height. Open WooCommerce > Shipping data, review a batch, and use native product edit links to correct the source data deliberately.

* Up to 25 products or variations are inspected per batch, with Previous and Next navigation.
* Product type, product status and literal title/content search controls for the current permitted batch.
* Clearly marked missing, zero, negative and non-numeric effective measurements.
* Variation values follow WooCommerce getters: empty saved values with effective values are labeled as parent/filter fallbacks.
* Variable parents and grouped containers are never marked as a successful child coverage check.
* A variable parent's Review variations link opens its own bounded variation batches.
* Virtual items are excluded when WooCommerce says they do not need shipping. Physical downloadable products are still inspected.
* External products are excluded because they ship outside this store. Custom product types are outside this report.
* Store-configured weight and dimension units are displayed and included in CSV.
* Shipping class is shown when present; it is optional and never treated as a missing measurement.
* Export the shown rows from one batch as CSV, with spreadsheet formula protection.

With optional installation reports off, only users with manage_woocommerce can open the report or export. Every row additionally requires product edit permission before its name, content or measurements are inspected; variations also require parent edit permission. Export requires a valid WordPress nonce and a POST request. There are no public endpoints, frontend assets, background jobs, remote requests, catalog writes, ads, telemetry, account requirements or paid features.

== Installation ==

1. Install and activate WooCommerce.
2. Upload the jeet-shipping-data-checker ZIP at Plugins > Add New > Upload Plugin, then activate it.
3. Open WooCommerce > Shipping data.
4. Choose a type, product status or title/content search. Review one batch and continue through Next batch.
5. Follow Edit product to correct measurements in the native product Shipping fields, or the parent's Variations fields for a variation.

Requires WordPress 6.5+, PHP 7.4+, and active WooCommerce. Tested with WordPress 7.1.3 and WooCommerce 11.2.1. The plugin does not read orders and declares WooCommerce HPOS compatibility.

== Frequently Asked Questions ==

= Does a green measurements badge prove shipping will work? =

No. It means the four effective values in that row are finite numbers greater than zero. It does not measure the physical item or check packing, carrier limits, package sizes, checkout quotes, prices, zones or shipping rules. Some shipping methods do not need every field; review findings against your actual setup.

= How does variation inheritance work? =

The report uses WooCommerce effective view getters, which include parent inheritance and the site's normal local extension filters. Blank variation measurements normally fall back to the parent. WooCommerce also treats a raw zero variation measurement as empty and can inherit a positive parent value. If the saved variation field is empty and the effective getter returns a value, the report labels it Effective fallback (parent/filter). This is an inferred fallback, not proof of the source: a local filter can supply the value before parent inheritance. Missing or non-positive effective values need review. Explicit variation values are inspected individually.

= Are downloadable products ignored? =

Only if WooCommerce says the item does not need shipping, usually because it is virtual. A downloadable product that is still physical is inspected. External products are excluded; grouped and variable parents are labeled containers and require their children or variations to be reviewed independently.

= Does the issue filter scan the whole catalog? =

No. Each request loads at most 26 candidate product objects: 25 records plus one lookahead object to decide whether Next is available. Edit permission is checked first; title/content search, product type, status and review-state filters then apply within permitted records in those 25 candidates. Search is a literal case-insensitive substring of names, descriptions and short descriptions. Hidden content does not influence filtered paging. An empty filtered batch is not proof of a clear catalog; continue through Next. Optional parent scope queries only that parent's variations after checking parent permission. Results are live and can shift if products are added, deleted or changed between requests. The default display selects published products and enabled variations; choose other statuses to review drafts or disabled variations.

= Can I export the whole catalog? =

The CSV exports only the currently shown rows, up to 25, and is freshly read using the current filters. It is not a full-catalog report or a stored snapshot. Large catalogues can be reviewed batch by batch without a large synchronous export. Spreadsheet formula prefixes in data cells are escaped with a leading apostrophe.

= Does it change missing weights or dimensions automatically? =

No. It never invents defaults, saves product fields or changes shipping rules. Use the normal product editor after checking the real item. No plugin-owned database records are created; deactivation or removal leaves your catalog unchanged.

= Are custom product types or custom storage extensions supported? =

Version 1.0 includes WooCommerce's standard simple, variable, variation, grouped and external types. Bundles, subscriptions and other custom product types need their own extension's review and are outside this report. Reads use WooCommerce product objects and wc_get_products; unusual alternate product data stores may need separate compatibility testing, including title/content search. WooCommerce measurement filters can affect the effective values, so this is not a raw database audit.

= Does this plugin add anything to customer pages? =

No. It loads a small stylesheet only on its own admin page. No scripts, branding, external services, ads or data collection are added to public pages.

= How are updates installed? =

This is a self-hosted free GPL download. Install a newer ZIP through WordPress's normal upload-and-replace workflow. There is no automatic updater, paid upgrade or WordPress.org approval claim.

== Privacy ==

With optional installation reports off, the plugin makes no network requests and creates no plugin-owned saved data. It reads existing WooCommerce product data for authorized shop managers and administrators. CSV files contain product names, SKU, IDs, status and shipping measurements; handle downloaded reports according to your store's policies.

== Updating an existing installation ==

Download this plugin's individual ZIP from https://jeetsanwal.in/tools/jeet-shipping-data-checker . Make a normal site backup and try the update on staging first. In WordPress, use Plugins > Add New > Upload Plugin and choose Replace current with uploaded when WordPress detects the existing installation. Keep the same plugin folder; do not uninstall/delete the plugin as an update step. Confirm the displayed version is 1.0.5, then reopen the plugin's normal screen and check one representative workflow described above. Clear relevant page caches if public output remains stale.

Updates are installed manually; a matching Update URI prevents unrelated directory plugins from replacing this package, but does not provide an update service. If replacement fails, check hosting upload limits and write permissions before retrying. To roll back, replace the plugin files with your saved previous ZIP; file replacement alone does not restore database records or deleted files. Use your site backup when data restoration is needed. Read this plugin's retention notes before deliberately uninstalling it.

Author and support: Jeet Sanwal — https://jeetsanwal.in/contact

== Optional installation reports ==

Installation reports are optional and OFF by default. Installing, activating, or using this product does not submit a report. Administrators can choose consent separately for each product under Settings > Jeet Sanwal Reports. All product features remain available with reporting off.

After explicit consent, the client sends the website URL, a random installation ID, product/WordPress/PHP versions, reported state, and an observed activation timestamp when available to https://jeetsanwal.in/api/v1/plugin-reports. While that product is active and consent remains enabled, a daily WordPress cron check-in can update its last-known status. WP-Cron depends on site traffic and hosting; it is not a continuous monitor.

Pause stops future reports without deleting records already shared. Forget requests deletion of the remote installation entry and history, retrying deletion if delivery fails. Records automatically expire after 90 days without a check-in. The plugin does not send page content, files, database exports, administrator email addresses, or raw IP addresses. Server rate limiting keeps a keyed IP hash for up to 24 hours; ordinary hosting access logs are governed separately by the privacy policy.

Review the fields and consent before enabling reporting. Read https://jeetsanwal.in/privacy for the reporting endpoint, retention, and deletion details. Reporting does not authorize remote control, automatic updates, or access to the website.

== Changelog ==

= 1.0.5 =
* Updated the product display name to Jeet Sanwal Shipping Data Checker and retained the Jeet Sanwal author website.
* Added voluntary installation/status reports with per-product consent OFF by default, pause/forget controls, and documented fields and retention.
* Preserved existing identifiers, stored data, permissions, and earlier release history.


= 1.0.4 =
* Protected CSV cells against formula prefixes hidden behind Unicode spacing, invisible characters or invalid UTF-8.

= 1.0.3 =
* Standardized interface wording to US English without changing stored field keys or permissions.
* Added a complete US English installation and update guide; kept documented permissions, limits and manual rollback steps.


= 1.0.2 =
* Clarified the manual replacement, verification and rollback workflow, with direct author support details.
* Rechecked package metadata, source/archive consistency and existing isolated regressions.


= 1.0.1 =
* Check product and variation-parent edit permission before reviewing or exporting their values.
* Apply title, type and status filters after permission checks within fixed candidate batches, preventing hidden matches from influencing paging.
* Preserve Unicode search text and clarify batch-local filters and counts.

= 1.0.0 =
* Initial release: bounded shipping measurement review, variation inheritance, parent navigation, filters and protected per-batch CSV export.
