2 replaced http://stackoverflow.com/ with https://stackoverflow.com/
source | link

You will need to create a field instead of attribute for the sales.

$installer->run("ALTER TABLE `{$installer->getTable('sales/quote_item')}` ADD `vendor_id` int(11) DEFAULT NULL;");
$installer->run("ALTER TABLE `{$installer->getTable('sales/order_item')}` ADD `vendor_id` int(11) DEFAULT NULL;");

Same way you will need to do it for order and order address table if you want to set data in those tables also.

In the latest Magento you will need to create field instead of sales attribute.

To get more information about it check this linklink

You will need to create a field instead of attribute for the sales.

$installer->run("ALTER TABLE `{$installer->getTable('sales/quote_item')}` ADD `vendor_id` int(11) DEFAULT NULL;");
$installer->run("ALTER TABLE `{$installer->getTable('sales/order_item')}` ADD `vendor_id` int(11) DEFAULT NULL;");

Same way you will need to do it for order and order address table if you want to set data in those tables also.

In the latest Magento you will need to create field instead of sales attribute.

To get more information about it check this link

You will need to create a field instead of attribute for the sales.

$installer->run("ALTER TABLE `{$installer->getTable('sales/quote_item')}` ADD `vendor_id` int(11) DEFAULT NULL;");
$installer->run("ALTER TABLE `{$installer->getTable('sales/order_item')}` ADD `vendor_id` int(11) DEFAULT NULL;");

Same way you will need to do it for order and order address table if you want to set data in those tables also.

In the latest Magento you will need to create field instead of sales attribute.

To get more information about it check this link

1
source | link

You will need to create a field instead of attribute for the sales.

$installer->run("ALTER TABLE `{$installer->getTable('sales/quote_item')}` ADD `vendor_id` int(11) DEFAULT NULL;");
$installer->run("ALTER TABLE `{$installer->getTable('sales/order_item')}` ADD `vendor_id` int(11) DEFAULT NULL;");

Same way you will need to do it for order and order address table if you want to set data in those tables also.

In the latest Magento you will need to create field instead of sales attribute.

To get more information about it check this link