I installed ecommerce module in my drupal, when I want to add a product and I do save, I get a error: Field anon_policy doesn't exists in the table ec_product, for that I can't save the product in that table. I had to add this field in the table (alter table drup_ec_product add anon_policy int) but I think it's a bug in the ecommerce module.

Comments

gordon’s picture

Status: Active » Closed (duplicate)

This has been fixed in the dev release.

bogdog400’s picture

Version: 6.x-4.0-rc13 » 6.x-4.x-dev

I'm using the dev release and I'm getting this error on installation:

user warning: Invalid default value for 'anon_policy' query: ALTER TABLE ec_product ADD `anon_policy` TINYINT NOT NULL DEFAULT 'ECANON_POLICY_OPTIONAL' in /home/pwayner/public_html/shorts/includes/database.mysql-common.inc on line 298.