--- title: "Building a Condition to Search SKUs" slug: "building-a-condition-to-search-skus" updated: 2025-08-25T17:32:50Z published: 2025-08-25T17:32:50Z canonical: "pccdocs.bluemeteor.com/building-a-condition-to-search-skus" --- > ## Documentation Index > Fetch the complete documentation index at: https://pccdocs.bluemeteor.com/llms.txt > Use this file to discover all available pages before exploring further. # Building a Condition to Search SKUs There are 2 options available to build a condition: - **Select a category** – This includes using any or all of the categories available. Details about the various categories and the options available are explained [here](https://bluemeteor.document360.io/docs/using-condition-categories). - **Select a saved condition** – This includes using the saved conditions. Details on how to save a condition and the various actions that can be performed on them is explained in section [Saved Conditions](https://bluemeteor.document360.io/docs/saved-conditions). You can build conditions using the categories only or you can use saved conditions along with the categories to build complex conditions to search the required SKU data. Let us understand how to build conditions using both the scenarios. **Case 1: Using categories to build a condition** For example, we have a catalog consisting of accessories such as sunglasses, watches and so on. Let us search for SKUs which have an attribute *Frame Material* with value as *Plastic* and have digital assets linked to it as these SKUs need to be edited. **To build a condition to search SKUs**: 1. In the *Advance SKU Search* page, click the **Build a Condition** tab and select the catalog in which the SKU exists as shown below. ![Graphical user interface, application Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-fw026ajl.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=A9kT99yCPPDcpD3Irrw2%2FPB8rG6B8Gj8K0VSXDF%2B3BM%3D) 1. Click **Add > Condition Category** and the list of categories available is displayed as shown below. **![Graphical user interface, text, application, chat or text message Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-oyqlkgyx.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=k05Kp7%2FNziXsp1Dgpz1pGWNu8bM3NrlihFvTitUl%2Fb0%3D)** Since, we need to build a condition using attributes and assets, it needs to be selected. 1. Click **Attribute** and the following screen appears. ![Graphical user interface, text, application, email Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-vdjltwv6.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=mM4mm5uCHRDlld%2FWvLML7fLBfkmJsd8v3JYXLUmcsZU%3D) 1. Type **Frame Material** in the **Search by Attribute Name** field and a list of attributes matching the keyword is displayed. ![Graphical user interface, application Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-nfpgo96a.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=VSbMWRfN7G8lbqNmPfj417gSLNYI2iUCY%2FrndWZmCks%3D) 1. Click the **Add Attribute Condition Element** ![](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-38v5uqbr.png?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=mp0QmxAW9N9Nrko99%2BtBPb9agJe%2BPnU0MD%2FsruiLVSE%3D)icon to enter the value for **Frame Material** selected. 2. Select condition as **Attribute Value**, operator as **Equals** and type the value as **Plastic** as shown below. ![Graphical user interface, application Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-tpwdmldx.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=JISpSfMTEtkURp%2FAHQQ8iyzTy1Hd2kKMVt9ook6jIDs%3D) | **NOTE** | The operator **AND** is selected by default within the same category. Also, the same options can also be added multiple times depending on the condition being built. For example, if we wanted to search for SKUs which have an attribute *Frame Material* with value as *Plastic* and *Rubber*, the same option could be added again with value as *Rubber*. | | --- | --- | Now, we need to select the digital asset category. Here, we have the option of choosing the operator as **AND / OR** depending on the condition being built. Since, we need assets which are linked to SKUs as well, we will keep it as **AND**. If **OR** is needed, move the toggle to **OR**. ![Graphical user interface, text, application Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-9qc075fx.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=BhyPlIGS7ooBbbzM%2BTLp8iV5o7LcayMp%2FklrsGRfqm0%3D) 1. Click **Add > Condition Category > Digital Asset** as shown below. ![Graphical user interface, text, application Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-f7rymzk5.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=Njjm1DQQaHjCd821R8cJyGXeMgWFOZ77ZgqfSJwJkSQ%3D) The following is displayed. ![Graphical user interface, application Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-jnv2cly2.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=UIqTVd6i4g7PtQlqpsaMjvanSx8Jl%2Fb0PfMP9U58lBw%3D) 1. Select condition as **Digital Asset Linkage** and operator as **Exists** since we want SKUs which have assets linked to it as shown below. ![Graphical user interface, application Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-1d4e51e6.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=PxaG0Z%2B05ekvukzustBs9TAb6zHPmQ%2BrV%2FHccsjZ4TA%3D) 1. You can directly search for the SKUs or save the condition and then search the SKUs. The following 4 options are available: - **Save Only** – This will save the entire condition. You need to enter the relevant details to save it as explained in section [Saved Conditions](https://bluemeteor.document360.io/docs/saved-conditions). - **Save & Search** – This will save the condition after you enter the relevant details as well as display the result based on the condition built. - **Search Only** – This will display the result based on the condition applied and filter the SKU data. - **Reset** - This will reset the entire page by removing all the added conditions. | **NOTE** | You can also save one section of a condition and give a name and description for that specific condition. However, this is optional. For example, in this case, you can save the attribute part of the condition to be reused in any other condition or to execute it when needed. ![Graphical user interface, application Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-rdzkj9nn.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=TZSxFayCcg4qi6X1%2FnQ5qYjCyZXlfM8ie%2BkYladm%2FbE%3D) Click **Save Condition** next to the category of the condition to be saved. | | --- | --- | 1. Here, let us search for the results. Click **Search Only** and the results are displayed based on the conditions applied. ![Graphical user interface, application Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-lohvv6oy.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=wcI3CVL2x3m%2FX%2BnpHnP%2FM%2FcY12YKQCLb8mankIoMCNs%3D) Details about the various actions that can be performed on the SKUs displayed are explained [here](/docs/building-a-condition-to-search-skus#_Viewing_the_Search). **Case 2: Using categories and saved conditions to build a condition** For example, we have a catalog consisting of accessories such as sunglasses, watches and so on. Let us search for SKUs having SKU Id which does not start with 100 series and has an attribute *Brand* with value as *Rayban*. **To build a condition to search SKUs**: 1. Follow steps 1 & 2 as explained in **Case 1** above. 2. Click **SKU** and select the category as **SKU Item Id**, operator as **Does Not Start With** and type the value as **100** as shown below. ![Graphical user interface, application Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-4aqu8muk.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=vkupXcdoOTwGAlOkgHQu64%2Fll1QXIc4tedkSlAoRC5s%3D) A condition with attribute *Brand* having value as *Rayban* is already created and saved. In this case, we can directly use this saved condition. Details on how to save a condition is explained [here](https://bluemeteor.document360.io/docs/saved-conditions). 1. Click **Add > Saved Condition** as shown below. ![Graphical user interface, text, application, email Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-gqwi07nv.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=mjozeyoeZCfA66YaWXmUGnYD19bvDDDz1KVNM7VOoUM%3D) A dialog box with a list of saved conditions is displayed. ![Graphical user interface, application, table Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-d6ptlxlh.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=5Np2W3N47xPyWidqJJk%2F9H0GoPbV5o6%2F9ZacI%2FeM97o%3D) 1. Select the condition to be added. Click **Preview** to view the details of the condition created. ![Graphical user interface, application Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-7ssykb9p.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=BPdI%2FaggSahxdQ3kN%2FPID%2BRV9ngJM9WKvBEGX5evGG4%3D) 1. Click **Add Saved Condition** and it is added to the condition being built as shown below. ![Graphical user interface, text, application, email Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-vtsjuj2u.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=kAfdb7%2FYTvoWQmRllE38x2lxmoSa6G4ELoQzsGZYLmQ%3D) As shown, *Attribute Brand* is the name of the saved condition and it is highlighted in a separate color. You can click the **Preview Condition** ![](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-fyi6c5wb.png?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=CZAgy4%2BUJeAxmmmnqO30VNlgjVZg9mopsopL6XYUMF8%3D) icon next to it to view the details here as well. | **NOTE** | You cannot edit the section containing the saved query. You can only preview or remove the condition. | | --- | --- | 1. Click **Search Only** and the results are displayed based on the conditions applied. ![Graphical user interface, application Description automatically generated](https://cdn.document360.io/a899ba09-fd60-4d47-8b32-aabf7b60a39a/Images/Documentation/building-a-condition-to-search-skus-image-mddqxp99.jpg?sv=2026-02-06&spr=https&st=2026-12-03T16%3A03%3A08Z&se=2026-12-03T17%3A03%3A08Z&sr=b&sp=r&sig=UPKK1idFxLeKDSBp2jhCJm4gUTPnq9%2BUdnvh%2B%2FA1IsA%3D) You can also save the condition, if required.