How Discount Work#

Discounts is a base object that you may be familiar with in Square. We've taken a step further and extended its functionally, by allowing your discount to be more precise and targeted. You're also able to manipulate the Craspa discount, to control a customer's order flow.

The Craspa Discount consists of Square ID which is the ID of a discount made in your Square and is required. The discount rule type, to determine if the discount should be applied to an item or the cart. The amount discounted, either a percentage or dollar amount in cents. How tax should be applied and the name of the discount. You have the option to require a cart minimum for a discount. These fields operate the same way they do in Square, however with the addition of cart minimum and discount rule being exclusive to the Craspa Platform.

The discount object has its own base data to determine what the discount is, however the way to use a discount, is to either attach to a special or create a reward. The reason why you create an additional object is that the discount can be reusable and allows shared data across its child objects. A reward is a discount applied to a set of customers, exclusive to the applied customers and single-use, and a special is a banner ad attached to a menu, available to everyone and multi-use. Reference how rewards work for details on rewards.

Whenever you create a new discount in Craspa, it will also create one in Square.

Control Order Flow#

You can control the order flow of your customer for discounts with the discount rule type of item and item cart. The discount object comes with the required items and discounted items feature. For example, say you want to buy 2 apples and get the 3rd free. First, you create a discount for 100% off, then. you create 2 required items for the apples and 1 discounted item for the apples. The 2 required items will be priced at full price and the 1 discounted will have the discount applied. The way the order flow is controlled is that your customer will be directed to add the 2 apples and then the last apple in one workflow. if the workflow is cancelled, all items added during the process will be removed. This allows you to control the order flow of customers. You can also extend this functionally to not use discounted items and no discount will be applied. For example, you have a special "Try our new burger and fries", you'll create a discount with any discount and create 2 two required items for the burger and fries and the discount will be ignored since there are no discounted items provided. Also the same if you just want a discounted item with no previous full priced items, just create only discounted items and all items will be discounted. The required items and discounted items are not both required concurrently however, either is required for discounts with the discount rule type of item and item cart.

A required/discounted item can either an item or a category, providing the most flexibility for the discount.

Discount features#

You can customize a discount, by limiting the menus allowed to use the discount. This provides you with an extra level of security so that your customers don't use a discount for a menu that is not currently active. You also can provide a description of the discount, so that your customer knows what the discount is outside of the name of the discount. We've provided a feature that allows you to generate an automatic description based on the discount details and its items.

Discount Rule Type: Item: The discount will only be able to the discounted items, cart minimum will be ignored item cart: The discount will only be able to the discounted items, but a cart minimum is required and has to be satisfied to complete checkout cart: apply the discount to the whole cart and optional required a cart minimum