Patching Substruct

Posted by Raymond Law Tue, 05 Feb 2008 22:27:00 GMT

A few weeks ago I found Substruct, a Ruby on Rails E-commerce framework. I checked it out, played around with it, and decided to fix a few things to the way I think it should work and improved a few things. I figure it may help some of the folks who’s using it to run stores as well. So I am releasing it as a patch. The patch includes:

  • Added order fulfillment code
  • Fix OrdersController#ship_orders
  • Fix Email settings
  • Correctly checking SMTP Authentication Type when saving in Admin’s Preferences page
  • Send emails to all customers whose orders have just been shipped
  • Add user account login
  • Show order details to customers
  • Require login before checkout
  • Use only password, not previous order # to login
  • Fill in product descriptions to look more authentic
  • https support for production
  • Fill in Authorize.net account info
  • Mask CC # except last 4 digits in db (cc_number validation needs to include ‘X’)
  • Encrypt password in DB
  • Add password confirmation
  • Calculate tax (StoreController#add_tax)
  • Add tax line to OrderMailer receipt view template
  • Add tax line to admin interface showing order items (admin/orders/edit.rhtml and show.rhtml)

I started a Google Group discussion.

You can grab it here. Enjoy!