Skip to content

Conversation

harrisonratcliffe
Copy link
Contributor

@harrisonratcliffe harrisonratcliffe commented Nov 18, 2024

This package is amazing but I had to modify to allow some of the following for my application:

  • ability to store prices and currency so that can easily be displayed to users on the app (optional)
  • ability to have unlimited consumables (courtesy of Allow unlimited usage #95)
  • make consumables by default set to false on features
  • add display_name to the plans and features table to return a clean plan name to end-users
  • formatted code with pint (optional)

Updated the 'consumable' boolean column to have a default value of false.
add the ability for unlimited usage on consumables which can be achieved with -1
this is useful if you use plan names such as premium-monthly and premium-yearly to return a better name like 'Premium' or 'Premium (Monthly)' to the end-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant