[TYPO3-shop] rc_expiring_fe_groups auto add

David Toshack david at vaultin.com
Tue Feb 7 04:59:30 CET 2006


I'm about to build an extension for a membership payment system. Here's 
what I'm thinking:
  - Extended tt_products table to include a field excluded by default 
for an fegroup,
  - add plugin.tt_products.createUsers = 1 so that a fe_user is created 
from the basket,
  - once payment has been accepted, within the handleScript, collect 
fe_groups associated with products in basket,
  - using the extension rc_expiring_fe_groups, also within the 
handleScript, add an expiring fe_group membership to the fe_user,
  - the endDate of the expiring membership would depend on the product 
quantity selected from product page, and "unit of measure" entered for 
the product (days, months, years).

This what I have so far, but I'd like to work on making this extension 
more generic. Creating a feature of tt_products to check for an 
associated fe_group for membership by default, and adding a membership 
to it if "unit of measure" contains (day, month or year) might be a good 
idea too. Feel free to reply with similar requirements, suggestions or 
ideas.


Cheers,
David

-- 
David Toshack - Software Engineer - 0409 552 978
Vaultin - Open Source Web Development - http://vaultin.com



More information about the TYPO3-project-tt-products mailing list