-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Admin][Products] Enable creation and editing of option type and management of related option values #6125
Comments
@rainerdema @tvdeyen @kennyadsl hey guys, can i get a confirmation that this one has to go in the modal as well as other similar pages? Should it still be a modal and just scroll the content as needed? |
I think you can refer to the figma file for this section here. The product edit page is a big one, we need to start sooner or later so feel free to continue with this if you feel ready. I guess the strategy here is to move some components that are on separate pages on the legacy admin into the product form, and remove the tab. How does that sound? |
@kennyadsl As I understand current design shows the flow for a new option type creation, but it's not clear how one can associate an already existing option type with a product. We could for example show a dropdown with all existing options from which user can choose multiple appropriate options; if none are relevant there can be a button "Create new option" which would bring up the form shown on the design, where user can create a new option and link it to the product. But then there is also the need to incorporate edit/delete functionality, and to be fair I can't think of a user-friendly way to do that in one section right now. So there are two possible options here:
What do you think? |
we can keep separate page/tab in the menu to CRUD option_types and keep the "Option Types" section on the product form responsible for CRUD of product_option_types only (with a link to direct a user to create new option types if they need to) - this would be less complex, therefore less bugs 🙂
I like this idea. This is similar to what github does with labels.

|
We could move the Option Types CRUD to the Settings section if we want to declutter the Product menu. Like return and adjustment reasons this is more a configuration than product data. But we also can keep in the product menu. |
I think removing tabs for the sakè of removing tabs is inpractical I would Actually consider having frequently touched stuff
On the First Page and tab out stuff Nobody used twice like Images and data entry (names, descriptions,...) tabbed away. 99% of the times i come for stock and prices. |
Description
Implement the functionality to add/edit option types.
We already have an option types index page:
We're missing a create/edit page that utilizes the new UI components, which could replace this part:

Features
The text was updated successfully, but these errors were encountered: