Hi,
I need to get a collection of products (filtered by store and a multiple groups) and list them by "Items sold", but considering variants
- I can create a smart search for this (although it does not repect the show active/inactive products settings from the control panel)
- I can select the common product properties (I am having troubles using OR condition for groups and the AND condition for the groups + shop + other rules)
- I cannot list based on variants
I need to achieve this, for example:
- Product A (variant X)
- Product B (variant X)
- Product A (variant Y)
- Product C
- Product A (variant Z)
What's the best approach?
Best Regards,
Nuno Aguiar