Skip to main content

    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. 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. 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. 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. 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. 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. 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. 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

    Related FAQ

    How does automatic pricing work?
    You create a Price Rule in your space — for example, a 30% margin multiplier. When you import a product, Build the Drop applies the rule to the AliExpress cost price and sets the selling price in your Shopify store automatically.
    Can I set a custom price for a specific product instead of using the price rule?
    Yes. You can use a per-product override when you need a custom price for a specific item, even if your space already has a general price rule.
    How do price rule formulas work?
    Price rules use supported tokens like {{productCost}}, {{shippingCost}}, and {{margin}} to calculate your selling price. You can choose a Percentage or Fixed margin and apply rounding modes such as None, Up, Down, or Nearest.
    What is the Auto-assign price rule?
    Select a price rule in the toolbar and it will be applied automatically to every product you import during the current session — no need to assign it manually one by one.
    What is a price rule?
    A price rule is a formula that automatically calculates the selling price of a product based on its supplier cost. Instead of setting prices manually, you define a rule (e.g. cost × 2 + shipping) and it applies to all products using that rule.