eCommerce Shipping Types

Permalink
Some questions about the eCommerce add-on and its Table-Based shipping type:

1. How do I go about uninstalling the custom shipping type I tried to create. It was successfully installed, but does not function, so I'd like to uninstall it... do I just delete the files that I made?

2. Would anybody know how to adjust the Table-Based shipping type so that it is directed at a non-numeric field of the shipping address like "province_state". I tried to match shipping values to a specific province, but it didn't take. I happen to still have it installed though if somebody thinks they can help me make it work.

3. Is it specified anywhere whether the total weight of an order is calculated in imperial or metric? Individual products can be given a weight in kgs/lbs, but the Table-Based shipping type offers no unit of measurement when I am setting weight ranges.

TinyGiant
 
jheanly replied on at Permalink Reply
jheanly
Hi spashbrand,

I might be able to help you with an answer to your first question.

You need to remove the files for your shipping type from under the models directory. You then also need to remove some data from the database. There appear to be two tables that contain data related to your shipping type. They are CoreCommerceShippingTypes and CoreCommerceShippingTypeCustomCountries. You need to delete the row from CoreCommerceShippingTypes for your shipping type (look at the shippingTypeName column to find your shipping type). NB. Before deleting the data, take note of the shippingTypeId of the row you are going to delete. You can now delete the row from CoreCommerceShippingTypes. You then need to delete from CoreCommerceShippingTypeCustomCountries the row that corresponds to the shippingTypeId you recorded. If there is no row there already then you don't need to delete it. This table might only contain a row if you have set up custom countries for your shipping type, in fact it may well contain many rows. If there are many rows for your shippingTypeId, delete them all.

I hope that works for you. I have just done it myself and it seems to work ok.

J