[Idea] Cart Rules conditions only for Default Categories #35839
HartLarsson
started this conversation in
Ideas
Replies: 1 comment
-
i think that by default the Categories must be considered the default only so is more easy to filter by categories like now. the mod must be applied probably to this part of classes CartRule.php:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The problem
If i have 2 categories:
And 2 products connected to the 2 categories in this way:
Prod-1: connected to Cat-1 (default)
Prod-2: connected to Cat-1, Cat-2 (default)
If I make a Cart Rule where i apply a discount only for products in Cat-1, i see the discount is applied also to Prod-2 even if its default category is Cat-2.
There is a way to include products only in Cat-1 if is the default category specified?
The solution
Add an option inside the Category filter like:
[ x ] Only Default Categories
Or implement the filter only for Default Categories of a product
Alternatives
No response
Additional context
No response
Do you plan to work on this subject?
Beta Was this translation helpful? Give feedback.
All reactions