I'm trying to get the module up and running and am getting the following error the first time I'm hitting the shipping page.

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ct.container_type' in 'field list': SELECT ct.product_id AS product_id, ct.container_type AS container_type, ct.number_of_packages AS number_of_packages, ct.total_weight AS total_weight, ct.length AS length, ct.width AS width, ct.height AS height FROM {commerce_tnt} ct WHERE (ct.product_id = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 2 ) in commerce_tnt_build_rate_request() (line 32 of /.../drupal7/sites/all/modules/contrib/commerce_tnt/commerce_tnt.xml.inc).

I've had a look at the schema and there is no mention of container_type column.

Comments

jbloomfield’s picture

Status: Active » Fixed

Removed container_type from the query.

jbloomfield’s picture

Status: Fixed » Closed (fixed)

Closed