Skip to content
This repository
branch: master
Kurund Jalmi
file 56 lines (35 sloc) 2.33 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
CiviDiscount Extension

NEEDED

* Enhance UI with an "apply discount" button that updates displayed prices on any forms
  + basically you want to emulate having the discount code sent in via th URL and let the person know if discount code is
    bogus
  + it would be nice to do this with ajax but isn't worth much effort.

* Create some user documentation
  + Two types of discounts: automatic membership and code-based.
  + Supports discounted memberships, events, pricesets
  + Describe automatic member discounts (use random code never given to public)
  + Show tracking interface


NICE TO HAVE

* Give some control over the placement of the discount code text field on the form.

FIXED ALREADY

* Fix/check cividiscount_civicrm_buildAmount() for both online and offline forms/cases (event registration):
  + check multi-participant case well ( currently this needs to be enabled in code )

* Fix/check cividiscount_civicrm_buildForm() for both online, offline and renewal forms/cases (memberships):
  + check multi-step form case well

* Check all transaction amounts match amount displayed on forms.

* Fix or remove CDM_BAO_Item::copy(). Currently it's just a copy of CDM_BAO_Item::delete().

* Adapt for 4.2 priceset structure.

* Create menu link for CiviDiscount extension under Administer

* Fix cividiscount_civicrm_pre():
  + When a contact is deleted, we should also delete their tracking info/usage.
  + When removing participant (and additional) from events, also delete their tracking info/usage.
  + When deleting membership record, also delete their tracking info/usage

* Fix/check cividiscount_civicrm_postProcess() tracking for all forms/cases:
  + check we have correct participantID, membershipID, contributionID when it's needed for tracking
  + check generic generic contribution cases well ( discount is not available for this )

* Fix/check discount tracking tabs.

* Generally clean up the code and logic.

* Carefully review discount verification and applicability:
  + fix _get_discounted_event_ids(), _get_discounted_priceset_ids(), _get_discounted_membership_ids() to return events/pricesets/memberships only for active code

* Enhance UI to show which discount code has been applied.

* Fix membership discounts not working from civicrm/contact/view [Submit Credit Card Membership] - CRM-11028.
Something went wrong with that request. Please try again.