Write the custom stock status with different colors for each woocommerce product, to show in product details and listing pages.
| Code | Message | Location | Category | |
|---|---|---|---|---|
| ERROR | WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Woo_Stock_With_Yith_Wishlist". | integration/class-yith-wishlist.php:8:1 | Plugin Repo |
| ERROR | WordPress.WP.I18n.NonSingularStringLiteralText | The $text parameter must be a single text string literal. Found: $in_stock | includes/class-wc-stock-base.php:299:45 | General |
| ERROR | WordPress.WP.I18n.TextDomainMismatch | Mismatched text domain. Expected 'woo-custom-stock-status' but got 'woocommerce'. | includes/class-wc-stock-base.php:299:56 | General |
| ERROR | WordPress.WP.I18n.NonSingularStringLiteralText | The $text parameter must be a single text string literal. Found: $only_s_left_in_stock | includes/class-wc-stock-base.php:305:58 | General |
| ERROR | WordPress.WP.I18n.TextDomainMismatch | Mismatched text domain. Expected 'woo-custom-stock-status' but got 'woocommerce'. | includes/class-wc-stock-base.php:305:81 | General |
| ERROR | WordPress.WP.I18n.NonSingularStringLiteralText | The $text parameter must be a single text string literal. Found: $can_be_backordered | includes/class-wc-stock-base.php:310:60 | General |
| ERROR | WordPress.WP.I18n.TextDomainMismatch | Mismatched text domain. Expected 'woo-custom-stock-status' but got 'woocommerce'. | includes/class-wc-stock-base.php:310:81 | General |
| ERROR | WordPress.WP.I18n.NonSingularStringLiteralText | The $text parameter must be a single text string literal. Found: $in_stock | includes/class-wc-stock-base.php:314:49 | General |
| ERROR | WordPress.WP.I18n.TextDomainMismatch | Mismatched text domain. Expected 'woo-custom-stock-status' but got 'woocommerce'. | includes/class-wc-stock-base.php:314:60 | General |
| ERROR | WordPress.WP.I18n.NonSingularStringLiteralText | The $text parameter must be a single text string literal. Found: $s_in_stock | includes/class-wc-stock-base.php:320:54 | General |
| 01.12.2025, 16:30:44 | 9s | 73 | 96 | 18 |
| 13.11.2025, 20:02:18 | 13s | 73 | 96 | 20 |