Customize WooCommerce Button Text

Are you tired of "Add to Cart" or "Buy Now" buttons? So boring, right?! With this plugin you have full control over what your WooCommerce buttons display.

Boring old Add to Cart buttons. Zzzz...
Boring old Add to Cart buttons. Zzzz...

Add custom button text on WooCommerce Category pages, Single product pages, in product shortcodes and for all types of products such as Simple products, External/Affiliate products, Variable products and Grouped products. Customize based on sale status. Super easy to use and very powerful.

Features

Supports All Product Types & Pages

This plugin allows you to edit the button text for the following 4 WooCommerce Product types:

  1. Simple

  2. External/Affiliate

  3. Variable

  4. Grouped

It also allows you to modify the button text for the following display types:

  1. Loop - Loop pages are where multiple WooCommerce products are displayed in a list. This includes the shop frontpage, category pages, and where [products] shortcodes are used.

  2. Single - These are your single product pages.

See below for some examples of how you can use the Customize WooCommerce Button Text plugin.

Display Custom Text

The most basic usage of the plugin is to provide custom text for your WooCommerce buttons. You can differentiate your custom text by sale status.

settings Change text for products in the Loop based on their sale status. result Change text for products in the Loop based on their sale status.

Change text for products in the Loop based on their sale status.

Display Price

Now you can add the product's price (either regular or sale price depending on if the product is on sale) in the button text. This provides ways to simplify the amount of content you display on the page.

settings Inject the product's lowest price into the button's text. result Inject the product's lowest price into the button's text.

Inject the product's lowest price into the button's text.

Buy - {{ price }}
Buy Now - {{ price }}

Display Discount Amount

Display the amount the user will save when they buy your products. This is a great way to convert shoppers into buyers.

settings Inject the dollar amount the user will save for your products which are on sale. result Inject the dollar amount the user will save for your products which are on sale.

Inject the dollar amount the user will save for your products which are on sale.

Buy & Save {{ discount_amount }}!

Display Discount Percent

Just like the Discount Amount, you can also inject the Discount Percent into the button text for products which are on sale.

settings Display the percent of savings for products which are on sale in the button text. result Display the percent of savings for products which are on sale in the button text.

Display the percent of savings for products which are on sale in the button text.

Buy & Get {{ discount_percent }}% Off!

Display Star Rating

Display the star ratings for your products which have been rated right into your button text! Far out! If there are no stars, nothing will be displayed.

settings Add rating stars to your button text if the product has been rated. result Add rating stars to your button text if the product has been rated.

Add rating stars to your button text if the product has been rated.

BUY {{ stars prefix="- " }}

Display Star Ratings with Default Text

Not all products will be rated so you can always add some default text when your products haven't yet been rated.

settings Display default text if a product is not yet rated. result Display default text if a product is not yet rated.

Display default text if a product is not yet rated.

BUY {{ stars prefix="- " default="- Unrated" }}

Display Ratings & Rating Count

This is a fun one that demonstrates using multiple placeholders and multiple placeholder attributes.

settings Show number of ratings and star rating for products which have been reviewed. result Show number of ratings and star rating for products which have been reviewed.

Show number of ratings and star rating for products which have been reviewed.

BUY {{ product.get_rating_count default="" prefix="- " suffix=" Ratings" }} {{ rating default="" prefix="(" precision="2" trim="0" suffix="/5 ★)" }}

Display Product Name

Inject the current product's name right into the button text.

settings Display the product's name in the button text. result Display the product's name in the button text.

Display the product's name in the button text.

Buy {{ product.get_name }}
Buy {{ product.get_name }} Now!

Display Emojis

Give your buttons a little life! Add some fun emojis! 😀

settings Add emojis to your WooCommerce buttons to liven things up! result Add emojis to your WooCommerce buttons to liven things up!

Add emojis to your WooCommerce buttons to liven things up!

🛒 Add to Cart
Buy & Save {{ discount_amount }} 😀 🎉

Display Category Name

Display one category name associated with the current product.

settings Add the category name to the button text and limit to one category name. result Add the category name to the button text and limit to one category name.

Add the category name to the button text and limit to one category name.

Add {{ category limit="1" }} to Cart

Display Attribute Values

Display a custom attribute value or a taxonomy based attribute value in your button's text. This can be really useful when displaying external/affiliate products.

settings Display custom or taxonomy based attribute values in your button text. result Display custom or taxonomy based attribute values in your button text.

Display custom or taxonomy based attribute values in your button text.

Buy Now {{ attribute.shipping prefix="- " }}
Buy Now {{ attribute.brand prefix="@ " }}

Supports All Currencies

The plugin supports all the same currencies that WooCommerce supports.

settings Display prices and discount amounts in your selected currency. result Display prices and discount amounts in your selected currency.

Display prices and discount amounts in your selected currency.

Buy - {{ price }}
Buy - {{ price }} (Save {{ discount_amount }})

Settings Page

Here's a screenshot of the settings page. There are settings for Loop pages (shop frontpage, category pages and products shortcodes) as well as Single Product pages. WooCommerce button texts can be changed for Single, External/Affiliate, Grouped and Variable WooCommerce products. Additionally, you can add custom button text for products which are on sale.

Settings Page for the Customize WooCommerce Button Text plugin.
Settings Page for the Customize WooCommerce Button Text plugin.

Placeholders

The following placeholders are available for you to use on your Loop and Single product pages for either Simple, External/Affiliate, Grouped and Variable product types.

Price

{{ price }} 

Discount Amount

{{ discount_amount }}

Discount Percent

{{ discount_percent }}

Rating - Stars: Displays rating formatted as stars

{{ stars }}

Rating - Value: Display rating value between 1 ~ 5.

{{ rating }}

Rating - Value: Display rating with 2 decimal places.

{{ rating precision="2" }}

Rating - Value: Display rating with trailing zeros.

{{ rating precision="2" trim="0" }}

Rating - Count: Total number of ratings.

{{ product.get_rating_count }}

Product Name

{{ product.get_name }}

Category Names (comma separated)

{{ category }}

Category Name (only one)

{{ category limit="1" }}

Attribute Value: Brand Name (if exists)

{{ attribute.brand }}

Callback Function

{{ callback.some_php_function }}

Attributes

The following attributes can be used with your placeholders.

Default

Text to display if the placeholder value returns an empty or 0 value.

{{ stars default="Unrated" }}

Prefix

Text to display before the placeholder value if the placeholder value is not empty or 0.

Buy Now {{ attribute.retailer prefix="@ " }}

Suffix

Text to display after the placeholder value if the placeholder value is not empty or 0.

{{ product.get_rating_count suffix=" ratings" }}

Limit

Limits the number of results returned. Only applies to {{ category }} and {{ attribute.field }} placeholders.

{{ category limit="1" }}

Precision

Sets the number of places to display after the decimal for {{ rating }} placeholders.

{{ rating precision="2" }}

Trim

Disables the trimming of trailing zeros on the {{ rating }} placeholder.

{{ rating trim="0" }}

Requirements

  • WordPress 5.7+

  • WooCommerce 5.1+

  • PHP 7.4+

FAQs

How many sites can I install this plugin on?

Unlimited.

How long will I receive updates?

Lifetime of plugin.

Is there a refund policy?

If the plugin doesn't work for you please let us know within 14 days to receive a full refund.

Installation Instructions

After you purchase the plugin you will receive a download link. Download the plugin to your computer.

  1. Go here WordPress Admin Area > Plugins > Add New

  2. Click the [Upload Plugin] button

  3. Upload the plugin to your site

  4. Activate the plugin

  5. Configure here WordPress Admin Area > WooCommerce > Settings > Products > Button Text

Upgrade Instructions

  1. Go here WordPress Admin Area > Plugins > Add New

  2. Click the [Upload Plugin] button

  3. Upload the plugin to your site

  4. Click the [Replace current with uploaded] button