To create a Shopify function simply choose the function type you need and select the desired action to achieve your goal:
For the purpose of this tutorial example, we have selected the Discount function. Here, we will determine the criteria for providing discounts to our customers.
For further details on a specific function type, please consult the corresponding section in our help documentation.