=== Hide SKU From Customer === Contributors: ipodguy79 Tags: SKU, WooCommerce, Product Management, Hide SKU, Inventory Requires at least: 5.8 Tested up to: 6.9 Requires PHP: 7.2 WC requires at least: 5.0 WC tested up to: 8.6 Stable tag: 2.5.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html WooCommerce SKU Visibility plugin allows you to hide product SKUs from customers while retaining full functionality for store admins. == Description == Hide SKU From Customer is a lightweight plugin that lets you remove SKU display from the front end of your WooCommerce store for customers — while keeping it fully functional for admin users. As of version 2.4, this plugin includes: - ✅ Admin settings under **WooCommerce → Settings → Products** to toggle SKU visibility - ✅ Optional hiding of SKUs even for **admins on the front end** - ✅ A small green admin bar badge to indicate when the plugin is active - ✅ ✅ ✅ **HPOS (High Performance Order Storage) Compatibility** — future-proof and Woo 8.6+ ready Perfect for stores that use SKUs internally but don’t want to display them to customers on product pages, loops, quick view, etc. == Installation == 1. Upload the plugin folder to your `/wp-content/plugins/` directory. 2. Activate the plugin via the **Plugins** page in WordPress. 3. Go to **WooCommerce → Settings → Products** to configure the SKU visibility settings. == Frequently Asked Questions == = How do I use this plugin? = Just activate the plugin. By default, it hides SKUs for customers but still shows them to admin and shop manager users. Go to **WooCommerce → Settings → Products** to configure visibility. = How do I hide SKUs even from admins on the front end? = Enable the "Also hide SKU from admins (front end)" checkbox in the plugin settings. = Does this affect inventory tracking or SKU functionality? = No. It only hides the **visual display** of SKUs on the front end. Everything else (backend, orders, inventory, etc.) continues to work normally. = Is this plugin compatible with HPOS? = Yes — version 2.4 declares full compatibility with WooCommerce's High Performance Order Storage. = How do I uninstall the plugin? = Simply deactivate and delete it from the Plugins page. No data is left behind. == Screenshots == 1. SKU visible with plugin disabled 2. SKU hidden with plugin enabled 3. Admin settings page with visibility toggles 4. Green admin bar badge indicating the plugin is active == Changelog == = 2.5.0 = Tested and updated to work with wp 6.9 = 2.4 = * ✅ Full compatibility with HPOS (High Performance Order Storage) * 🛠️ Refactored code for PHP 8.2 compliance * ✅ Syntax fixes and improved reliability = 2.2 = * Admin bar badge now only displays if “hide from admins” is enabled * Removed unnecessary status message when only hiding from customers = 2.1 = * Added settings under WooCommerce → Products to toggle SKU visibility * New option to also hide SKUs from admins on the front end * Admin bar badge displays when SKU hiding is active * Settings now save correctly and persist = 1.0 = * Initial release