Posts

Assign Inventory source while programmatically creating product

Image
0 I have a custom script that read csv and create products programmatically, it was working fine with Magento 2.2.6 , now I upgraded it to Magento 2.3 , and with upgradation I configured Multi Source Inventory. The issue I am facing is that while saving the product it is throwing error " The stock item was unable to be saved. Please try again. " I am getting below error in log main.CRITICAL: The stock item was unable to be saved. Please try again. {"exception":"[object] (Magento\Framework\Exception\CouldNotSaveException(code: 0): The stock item was unable to be saved. Please try again. at /magento_root/vendor/magento/module-catalog-inventory/Model/Stock/StockItemRepository.php:187, Magento\Framework\Exception\CouldNotSaveException(code: 0): Could not save Source Item at /magento_root...

Magento 2.x Theme Configuring page is loading infinity

Image
0 I need help to solve the issue from maganto 2.x theme configuring. I was trying to Add my contents into my Theme Like, Header , Footer etc. but the theme page is loading infinity. Please check my screenshot below. Location: Content-->Configuration-->Themes When I am trying to edit the theme the theme configure page is loading infinity. I need help to resolve it. Please tell me the way to solve it. Thanks in advance theme magento-2.2.5 share | improve this question edited 20 mins ago Rakesh Donga 303 9 a...