When you have to create many products, you need often to change many of them. But after editing and saving a product you need always to click the "back" button or in the breadcrumb the "products" link. This annoying.
Therefore it would be nice if we can add an additional button "Save and continue". The normal save button leads to return to the product overview.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | editing.png | 52.26 KB | hunziker |
| #6 | list.png | 55.76 KB | hunziker |
| #4 | product_buttons.png | 4.92 KB | hunziker |
| #2 | AddContinueEditButton-1128734-2.patch | 2.57 KB | hunziker |
Comments
Comment #1
rszrama commentedAnother option would be for the edit link from the product View to have a ?destination=admin/commerce/products query string. I've thought about doing that, but because those links are generated by the local actions system in the menu I wasn't sure how to go about it easily.
Comment #2
hunziker commentedI create a patch that implements a combination of both approaches. I add a "destination" parameter to all operations links.
Then I add a button to the editing form of the product. If the user click this button, the destination is reset. So the customer is not redirect back to the product listing.
Comment #3
Bojhan commentedUX improvements require screenshots to be reviewed.
Comment #4
hunziker commentedHere is a screenshot of the buttons. The rest is hard to demonstrated as screenshot.
Comment #5
Bojhan commentedI think its good to just show the "flow" you changed with more full-sized screenshots. The buttons themselves are hard to review, other than why do we handle this usecase? We dont do that for content editing? I am a bit confused which button one would choose to go back to overview.
Comment #6
hunziker commentedHere are more screenshots.
Comment #7
rszrama commentedYeah, I may just be down with using the destination link without requiring the "continue edit" button, as once you've made changes, there really isn't any reason to stay on this form.
Comment #8
hunziker commentedok. Then add only the changes in commerce_product_ui.module.
Comment #9
rszrama commentedAlrighty, I started with that but ultimately moved the destination setting into the Views field handler for product operations links. I'm not sure where else product contextual links might be used and didn't want to accidentally add destinations to all of them. I updated the default View to have the option set by default.
Commit: http://drupalcode.org/project/commerce.git/commitdiff/4e4f654