WordPress.org

Ready to get started?Download WordPress

Forums

Easy Digital Downloads
[resolved] How to change image size of cart-items? (6 posts)

  1. RoboTH
    Member
    Posted 1 year ago #

    Hi,
    first of all I want to thank the developer for the awesome plugin! It's really amazing.
    After setting it all up, I tried to change the size of the cart item image, which as default is to 25x25px and uses the [...]-150x150px.jpg file from the media (as I could find out with firebug).
    Unfortunatly I didn't figure out how to change the preview size to 150x150px.
    Plus, to save some lines of the cart-list size, I'd like to have the Digital Downloads' name next to the preview image instead of below.
    I'd be really thankful for you help!
    Best regards,
    Robin

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

  2. Glad to hear you like it!

    Are you comfortable editing template files? There is a template file that you can copy to your theme's folder and then modify as you wish.

    Let me know if that's something you can do and I'll give you a link to documentation.

  3. RoboTH
    Member
    Posted 1 year ago #

    I can at least give it a try :-) Did some editing of my theme as well so it might work.

  4. There is documentation on how to safely modify the cart template here: https://easydigitaldownloads.com/docs/customizing-the-checkout-cart-template/

    Once you have copied the template file over, as described in the doc linked above, you will want to change line 24

    apply_filters( 'edd_checkout_image_size', array( 25,25 ) )

    to use the image size that you want.

  5. RoboTH
    Member
    Posted 1 year ago #

    That was exactly what I was looking for! Thanks a lot! :)

  6. Great!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic