You can create automatic Discount Available and discount codes to offer to your customers. You might want to use discounts as a way to promote sales, special offers, or as customer loyalty rewards. Discount codes are codes you can create and share individually, and automatic discounts are applied automatically at checkout and on cart. There are different discount classes and types of discounts that you can create. Discount classes are like the categories of discounts. Discount classes that you can create are order discounts, product discounts, and shipping discounts. Discount types are more specific, like buy X get Y, free shipping discounts, and amount off discounts.You can offer your customers an amount off discount or shipping discount on products, collections, or variants in your store. If you sell online, then you can offer buy X get Y discounts to encourage customers to buy items.

When you create a new discount code, it appears on the Discounts page in your Shopify admin. To distribute this discount code, you can send the code to your customers by email, or display it on your online store. Your customers need to enter the code during checkout to receive the discount.
When you create a discount code, you can specify the following:
the dates for which the code is valid
the number of times that a code can be used
a minimum order amount before the code can be used
which products, collections, or variants the discount can be applied to Your customers can redeem discount codes in your online store. Except for buy X get Y discounts, your customers can also redeem discount codes in person if you're using Shopify POS.

All Shopify plans include discount codes. After your discount codes are set up, you can use the Sales by discount report to find out how often your discount codes are being used.You can offer your customers discounts that apply automatically at checkout and on cart. You can create amount off, or buy X get Y automatic discounts. For an automatic discount to apply correctly, your customers need to add all eligible items to their carts before they move to checkout. This includes the items that they need to buy to qualify for the discount as well as the items that they get as part of the promotion. You can have only one active automatic discount at any given time. Automatic discounts take precedence over discount codes, and customers can't apply multiple discounts to a single order. Discount codes are unavailable for customers who have an automatic discount applied to their checkout.