Category Filter not working properly. #5352
Replies: 11 comments 1 reply
-
Hi, @tayyab2020, I am not able to reproduce this. |
Beta Was this translation helpful? Give feedback.
-
https://drive.google.com/file/d/1ceISqd4KERzj-44u36Y3cwIhIfxs2umX/view?usp=sharing |
Beta Was this translation helpful? Give feedback.
-
I figured out why its not showing results. I have to edit each variant of product and has to select same color and category as of its parent product. Can you do it like this that when a configurable product is created than all of its attributes values (Color, Brand or any custom attribute) and category selected should be same for all its variants by default? |
Beta Was this translation helpful? Give feedback.
-
Why each variant of a configurable product has not exact same details as that of its parent product? |
Beta Was this translation helpful? Give feedback.
-
Each variant value can't be the same because it needs to fill up at the time of configurable product creations. Because variant's actual meaning is different combo whether it is color or size or different things. If you want to do it, you can customize this at your end. |
Beta Was this translation helpful? Give feedback.
-
If I create a size variant of a product and than later on I filter category of that product including the size filter and other attributes filters than I don't get that product in results until I edit that product variant and select same attributes as that of its parent product. Kindly let me know in which file I have to do changes so that a variant of the product should have same values as that of its parent product by default. For example if I create a product with variants than all its variants products should have same attributes values as that of its parent product. |
Beta Was this translation helpful? Give feedback.
-
Lets say I create a product with color attribute value 'White' (product is only in one color so its variants should also be in same color by default) and than I create its size variants, So I have to edit its each variant manually and select color white for it and save it so that it appears in filter page if I use size variant filter along with color filter. |
Beta Was this translation helpful? Give feedback.
-
You need to check here for all variant case, |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply, I actually need to store same information for all variants as of its parent product, where to do that? |
Beta Was this translation helpful? Give feedback.
-
Check here, looping of all variants done here, |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help, Kindly let me know do I just have to pass all attribute values (including custom) to "$data['variants']" so all variants of a product have the same attribute values as of its parent product. Or do I have to pass each attribute value manually one by one? |
Beta Was this translation helpful? Give feedback.
-
Description
Category filters are not fetching products if multiple filters are used. For example if I filter product based on only one attribute (Size or Color) than it works fine but when I filter products based on both attributes than it does not fetch any product. According to screenshot attached bellow, product 'XYZ' should have been filtered out in case of multiple attributes filtering.
Bagisto Version
1.3.3
Beta Was this translation helpful? Give feedback.
All reactions