Edit a Product Category for the Staff View Order Process
Administrators can update a product category to customize its name and what merchandise it displays in the Staff View order process.
- From Setup, enter
Custom Metadata Types
in theQuick Find
box, then select Custom Metadata Types. - Click Manage Records next to the Product Category custom metadata type.
- Click Edit next to the Product Category you'd like to customize.
Make desired changes.
You can either use a query or an Apex class to control what is shown in this product category. When using one method, be sure to leave the field for the other empty. Example:
Query
:ExampleQuery
,Class Name
: (empty
).Also, when using a query, the
WHERE
clause on the query record must includeName LIKE '%:searchQuery%
andEntity
. Example:
.Name LIKE '%:searchQuery% AND Entity__c = :entityId
- Click Save.