Learn in this tutorial how to reposition card icons in Easy Digital Downloads (EDD) checkout using code.
Easy Digital Downloads allows you to add payment card icons to the checkout page.

This is something that is commonly used in ecommerce plugins to convey security to the customer at checkout.
By default, the icons are displayed above the section called “Personal information”.

But it might be more interesting to display them just before the credit card form, don’t you think?

Interested? Well, here’s how to change the position of the icons.
Snippet to change credit card icons position in Easy Digital Downloads
Add the following code at the end of functions.php or in your functionality plugin:
To see this and another 965 code snippets of this website, login or subscribe here.
It’s as simple as that.
Thanks to this snippet you place the card icons just before the fields where the customer must enter the credit card data:

Conclusions
Do you want to change the position of the card icons in the Easy Digital Downloads checkout? Now you know how to do it easily using code.
Any questions? I read you in the comments.
And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉