lundi 9 septembre 2019

Subscription Based Features

I have one module where features are allowed based on package selected .For example i have following plans

Free Plan 
    -Basic information
Silver Plan 
    -Basic information
    -Review
    -Email 10 per month 
Golden Plan 
    -Basic information
    -Review
    -Email 60 per month 

I have created following tables

Plan

id | plan_name | plan_key | slug | plan_sub_title | plan_days | is_actve | valid from | valid to  

features

id | feature_name | description 

plan_features

id | plan_id | feature_id | value

My problem is, How to allow only those features to each plan based on features assigned dynamically and also how to handle email value to plan



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire