> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gameball.co/llms.txt
> Use this file to discover all available pages before exploring further.

# How Do I Give Different Point Earning Rules for Different Order Types?

> Create customized point-earning rules based on order attributes to reward customers differently depending on how and what they buy.

| Platform     | Plan       |
| ------------ | ---------- |
| Shopify      | Guru       |
| Salla        | Guru       |
| Non-Platform | Enterprise |

Gameball lets you create custom point-earning rules based on any order attribute. Rather than applying a single flat earning rate across all purchases, you can define specific conditions — such as order value, payment method, or product category — and assign different point rewards to each scenario.

***

## How to Set Up Custom Earning Rules

<Steps>
  <Step title="Navigate to Earn Points">
    Go to **Programs > Earn Points** in your Gameball dashboard.
  </Step>

  <Step title="Open the Custom Tab">
    Click on the **Custom** tab.
  </Step>

  <Step title="Add a New Rule">
    Click **Add Rule**, then define your conditions. You can filter by any order attribute, such as:

    * Order total price
    * Product collection or category
    * SKU
    * Payment method
    * Custom order metadata

    When **SKU** is selected as the condition field, an **Upload CSV** option appears alongside the text input. Upload a CSV file to populate multiple SKUs at once instead of typing them individually. SKUs are automatically added to the field after upload and remain editable.

    <Frame>
      <img src="https://mintcdn.com/gameball/MosQ5DTgb1rLLyMP/images/product-docs/programs/loyalty-points-earn/SKU%20file%20upload.png?fit=max&auto=format&n=MosQ5DTgb1rLLyMP&q=85&s=e9585754e0b300204aad08a9ebe59bee" alt="CSV upload option for SKU conditions in cashback rules" width="1310" height="234" data-path="images/product-docs/programs/loyalty-points-earn/SKU file upload.png" />
    </Frame>

    <Note>
      CSV uploads support up to 100 SKUs per file. Clear validation messages are shown for any file type, size, or format issues.
    </Note>
  </Step>

  <Step title="Choose a Point Assignment Method">
    Select how points are calculated for orders that match your conditions:

    <AccordionGroup>
      <Accordion title="Cashback Value (Percentage-Based)" icon="percent">
        Award a percentage of the order total as points. For example, give 5% cashback for orders from a specific collection.
      </Accordion>

      <Accordion title="Cashback Value Based on Unit" icon="coins">
        Award a fixed number of points per currency unit spent. For example, give 2 points for every 1 EGP spent on orders paid by credit card.
      </Accordion>

      <Accordion title="Fixed Cashback Value" icon="lock">
        Award a set number of points regardless of the order value. For example, give 10 points for any order above \$50.
      </Accordion>
    </AccordionGroup>
  </Step>

  <Step title="Save">
    Click **Save** to activate the rule. The rule will apply when all specified conditions are met.
  </Step>
</Steps>

***

## Combining Multiple Conditions

You can stack multiple conditions within a single rule. All conditions must be met for the rule to apply.

**Examples:**

* Reward 10 points for orders where `total_price` **greater than** `50`
* Give 5 points per $1 for `product_category` **equals** `Electronics`, versus 2 points per $1 for `product_category` **equals** `Accessories`
* Award bonus points for high-value purchases from the Summer Collection paid by credit card

***

## How Custom Rules Interact with Other Earn Rules

When multiple earning rules could apply to the same order, Gameball evaluates them based on rule priority. Custom rules take precedence over the default earn rule when their conditions are matched.

<Note>
  Custom cashback rules and collection-based cashback rules cannot be active simultaneously. Enabling custom cashback deactivates the Merchant feature on the system.
</Note>

***

## Related Articles

<CardGroup cols={2}>
  <Card title="Launch and Configure Your Earn Pointing System" icon="rocket" href="/product-documentation/programs/loyalty-points-earn/launch-and-configure-your-earn-pointing-system">
    Set up your base earn rule and pointing system configuration.
  </Card>

  <Card title="Collection-Based Earning Rules" icon="layer-group" href="/product-documentation/programs/loyalty-points-earn/collection-based-earning-rules">
    Customize earning rates by product collection.
  </Card>

  <Card title="Understanding Loyalty Points Calculations" icon="calculator" href="/product-documentation/programs/loyalty-points-earn/understanding-loyalty-points-calculations-and-rules">
    Learn how Gameball prioritizes and calculates points across different rules.
  </Card>
</CardGroup>
