Update EDD downloads purchase button text

There are many people who use the EDD plugin to sell their digital products but sometimes they want to overwrite the purchase button text according to their product category or offers. Let’s see how these snippets are useful for updating the purchase button text of Easy Digital Downloads.

Note: Easy Digital Downloads Plugin must be configured in order to use these snippets.

Updating Downloads Button Label:

Sometimes it requires to change the label of downloads button in order to express different offers instead of the default label. The snippets provided below can help you out to change it as per your certain requirements.

Update purchase button label on download page

If you use EDD plugin then this snippet helps you to update the purchase button label on download page.

Copy to Clipboard

Update purchase button label on checkout page

If you use EDD plugin then this snippet helps you to update the purchase button label on checkout page.

Copy to Clipboard

Updating Free Downloads Button Label:

What if you add any download to the EDD with price 0? EDD basically adds “Free” title with the downloads. Therefore, you see “Free Download” as label of the purchase button on download and checkout pages. There’s not any option to update that label through any shortcode/widget. Let me help you on updating it by using simple code snippets.

Update purchase button label on download page

If you use EDD plugin then this snippet helps you to update the purchase button label on download page.

Copy to Clipboard

Update purchase button on checkout page

This snippet can be used to update the purchase button label on checkout page.

Copy to Clipboard

Conclusion

So, All you need to add this code snippet to your theme functions.php file to get the purchase button text updated on download and checkout pages. Enjoy!

Farooq Abdullah

Web Developer

Farooq Abdullah is a professional Web Developer having more than 6 years of working experience in different PHP platforms especially WordPress. He is bachelors in computer science and he has also developed many plugins, add-ons and code snippets to facilitate others.

Sign up to our Newsletter

(We do not share your data with anybody, and only use it for its intended purpose)