---
title: "What is the Configuration Size card?"
description: "Shopify limits how much detail one discount can store. The Configuration Size card shows how close a OneCode discount is to that limit."
url: https://docs.onecodediscounts.com/en/articles/25-what-is-the-configuration-size-card
collection: "Discount settings"
updated: 2026-11-06
language: en
---

# What is the Configuration Size card?

Shopify limits how much detail one discount can store. The Configuration Size card shows how close a OneCode discount is to that limit.

**In short:** Shopify limits how much detail each discount can store. The **Configuration Size** card shows how much of that space this discount uses. Most discounts use a small fraction. If OneCode: Stackable Discounts warns you it's near the limit, remove some products or conditions, or split the offer into two discounts.

![The Configuration Size card showing Discount configuration at 731 B of 9.8 KB](https://staticfiles.us.gleap.ai/p6ae440349b260bc5e19963ea/409VrOX10Wz5NBuT6LN2WsFeR1vX0A5VlUggUMxS6Ag3wBmjbggKInPU3jzgjjvDCVjt86oMQSb.png "The Configuration Size card showing Discount configuration at 731 B of 9.8 KB")

## What the two bars mean

-   **Discount configuration:** your discount types, conditions and settings.
    
-   **Function variables:** the products, variants and collections you've selected.
    

Each bar has its own limit, shown as 9.8 KB. The fuller the bar, the closer you are.

## When it's nearly full

Once either bar is 90% full, the bar turns red and OneCode warns: "A function metafield is near the size limit. It may fail to run if more items are added." Treat it as a sign to slim the discount down before adding anything else, so the discount keeps working at checkout.

## What uses the most space

-   Choosing lots of individual products or variants.
    
-   Many discount types, each with many conditions.
    

## How to free up space

-   Target a **collection** instead of dozens of individual products. A collection takes the same space no matter how many products it has.
    
-   Remove conditions you don't need.
    
-   Split a very large offer into two discounts.
    

## Good to know

-   The bars update as you build, before you save.
    
-   Most stores never get close. A discount with a handful of collections and conditions uses well under a quarter of the space.

## Related

- [Discount code or automatic discount?](https://docs.onecodediscounts.com/en/articles/18-discount-code-or-automatic-discount.md)
- [Schedule a discount with start and end dates](https://docs.onecodediscounts.com/en/articles/19-schedule-a-discount-with-start-and-end-dates.md)
- [How OneCode discounts combine with your other discounts](https://docs.onecodediscounts.com/en/articles/20-how-onecode-discounts-combine-with-your-other-discounts.md)
- [Limit how many times a code can be used](https://docs.onecodediscounts.com/en/articles/21-limit-how-many-times-a-code-can-be-used.md)
- [Discounts on subscriptions and renewals](https://docs.onecodediscounts.com/en/articles/22-discounts-on-subscriptions-and-renewals.md)
