Conditional Add to Cart for WooCommerce

Hide, disable, or replace the WooCommerce Add to Cart button using conditional rules based on user role, cart total, country, and more.

v1.2.1Nabil LemsiehUpdated Added 600 installs94% rating
97
Score
0
Errors
100
Warnings
+0
Change

Category Scores

Security100
Repo100
Performance93
Maintainability89

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

100 findings

Maintainability

95

1 issue group

Performance

5

2 issue groups

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_c".95
Category
Maintainability
Occurrences
95
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_c".

WARNINGPerformancePost Not In post not inUsing 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.3
Category
Performance
Occurrences
3
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.

WARNINGPerformancePost Not In excludeUsing exclusionary parameters, like exclude, 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.2
Category
Performance
Occurrences
2
Severity
warning

Sample message

Using exclusionary parameters, like exclude, 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.

External Connections

Potential connections found in static code analysis.

5 domains

Outbound calls

10

External assets

0

Incoming endpoints

6

Notable Domains

condicart.com3 · outbound
docs.condicart.com1 · outbound

Platform / Reference Domains

wordpress.org4 · platform/reference
github.com1 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints6
wp_ajax_applyTo/searchOptionsauthenticated

wp_ajax

wp_ajax_catc_dismiss_memory_warningauthenticated

wp_ajax

wp_ajax_conditions/addConditionauthenticated

wp_ajax

wp_ajax_conditions/addConditionGroupauthenticated

wp_ajax

wp_ajax_conditions/changeConditionauthenticated

wp_ajax

wp_ajax_conditions/searchOptionsauthenticated

wp_ajax

Score History

First score snapshot

v1.2.1

97

Latest

Findings
100
Errors
0
Warnings
100
Check
2.0.0

Relationship Map

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

26 nodes

Related Plugins