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.
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.
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.
Update purchase button on checkout page
This snippet can be used to update the purchase button label on checkout page.
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!
Leave A Comment