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

Allow Variant selection for Products without Options #510

Merged
merged 1 commit into from
Nov 2, 2013

Conversation

Richtermeister
Copy link
Contributor

Currently Sylius assumes that a product only has variants if it has options, even though what really matters is whether there are variants. In my app I am creating variants directly without options (works great, except for the areas in this PR). This PR checks for the presence of variants instead of options.

Currently a bunch of code assumes that a product only has variants if it has options,
even though what really matters is whether there are variants.
This PR checks for the presence of variants instead of options.
pjedrzejewski pushed a commit that referenced this pull request Nov 2, 2013
Allow Variant selection for Products without Options
@pjedrzejewski pjedrzejewski merged commit 09f7b8e into Sylius:master Nov 2, 2013
@pjedrzejewski
Copy link
Member

Thanks Daniel! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants