skip to Main Content

Get product name and price from product collection – Magento

I am trying to get product(s) name and price from product collection for that I have created a custom script for test. $bootstrap = Bootstrap::create(BP, $_SERVER); $objectManager = $bootstrap->getObjectManager(); $state = $objectManager->get('MagentoFrameworkAppState'); $state->setAreaCode('adminhtml'); $collection = $objectManager->create('MagentoCatalogModelResourceModelProductCollectionFactory')->create(); try { echo $collection->addAttributeToSelect(['name','sku'])->getSelect();…

VIEW QUESTION

Magento 2 installation. Too many redirects

I spent 2 days around the net and no solution works I just followed this tutorial https://www.snel.com/support/how-to-install-magento-2-on-centos-7/ Everything goes fine with installation. When I call my URL to do the online installation it's gives mee the redirect error, and the…

VIEW QUESTION
Back To Top
Search