I know this has been requested in posts occasionally and since I needed to write it for myself for an existing e-Commerce v3 site, I'm posting it for anyone else to use or adapt.

The biggest problem I ran into was figuring out the _get_rates hook. Anyway, this is probably as basic of a shipcalc partner module for v3 as you can get, but it works.

Note that if you are adding it to an existing store that already has products defined, you'll need to configure it as a shipping method for each existing product once you turn it on for each product type. You could also just insert a bunch of rows into ec_shipping_product, like: insert into ec_shipping_product (select vid,nid,'instore' as service,'nocost' as method from ec_shipping_product);, assuming all your existing products/subproducts already have a shipping method and are thus listed in the table.

To install, place the file in sites/all/modules/ecommerce/contrib/shipcalc/partners/ and name it instore.inc.

CommentFileSizeAuthor
instore.inc_.txt778 bytesThomas Sewell
Support from Acquia helps fund testing for Drupal Acquia logo