WordPress.org

Ready to get started?Download WordPress

Forums

Easy Digital Downloads
[resolved] Replace Purchase Button With Custom Image (2 posts)

  1. WeddingAlbumCafe
    Member
    Posted 1 year ago #

    HI I am setting up a splash page so i need the buy now button to be as pronounced as possible. I tried adding an image by altering the css file and though i was able to adjust the height i could not set a proper width so the image was truncated.

    Also I could not figure out how to remove Purchase and Checkout text.

    Ultimately I would like to have my custom image add to the cart skip the checkout page and take them right to payment.

    I would like to implement the method you've outlined here

    http://easydigitaldownloads.com/docs/redirecting-to-checkout-when-adding-an-item-to-the-cart/

    but i wasn't sure which function file i should add the code to. I added to my theme's function.php but it had no effect. Should i add it to the plugin's function file and if so which one?

    Thanks for any help!

    http://wordpress.org/extend/plugins/easy-digital-downloads/

  2. For editing the styles, I'd suggest you go to Downloads > Settings Styles and disable all included styles first. It will be much easier to edit once you've done that.

    For that function, the best thing to do is add it to a custom plugin. use Pluginception to easily create a new plugin and paste the code snippet into it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.