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

Unique attribute options of last Item in list are missing in Filters #101

Closed
Doc2k opened this issue Feb 13, 2019 · 0 comments · Fixed by #109
Closed

Unique attribute options of last Item in list are missing in Filters #101

Doc2k opened this issue Feb 13, 2019 · 0 comments · Fixed by #109

Comments

@Doc2k
Copy link

Doc2k commented Feb 13, 2019

Hi,

I've a problem with the attribute-fiters at the lazyList.
Typo3 version is 8.7.24-
All my attributes are of type multiSelect and I only use attribute-filters. My LazyList has no limit so every product of the allowed category is shown.

It seems that the attribute values of the last Item in a lazyList do not appear in the Filter if it's the only Item with this attribute-value.

For Example:
We have 4 Items with 2 Attributes. (Size: s, m, l, / Color: white, blue, red)

Item 1
Size: s
Color: white

Item 2
Size: m
Color: blue

Item 3
Size: l
color:blue

Item 4
Size: l
color:red

The option 'red' of 'color' will be disabled (hidden) in the filter.
The ID of the value is not included in the ajax-response of type 201701 (availableOptionsList), so it doesn't seem to be a javascript problem

If we change the order of the products to 1,2,4,3 then everything is shown in the filter ('blue' and 'l' are in use by products that are not the last item in list, so they appear).
Thanks for checking
Constantin

@Doc2k Doc2k changed the title Attribute options of last Item in list is missing in Filters Unique attribute options of last Item in list are missing in Filters Feb 13, 2019
pixelmatseriks added a commit that referenced this issue Mar 27, 2019
…tions, resolves #101

prevents reference $product beeing overwritten in second foreach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant