Skip to content

Instantly share code, notes, and snippets.

@nicka101
Created April 7, 2016 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicka101/c3f5e52c3bee06f561853affe1ffbde1 to your computer and use it in GitHub Desktop.
Save nicka101/c3f5e52c3bee06f561853affe1ffbde1 to your computer and use it in GitHub Desktop.
Fix pricerules groups not appearing properly as a customer attribute
<?php
require_once('app/Mage.php');
Mage::app();
$attrib = Mage::getSingleton('eav/config')->getAttribute('customer', 'sinch_pricerules_group');
$attrib->setData('used_in_forms', array('adminhtml_customer'));
$attrib->save();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment