Get random products error
I know that there is a bunch of questions on this topic but no one resolve my problem //@var MagentoCatalogModelResourceModelProductCollectionFactory $this->_productCollectionFactory $items = $this->_productCollectionFactory->create(); $items->addAttributeToSelect(‘*’); $items->getSelect()->orderRand()->limit(10); this piece of code return this error SQLSTATE[42000]: Syntax error or access violation: 1064… Read More »Get random products error