Skip to content
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

[Documentation] Concepts: Attributes #5608

Merged
merged 1 commit into from
Jul 27, 2016

Conversation

CoderMaggie
Copy link
Member

Q A
Doc fix? yes
New docs? yes
BC breaks? no
Related tickets partially #5275
License MIT


.. code-block:: php

// To assign Attributes to Products firstly you will need a factory for ProductAttributes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better to split this gargantuan blob of code into smaller ones and move descriptions (like the one above) before the code-blocks?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, also the example is a bit wrong, as we add same attribute twice to a single product, which is not supported yet. Let's add a single attribute for now!

@pjedrzejewski pjedrzejewski added the Documentation Documentation related issues and PRs - requests, fixes, proposals. label Jul 27, 2016
@pjedrzejewski pjedrzejewski merged commit 85a0d2a into Sylius:master Jul 27, 2016
@pjedrzejewski
Copy link
Member

Thanks Magda!

@CoderMaggie CoderMaggie deleted the docs/attributes branch October 4, 2016 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Documentation related issues and PRs - requests, fixes, proposals.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants