Is there a good example of the backend code to add a widget? I'd like to add a widget that can be embeded in the header/footer/wherever to simply show how many items are in the current cart and just links to the checkout. I'd also like to create some sort of "embed-able" code (maybe a bbcode extension? or just a widget? don't know the best way to do it) that would be a one-click "add to cart" that would just take the SKU as a parameter and create a decently formatted button that can pretty much be added anywhere (web page, wiki, even post).
Any thoughts on how best to do these things (and any relevant backend coding examples of similar things) would be a great help. Things are progressing - just a couple of other sub-modules to work out/write (taxes and shipping) and I think we'll have a decent first round cart system.
The system is usable NOW for hub owners who want to automate paid service_class upgrades and for channel owners who want to be able to allow people to set up payments for "celebrity channels" and allow people to "subscribe" to a privacy group. There is (currently) no auto-renew functionality and some way/widget to indicate subscription status would be nice. But the core functionality is there.