awesomemotive / easy-digital-downloads

Sell digital downloads through WordPress
https://easydigitaldownloads.com
GNU General Public License v2.0
867 stars 471 forks source link

No action hooks available to add "Actions" to items in the cart #3080

Closed nikolov-tmw closed 9 years ago

nikolov-tmw commented 9 years ago

Right now the only elements available in the "Actions" column of the Cart table are the quantity input(if enabled) and the "Remove" link for removing the item from the cart.

It would be great if there's at least an action that allows themes/plugins to hook in and add extra actions there(for instance if you have some extra customizations, you can show controls to remove those). Ideally EDD would handle (to some extent) the rendering of those actions(think the row actions in posts tables - "Quick Edit", "Edit", "Trash", etc.), but this would be far more work and might be over-complicating it.

Given the current situation, my options are limited to:

Well, there are plenty of options(and I'm sure there are maybe one or two I've missed), but none of them seem very feasible to me.

Again the context for this is that I'm trying to attach Gravity Form submissions to specific cart items and I'd like to give users a way to edit those entries before checking out. For this particular issue, I might go with sort of duplicating things(having an interface that lists all items with form submissions and a way to edit that submission).

evertiro commented 9 years ago

I don't disagree with this... @pippinsplugins thoughts?

pippinsplugins commented 9 years ago

You're 100% right. Let's see if we can improve this for 2.4.

evertiro commented 9 years ago

@pippinsplugins @cklosowski Readded the $key var

pippinsplugins commented 9 years ago

Merged into release/2.4