Skip to content

magento man

Method setProductLinks is very slow

I am looping trough 50.000 products. Most with linked items. But it takes forever. It can only handle 1-3 products/second? Is their a faster way than this? ProductLinkInterfaceFactory $productLink, ProductRepositoryInterface $productRepository, *Loop* $linkData = []; $productLink = $this->productLink->create(); $productLink->setSku($SKU) ->setLinkedProductSku($item)… Read More »Method setProductLinks is very slow

Magento 2 SimiCart – Magento 2 Mobile App Builder

We are using Magento 2.4.2-p2 version with SimiCart – Magento 2 Mobile App Builder We are struggling from where category_id is coming File name – app/code/Simi/Simiconnector/Model/ResourceModel/Productlist/ProductlistCollection.php File function – $collection = $simiObjectManager->create(‘MagentoCatalogModelProduct’)->getCollection() ->addAttributeToSelect($simiObjectManager->get(‘MagentoCatalogModelConfig’) ->getProductAttributes()) ->addMinimalPrice() ->addFinalPrice() ->addTaxPercents() ->addUrlRewrite(); when we… Read More »Magento 2 SimiCart – Magento 2 Mobile App Builder