Package families – system description

The package family and its six link tables, saving rules, deletion without a reference check and the permission keys.

Overview

Package family = the cards of a pricing page: which plans, in what order, with which highlighted functions and price overrides per period. The code intentionally removed the menu item; it is reached by direct address. Table names carry the installation's own prefix in the database.

Data model

TableRole
package_familycode (unique), name, eyebrow, headline, subtitle, matrix switch, default period, sort order, status
package_family_planper plan badge, button label and link, highlight
package_family_plan_periodprice override per period
package_family_featurehighlighted functions (only active functions classified SUBSCRIPTION)
package_family_card_rowcard rows
package_family_to_storestores

Read: subscription_period, subscription_plan.

Operation

  • List icons: edit, delete, open the page.
  • Saving: form canAction(edit), save canSave; code unique (error_code_taken).
  • Deletion (delete): physical deletion from the six link tables and the family, without a reference check.

Permissions

list: UNMAPPED; edit, add, delete, debug: not classified (add is only asked by canSave; edit decides).

Related topics: plan permissions