Devdocs: Community contribution: Category attributes

Created on 5 Jan 2018  路  8Comments  路  Source: magento/devdocs

Feedback on page: /guides/v2.2/ui_comp_guide/howto/add_category_attribute.html

I would like to see an extended explanation of the parameters (key => value) for the function addAttribute (for example 'type' => 'int') and a list of all possible keys and their corresponding possible values.

I would also like to see an extended explanation of the xml tags inside the tag. What basic structure should always be applied and what inner tags should be added depending on the type of attribute is being added, and finally what values and attributes these tags should include.

As it is now, this guide only explains this particular attribute ('input' => 'boolean'), but gives very little information on how to extend to other types of attributes.

All 8 comments

Thanks for the feedback @ArvidBaa! We generally don't include that much reference detail in a tutorial topic, but we can certainly find a place for this information. We'll add this to a list of community contribution projects for 2018.

Help us improve the How to add a category attribute topic by providing details about how to extend attributes. Refer to our Contribution guidelines for more information.

Acceptance criteria:

  • Provide an extended explanation of the parameters (key => value) for the addAttribute function. For example, 'type' => 'int' and a list of all possible keys and their corresponding possible values.
  • Provide an extended explanation of the XML tags inside the tag. For example:

    • What basic structure should always be applied?

    • What inner tags should be added depending on the type of attribute being added?

    • What values and attributes should these tags include?

Is this one still open? Can I work on it?

@aman3103 If you're game to work on this, please do! Let us know if you have any questions and create a PR with your changes, referencing this issue. Thanks! 馃弳

Thanks, let me start work on this.

I wasn't previously aware of this issue. If there are any additional steps needed to make the attribute available for REST/SOAP/GraphQL, that would also be valuable information.

@aman3103 Are you still working on this?

Hello all - We haven't heard from you regarding this issue in two weeks or more. Due to inactivity, we are closing this issue. If you have further comments and feedback, please create a new issue. Thanks for taking the time to create a GitHub issue for docs improvement!

Was this page helpful?
0 / 5 - 0 ratings