Limits on tracked items.

spenn's Avatar


20 Mar, 2012 11:52 AM

Is it possible to set a minimum/maximum/default on tracked items?

We want to be able to charge per item, but a user needs to have a minimum number of items, plus cannot go over a maximum.

Though there is a way to set a hard limit (by setting the price to zero), this doesn't allow us to charge depending on usage.

We can implement some of this in our UI, but were hoping to be able to use CG as the one source of information about billing plans. If we store the limits ourselves, then this gives a slightly messy solution of having having the information on a plan in one place, and the other half in a different place.


  1. 1 Posted by adam on 20 Mar, 2012 07:40 PM

    adam's Avatar

    Hi Sam,

    Yeah that is a bit tricky but you can do it using both a hard-limit and soft-limit tracked item.

    Use the soft limit to charge for the usage:

    And use a hard limit to determine when they hit the limit:


  2. 2 Posted by spenn on 21 Mar, 2012 08:41 AM

    spenn's Avatar

    Are you suggesting using two items to track this? Because the way I read it, a single item can't have both a hard and a soft limit at the same time, since the overage amount is used as a flag to switch between the two options.


  3. 3 Posted by adam on 21 Mar, 2012 12:06 PM

    adam's Avatar

    Yes that's correct, two items would be needed. Sorry for the confusion.

  4. Dean closed this discussion on 22 Jan, 2013 03:58 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM