When creating promotions in Magento, we commonly want to filter which items are included in the promotion based on certain product attributes. By default, Magento only lets us filter by Attribute Set and Category.


To add another Product Attribute, click the Stores tab in the Dashboard then click Product under the Attributes heading.

You should see a list of all available product attributes. A common filter for promotions is the SKU attribute so we'll be using that as an example here.

Quickly filter your attributes by entering the attribute code in the Attribute Code box.

Click SKU.Select Storefront Properties from the menu on the left and then scroll down to find the Use for Promo Rule Conditions dropdown and change it to Yes.

Now when we return to the Conditions dropdown when creating a new sale or promotion, we can see that SKU is now an available filter.