Skip to content

Instantly share code, notes, and snippets.

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