I need to apologize for my childish mistake which caused problems and waste of time for you. In my effort to make the code more solid and understandable I remove all database version changes and I replaced them with a screendump from phpMyAdmin. At that point I did the mistake as I forgot to change the table prefix. Novice mistake but I did it.
I've released version 1.2.0 which will build the correct tables. To upgrade:
1.- Clicking Edit on the right of the product
2.- Replace the uninstall code with the code below.
Code:
$vbulletin->db->query_write("
DROP TABLE
`vb4x_ecommerce_categories`, `vb4x_ecommerce_products`,
`vb4x_ecommerce_product_photos`, `vb4x_ecommerce_product_files`,
`vb4x_ecommerce_product_types`, `vb4x_ecommerce_carts`,
`vb4x_ecommerce_orders`, `vb4x_ecommerce_payments`,
`vb4x_ecommerce_agreements`, `vb4x_ecommerce_domains`,
`vb4x_ecommerce_product_fields`, `vb4x_ecommerce_invoices`,
`vb4x_ecommerce_locations`, `vb4x_ecommerce_taxes`,
`vb4x_ecommerce_zones`, `vb4x_ecommerce_zone_fares`,
`vb4x_ecommerce_customers`, `vb4x_ecommerce_coupon`,
`vb4x_ecommerce_usercoupon`
");
3.- Unistall the product
4.- Import the new product-ecommerce.xml file.
Once again sorry for troubles,