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

Add scope to show only products which are not assemblies #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vinay-mittal
Copy link

A scope in the product with name without_parts is added. As currently when available products are searched, it shows all the products including those which are assemblies.
An assembly product should only be able to add only non-assembly products.

@jkelleyj
Copy link

@vinay-mittal @priyank-gupta this PR looks good to me. I think that's a sensible condition to put on parts. Am I correct that this edge case can only happen if someone marks a product that is an assembly as "can be part" in the admin?

@priyank-gupta
Copy link

@jkelleyj Yeah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants