Skip to content

Instantly share code, notes, and snippets.

@ceckoslab
Last active August 29, 2015 14:00
Show Gist options
  • Save ceckoslab/11250717 to your computer and use it in GitHub Desktop.
Save ceckoslab/11250717 to your computer and use it in GitHub Desktop.
Jarlssen_ChooserWidget - category chooser example
$chooserHelper = Mage::helper('jarlssen_chooser_widget/chooser');
$categoryConfig = array(
'input_name' => 'entity_link',
'input_label' => $this->__('Category'),
'button_text' => $this->__('Select Category...'),
'required' => true
);
$chooserHelper->createProductChooser($model, $fieldset, $categoryConfig);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment