You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment they both require the category to be a field on the product. There are use cases where they might be in a related products field on the Category.
At the moment they both require the category to be a field on the product. There are use cases where they might be in a related products field on the Category.
Current matches (https://github.com/craftcms/commerce/blob/develop/src/services/Discounts.php#L377) and (https://github.com/craftcms/commerce/blob/develop/src/services/Sales.php#L363).
We should also look to potentially combine these checks to reduce the code replication.
This will likely be a breaking change for some users as it might discount/apply sales to unexpected products.
The text was updated successfully, but these errors were encountered: