Custom Add to Cart labels for WooCommerce

Easily customize "Add to Cart" button labels for every WooCommerce product type — on single product pages AND archive/shop pages. No coding required.

v1.5.4Saad IqbalUpdated Added 5k+ installs78% rating
79
Score
13
Errors
5
Warnings
+0
Change

Category Scores

Security66
Repo91
Performance100
Maintainability95

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

18 findings

Security

9

1 issue group

Maintainability

4

3 issue groups

I18n

3

2 issue groups

Repo Compliance

2

2 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'plugin_dir_url'.9
Category
Security
Occurrences
9
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'plugin_dir_url'.

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

Sample message

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

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $custom_text2
Category
I18n
Occurrences
2
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $custom_text

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wc-custom-add-to-cart-labels' but got 'wc-hide-shipping-methods'.1
Category
I18n
Occurrences
1
Severity
error

Sample message

Mismatched text domain. Expected 'wc-custom-add-to-cart-labels' but got 'wc-hide-shipping-methods'.

ERRORRepo Compliancelicense mismatchYour plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.

WARNINGRepo Compliancereadme parser warnings too many tagsOne or more tags were ignored. Please limit your plugin to 5 tags.1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

WARNINGMaintainabilitytrademarked termThe plugin slug includes a restricted term. Your plugin slug - "wc-custom-add-to-cart-labels" - contains the restricted term "wc" which cannot be used at all in your plugin slug.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin slug includes a restricted term. Your plugin slug - "wc-custom-add-to-cart-labels" - 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

v1.5.4

79

Latest

Findings
18
Errors
13
Warnings
5
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins