brought plugin up to date with oscommerce changes

this plugin is very similar to oscommerce, so i just brought it up to date with recent updates we made to oscommerce