---
title: "Order Bonus Progress Bar"
---

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

# Order Bonus Progress Bar

The order bonus progress bar shows customers how close they are to reaching the next order bonus threshold.

> **Note:** This documentation is under construction.

## Theme-Based Carts

1. Ensure **"Order Bonuses"** is enabled in the **"Giveaway Gator Body Embed"** theme embed.
2. Add this snippet to your theme cart to render the progress bar:

```html
<div id="gg-order-bonuses-progress"></div>
```

## Using with Slide Cart by Amp

```html
<script>
    window.SLIDECART_LOADED = function(cart) {
      window.ggatorInitializeProgressBar();
    }

    window.SLIDECART_UPDATED = function(cart) {
      window.ggatorUpdateProgressBar(cart.items_subtotal_price);
    }
</script>
```

## Customizing the Progress Bar

The progress bar can be styled with CSS. Key classes include:
- `.gg-order-bonuses-container` — Main container
- `.gg-progress-bar-background` — Progress bar track
- `.gg-progress-bar-fill` — Progress bar fill
- `.gg-threshold-badge` — Individual threshold badges
- `.gg-threshold-badge.active` — Reached threshold badges
- `.gg-next-threshold-message` — "Spend $X more" message

Source: https://docs.giveawaygator.app/order-bonus-progress-bar/index.mdx
