skip to Main Content

Magento 2.2.4 generation does not exists

I have installed Magento 2.2.4 with composer. Everything is working but when I am running this command. php bin/magento setup:di:compile It is giving me an error **[RuntimeException] Source class "MagentoPaymentModelMethodVirtual" forMagentoPaymentModelMethodVirtualLogger" generation does not exist.** I have cleared all cache…

VIEW QUESTION

Magento 2 – getCollection returns only simple products

I'm trying to get all the products. I'm doing this way: $objectManager->get('MagentoCatalogModelProduct') ->getCollection() ->addAttributeToSelect('*'); But only simple products are returned. Getting the NOT RETURNED products by sku works fine: $p = $objectManager->create('MagentoCatalogModelProductRepository')->get($sku); Any idea? Thanks in advance. -- Magento version…

VIEW QUESTION

How to add same name product in magento 2?

I am uploading product programmatically in Magento2 I have same name product with different SKU but when I run script Magento 2 gives an error because of Url Key : Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'reine-de-naples-jour-nuit-8998.html-1'…

VIEW QUESTION
Back To Top
Search