Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Hot answers tagged

3

You want to update checkUniqueOption() this function and because of that function is private you need to rename this as _checkUniqueOption() or something else, and in that file there are some other functions which are also private so you need to do same thing for that all functions as well. So your new Controller file's content will be : Vendor/Module/...


1

public function _loadEntities($printQuery = false, $logQuery = false) { if ($this->_pageSize) { $this->getSelect()->limitPage($this->getCurPage(), $this->_pageSize); } You can prevent this by setting _pageSize to 0: $productCollection->setPageSize(0); $productCollection->getSelect()->limit(20,22); Besides that, resetting ...


Only top voted, non community-wiki answers of a minimum length are eligible