WordPress.org

Ready to get started?Download WordPress

Forums

Easy Digital Downloads
[resolved] Feature request - filter for a row in the checkout table (6 posts)

  1. Ahaenor
    Member
    Posted 1 year ago #

    Good day!

    Is it possible to add some hook that will allow to completely control the layout of the checkout row? To change row output format, for ex.

    Right now the row data are rendered is some hardcoded way in EDD template script. There are some actions, but the table rows themselves can't be changed.

    My need is to render differently downloads of one custom group. Or, at least, to have a filter to change the price output in this rows.

    An actions for whole row + for each cells would be perfect)

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

  2. Are you referring to the cart items or the form elements?

  3. Ahaenor
    Member
    Posted 1 year ago #

    To a cart items. The payment forms seems extensible already.

  4. You can already do that. There is a template file that you can copy to your theme folder and then change however you wish: https://easydigitaldownloads.com/docs/customizing-the-checkout-cart-template/

  5. Ahaenor
    Member
    Posted 1 year ago #

    Thank you very much!

    I've looked into EDD theming system, but still has a question. If i create edd_templates subdirectory in my theme folder and put my custom templates there, and then user someday will just change the current theme to another, then wouldn't it require to create such subdirectory in newly setted theme too?

    If so, i may need to check the presence of edd_templates in theme's folder each time any page is loaded.

    Am i right?

  6. Glad to help!

    Yes, you would need to transfer the templates to the new theme.

    EDD will automatically fallback to the default template files if the edd_templates folder doesn't exist or the specific template file doesn't exist inside that folder.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.