Price rules formula editor guide
Learn how to create pricing rules, use formula tokens, choose margin settings, apply rounding, and override prices for individual products.
- 1
Create a new price rule
Start by creating a price rule for the store setup you want to manage. A price rule is the pricing logic that Build the Drop uses to calculate selling prices for products in a space. Give the rule a clear name so you can recognize it later, such as "US General Rule" or "EU Test Rule".
- 2
Choose your margin type
Select whether your margin should be Percentage or Fixed. Percentage is useful when you want your markup to scale with product cost, while Fixed works better when you always want to add the same amount. For example, a 30% margin grows with the cost of the item, while a fixed 15 adds the same amount every time.
- 3
Build your formula with supported tokens
Write your formula using the available tokens: {{productCost}}, {{shippingCost}}, and {{margin}}. For example, {{productCost}} * 1.5 applies a manual markup. A formula like ({{productCost}} + {{shippingCost}}) * (1 + {{margin}}) works well when your margin type is Percentage. If delivery is available, shipping cost is estimated and can be included directly in the rule.
- 4
Understand how margin is applied
If you include {{margin}} in the formula, the rule uses your margin directly inside the calculation. If you do not include {{margin}}, Build the Drop applies the selected margin automatically after the formula result is calculated. This gives you flexibility to keep formulas simple or make them more explicit when needed.
- 5
Pick a rounding mode
Choose how final prices should be rounded. None keeps the raw calculated value. Up is useful for charm pricing such as ending in .99. Down reduces the final price to the lower rounded value, and Nearest rounds to the closest value based on the rule. Rounding helps you keep product prices cleaner and more consistent across your catalog.
- 6
Assign the rule to a space
After saving the rule, set it as the default price rule for the space where you want it to apply. Each space has its own store setup, currency, locale, country, and pricing logic, so assigning the right rule to the right space is important. This is especially useful when you run different brands or sell in different markets.
- 7
Use per-product overrides when needed
If a product needs special pricing, you can override the space rule at the product level. Use a custom price or a custom markup for products that need a unique strategy, such as hero products, bundles, or items with unusual shipping costs. Product-level pricing takes priority over the default rule assigned to the space.
FAQ