• Resolved Ahaenor

    (@ahaenor)


    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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Pippin Williamson

    (@mordauk)

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

    Thread Starter Ahaenor

    (@ahaenor)

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

    Plugin Contributor Pippin Williamson

    (@mordauk)

    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/

    Thread Starter Ahaenor

    (@ahaenor)

    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?

    Plugin Contributor Pippin Williamson

    (@mordauk)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Feature request – filter for a row in the checkout table’ is closed to new replies.