Skip to content

magento man

Stay away from StableHost

I was a StableHost customer since before it was sold to Miss Hosting. Before the sale it was an excellent supplier. Then it went into declin… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1885961&goto=newpost

How to assign a simple product in Configurable Product in Magento 2

Hello I am using given below code to add simple product in configurable product.but it is not properly working. $productId = 1; // Configurable Product Id $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $product = $objectManager->create(‘MagentoCatalogModelProduct’)->load($productId); // Load Configurable Product $attributeModel = $objectManager->create(‘MagentoConfigurableProductModelProductTypeConfigurableAttribute’); $position… Read More »How to assign a simple product in Configurable Product in Magento 2