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

VisibleIndividually option ignored #5553

Closed
steph-ultima opened this issue Mar 19, 2021 · 3 comments
Closed

VisibleIndividually option ignored #5553

steph-ultima opened this issue Mar 19, 2021 · 3 comments
Assignees
Labels

Comments

@steph-ultima
Copy link

nopCommerce version: 4.40

Steps to reproduce the problem:

  • Set a product in the catalog so 'Visible individually' option is not selected.
  • Start the store where this product is available
  • In the search box or in the item by category list, the product appears when it should not

Fix:

  • In Nop.Services\Catalog\ProductServices.cs,
  • In public virtual async Task<IPagedList> SearchProductsAsync
  • Check the value (after line 815) with the below code
    if (visibleIndividuallyOnly) productsQuery = productsQuery.Where(p => p.VisibleIndividually);
@LindenSims
Copy link

I consider this a breaking bug in 4.4. Thanks for the fix.

@brakim
Copy link

brakim commented May 20, 2021

I agree that this is a breaking bug. It totally changes the behavior of the catalog view when you are using grouped products and both the parent and the child have the same category assigned.

@AndreiMaz AndreiMaz assigned skoshelev and exileDev and unassigned skoshelev May 20, 2021
exileDev added a commit that referenced this issue May 21, 2021
@exileDev
Copy link
Contributor

Closed #5553

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

No branches or pull requests

6 participants