Variations as Single Product – Display Single Variation for WooCommerce

Show variations as single product on shop, product category and search result page.

v4.1.6StorePluginUpdated Added 1k+ installs96% rating0% support resolved
87
Score
8
Errors
33
Warnings
+0
Change

Category Scores

Security86
Repo100
Performance98
Maintainability75

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

41 findings

Maintainability

35

11 issue groups

Security

3

2 issue groups

I18n

2

2 issue groups

Performance

1

1 issue group

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WC_VARIATIONS_AS_SINGLE_PRODUCT_VERSION".4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WC_VARIATIONS_AS_SINGLE_PRODUCT_VERSION".

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_woo_variations_as_single_product".4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_woo_variations_as_single_product".

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERRORMaintainabilitywp function not compatible with requires wpFunction "sanitize_textarea_field()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.0.0.3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Function "sanitize_textarea_field()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.0.0.

WARNINGMaintainabilityslow db query tax queryDetected usage of tax_query, possible slow query.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpml_active_languages".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpml_active_languages".

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityslow db query meta queryDetected usage of meta_query, possible slow query.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

Show 6 more
WARNINGSecurityInput is not sanitized1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['variation_title'][$variation_id]

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

Missing $domain parameter in function call to __().

ERRORI18nNon Singular String Literal Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: 'Enable Legacy Exclude Option (Use Only If Exclude Is Not Working). <span class="wvasp-in-legacy">' . __( 'Legacy', 'wc-variations-as-single-product' ) . '</span><span class="wvasp-notice wvasp-notice-error">' . __( 'We recommend avoiding the use of this feature, as it will be removed in the next major update. Only use it if variation exclusion is not functioning properly, and contact us for assistance in resolving the issue. <a href="mailto:contact@storeplugin.net?subject=Product%20Excluding%20Issue%20%28Legacy%29">contact us</a>.', 'wc-variations-as-single-product' ) . '</span>'

WARNINGPerformancePost Not In post not in1
Category
Performance
Occurrences
1
Severity
warning

Sample message

Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Variations as Single Product - Display Single Variation for WooCommerce" is different from the name declared in plugin header "Variations as Single Product for WooCommerce".

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin slug includes a restricted term. Your plugin slug - "wc-variations-as-single-product" - contains the restricted term "wc" which cannot be used at all in your plugin slug.

External Connections

Not analyzed yet.

Score History

First score snapshot

v4.1.6

87

Latest

Findings
41
Errors
8
Warnings
33
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

28 nodes

Related Plugins