On moving the commits to an existing package...
ecommerce seems completely off the topic, and additionally it's not a complete working package, as it has code with example formulas where a programmer would necessarily come in and have to read the code. It also seems to be a singleton, where it would be more useful to have more than one.
facebook-api is not quite on topic either, it's about an openacs instance talking to facebook, and adding features to subsite doesn't seem germain to that functionality.
So, I'd say a new non-core package is what is called for here.
A question: is it possible to get what you're trying to add here to work without altering any core package? I mean completely, with no compromise.
If not, what are the compromises?
-Jim