Skip to content
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.

Informational Architecture of Donations Service

Kate edited this page Jul 18, 2018 · 3 revisions

Stores

Store types

  • Online store type is used across all sites.

Stores

  • Gifts
    Store for the Gifts website.
    All Gifts products should be assigned to this store.
  • Donations
    Store for donations to appeals.
    All appeals should be assigned to this store.
  • Fundraising
    Store for the fundraising events and sponsorships (to be implemented later).

Fields

Global store settings should be configured per store:

  • Public store name
  • Email
  • Currency

New store fields can be introduced for new settings.

Relations

  • Product types - list of product types supported by this store. I.e. gift, gift_corporate, gift_free for the Gifts store.
  • Default product - reference to the default appeal.
  • Default source codes - reference to the default source codes collection.

Products

Product types

Appeal (donation_appeal)

Fields
  • Public appeal name
  • Appeal type (checkboxes)
    • One-off donation (default)
    • Regular giving
Relations
  • Source codes - list of source codes for this appeal. See "Source codes" section below for details.
  • Donation form configuration - to be defined.

Gifts

There are three product types in the system: Gift, Gift Corporate, Gift Free. Details to be added.

Product variation types

Each product type should have a corresponding product variation type.

  1. Appeal (donation_appeal)
    • SKU (required by Drupal Commerce)
    • Price (should be always 0)
    • Currency (if/when muntiple currencies are available)
  2. Gift (gift)
    • SKU (required by Drupal Commerce)
    • Price (should be always 0)
    • Currency (if/when muntiple currencies are available)
    • ThankQ product ID

Orders

Order types

  • Donation
  • Gift

Payment methods

User profiles

Source codes

Opt-ins