Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17956

CiviDiscount CiviRules Integration

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Incomplete
    • Affects Version/s: 4.6.11
    • Fix Version/s: Unscheduled
    • Component/s: Extension System
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      Basic Business Logic
      So the context is that we have a client who wants to have discount codes automatically generated upon relationships' creation. The types of relationships are specified in advance and the generated discount codes are restricted to contacts within the relationships.

      CiviRules Integration
      We made two versions of mockups for these requirements and now we decide to go ahead with the one that has CiviRules involved which might grant some extra flexibilities to the workflows. Please find the mockup in the attachment. We understand that CiviRules provides some hooks (maybe not yet, have seen it in the proposal) and some interfaces that can be used to create custom rules related components. Thus for ref b1, we are targeting to use the utils that CiviRules provides so all the requirements can become a part of CiviDiscount.

      Other Elements
      A few schemas might need to be created for the requirements
      A CiviDiscount report needs to be created
      A/multiple message templates need to added as a part of the extension installation/update
      A set of tokens need to be made available for the message templates mentioned above
      Other details in the mockups

      Please take a look and let us know your thoughts to this and if possible could you provide us with some estimations for the whole implementation work as well? There are some details that might need to be discussed before the work actually started but do let me know if there is any point in the requirements that needs us to clarify before you can provide the estimations. We can have a quick call to discuss.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              guanhuan Guanhuan Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: