In Sales Layer it’s possible to perform bulk actions on several products at the same time. However, unless you want to apply the action to all of your products, you should first select the products you want to modify. Everything that we learnt before in the previous sections on the search bar and tags can be used to do this. We can filter our content by applying tags, performing searches or even just selecting items individually using the green tick boxes.
We could for example search for those products which contain “Red” in their colour field. From here, we can limit the selection of items to perform the bulk action or by ticking just those desired items.
Once this is done, we go to Actions and click on Modify in bulk
From here we are able to make two different types of modification:
- Value: to directly change the value of any field belonging to the selected products.
- Formula: Modify the value of a field using a formula.
Formulas are useful for performing more complex operations and are commonly used when working with connectors, in the connectors section we will look at some of the more common ways of using them. To give an example, below you can see how we can use a formula to increase the value of three specific product’s price field by 10%.
As you can see, the bulk action we performed was only done to three products because we first used the search bar to filter our products. If we had performed the same action without previously doing so then the action would have been performed on all of our products.