Jump to content


Member Since 10 Sep 2003
ONLINE Last Active Today, 12:19 AM

Topics I've Started

Feedback for Kymation

11 October 2013 - 06:45 PM

Please provide feedback comments for my support, either for commercial work or free support on this forum. I'd love to hear what you think.

Please do not ask support questions here. You can contact me through my profile for commercial work, or use one of the Addon support threads listed below.


[Development] USPS Shipping Module

02 August 2013 - 02:27 AM

The current USPS shipping modules (USPS Methods, USPS Rate V4, Intl Rate V2, stock osCommerce 2.3x) all have a major problem -- they depend on the Service names that USPS supplies. Since USPS seems determined to change these names every six months or so, these modules break and must be patched twice a year. This should not happen, and it doesn't need to.

The quotes that USPS returns are keyed to a Service ID (called CLASSID.) These are (mostly*) unique numbers that never change, or only change when a service is deleted or added. These numbers are a much better way to select the service(s) desired, as the module will not break when USPS changes the service names.

If this system had been in use before the July changes, the only difference that anyone would have noticed would have been different service names showing up on the checkout page. No broken checkout, no thrashing to get a fix implemented, no lost sales.

I've done some preliminary testing, and I have a plan to fix this. I intend to use some of the code from the USPS Rate V4, Intl Rate V2 module since I like the way it is set up in the Admin. The rest of the code will be rewritten.

I have in mind an adaptive model that will require an extra step in the install process. The first edit of the module upon install will require a valid USPS Web Tools username. That will be used to send a dummy quote request to the USPS server for all available services, domestic and international. The response to that will be stored and presented in the second step as a list of services that may be selected. The selected values will then be stored in that step.

The installer will allow the selection of services by their current names. The names in the Admin will not change if USPS changes their API since those values are stored in the database. However, we are only comparing against the CLASSID, so the store side will continue to work and show the updated names.

Updating the names on the Admin side can be done by uninstalling/reinstalling the module, but that will normally not be necessary. You will only need to do that if USPS has added a new service that you want to offer to your customers or they have removed a service that you were offering. Doing an uninstall and reinstall is a lot simpler than modifying the code to make it work again.

*Yes, there's one problem with this approach -- the CLASSID for all First Class services is 0. That will have to be treated as a special case. That makes First Class more fragile, but USPS doesn't seem to change those services very often, so it's not likely to be a huge problem.

Any and all help with this is very welcome. I can use help with the code, of course, but feature suggestions and testing help are appreciated as well. Let's see what we can do with this.


[Addon} Superfish Categories Box

04 July 2013 - 03:18 AM

This addon provides a Categories box styled with the jQuery Superfish plugin. Top-level categories are listed in the left or right column, and subcategories pop out to the side and down from each category. There is no limit to the number of subcategories or to the number of category levels. See a screenshot for an idea of what it looks like.

Thanks to everyone in this thread for the hep, advice, and testing of this Addon.

The download is here.


[Addon] Price in Cart Only/MAPP Support

09 May 2013 - 03:45 AM

This addon allows you to show the price of any product only after it has been added to the cart. This satisfies some manufacturers' "Minimum Advertised Price Policies" (MAPP).

You can select this option for any product when you first add the product to your store, or you can edit any product later. When selected, the product price is replaces with text and a link to an explanatory popup. You can change any of this text at any time.

This Addon should only be used when the manufacturer has a minimum advertised price for certain products and you price is lower. Customers generally don't like hidden prices.

The code is here.