Attribute set collection returns multiple instance of attribute set “Default”

I am getting the attribute set collection $attributeCollection = $this->eavCollectionFactory->create(); $attributeSet=$attributeCollection->getItems(); foreach($attributeSet as $attSet){ print_r($attSet->getData()); } its return the following result Array ( [attribute_set_id] => 1 [entity_type_id] => 1 [attribute_set_name] => Default [sort_order] => 2 ) Array ( [attribute_set_id] => 2 [entity_type_id] => 2 [attribute_set_name] => Default [sort_order] => 2 ) Array ( [attribute_set_id] =>…

Details

How to do routing in Codeigniter

I have a problem with routing in CI. I have a controller with parameters that supports categories and subcategories category$1/subcategory$2 I came up with such entries, but they do not quite work. $route[‘(:any)’] = ‘ads/cat/$1’; $route[‘(:any)/(:any)’] = ‘ads/cat/$1/$2’; $route[‘(:any)/(:any)/(:num)’] = ‘ads/cat/$1/$2/$3’; Everything works until I add pagination – $3. I mean pagination works only for…

Details