People who code: we want your input. Take the Survey

Hot answers tagged

1

please add ->where('tier.website_id = 0');


1

You have missed joining product collection with catalog_product_index_price table. Please make changes in your query as follows: public function getProductCollectionTot() { $collection = $this->_productCollectionFactory->create(); $collection->addAttributeToSelect('*'); $collection->getSelect()->join('...


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