Quantity Restriction

Enable “Customize plan/addon quantity based on meta configuration” in your Chargebee site.

  • Add this below json in the plan/addon metadata,
    • Setup quantity based increments, in this case, the interval is set as 10, and the min qty is 10 and max qty is 100
    { 
      "quantity_meta": {
        "type": "range",
        "min": 10,
        "max": 100,
        "step": 10 
      }
    } 
    
    • Show specific quantity to be displayed
    { 
      "quantity_meta": {
        "type": "fixed",
        "values": [5, 6, 7, 8, 9, 10]
      }
    }