Skip to content

Instantly share code, notes, and snippets.

@hatimalam
Created June 25, 2019 04:47
Show Gist options
  • Save hatimalam/286c700e8f1487039de81cab6cd59856 to your computer and use it in GitHub Desktop.
Save hatimalam/286c700e8f1487039de81cab6cd59856 to your computer and use it in GitHub Desktop.
Product Catalog custom bean registry
<?php
/**
* Overriding PC bean to enable ACL
* custom/Extension/application/Ext/Include/custom_pc_bean_registry.php
*/
$objectList['ProductTemplates'] = 'ProductTemplate';
$beanList['ProductTemplates'] = 'CustomProductTemplate';
$beanFiles['CustomProductTemplate'] = 'custom/modules/ProductTemplates/ProductTemplate.php';
$moduleList[] = 'ProductTemplates';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment