- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2015
05:12 PM
12-09-2015
05:12 PM
Customer Groups and Custom Group Attributes
Is there a way to programmatically or with a module, add additional fields to customer groups?
We'd like to add company address information to each group.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2015
01:47 AM
12-11-2015
01:47 AM
Re: Customer Groups and Custom Group Attributes
$installer = $this; $connection = $installer->getConnection(); $installer->startSetup(); $installer->getConnection() ->addColumn($installer->getTable('customer/customer_group'), 'your_custom_column_name_1', array( 'type' => Varien_Db_Ddl_Table::TYPE_TIMESTAMP, 'nullable' => true, 'default' => null, 'comment' => 'Your comment 1' ))->addColumn('your_custom_column_name_2', Varien_Db_Ddl_Table::TYPE_TEXT, 32, array( 'nullable' => false, ), 'Your comment 2'); $installer->endSetup();
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022
10:58 AM
08-31-2022
10:58 AM
Re: Customer Groups and Custom Group Attributes
Hi,
I've included a video here: https://www.youtube.com/watch?v=OyRImQWmNyk
Concerning How to Create a Customer Group in Magento. It might be useful.