Created
August 5, 2020 20:08
-
-
Save aatronco/0a7984a5ffe18a64c6079c3abbe4b162 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Instructions | |
Step 1: identify Payment Method IDs: | |
- Avalpay: 251942 | |
- Bancolombia: 251947 | |
- Contra entrega: 271580 | |
Step 2: Upload logos to the code editor | |
Step 3: Paste the code on the checkout. | |
->> | |
<script> | |
$(document).ready(function(){ | |
//Replace the IDs of the payment use #pixxxxxx if id is xxxxxx | |
$("#pi251942").append("<img style='max-height: 50px!important;' src='{{"avalpay.png" | asset | resize: "340x40"}}'>"); | |
$("#pi251947").append("<img style='max-height: 50px!important;' src='{{"bancolombia.png" | asset}}'>"); | |
$("#pi271580").append("<img style='max-height: 50px!important;' src='{{"servientrega.png" | asset}}'>"); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment