14 Feb 2003 amars   » (Journeyer)

Trash talking
OSCommerce sucks. Do us all a favor and don't use it. Today, I fixed another bug for a client. I'm guessing UPS must have changed it's API recently as far as fetching available shipment options go and converged GNDRES and GNDCOM into simply GND. There is no documentation, nor are there any comments in the code to explain how the UPS shipping module works, so it took some clever curling and to realize that UPS wasn't providing what OSCommerce was expecting.

Hopefully. google will pick this up and someone with a similar problem will pick it up. Maybe the OSCommerce people have fixed it in newer versions, but for those of us for whom it is not an option to simply upgrade because of customizations we've made and use the UPS shipping module and are having problems, one must simply add the GND type to $this->types in the ups class constructor in includes/modules/shipping/ups.php and call it, say, "Ground" or whatever seems appropriate.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!