Magento Forum

   
Action after import
 
maxmin
Member
 
Total Posts:  68
Joined:  2008-12-26
Czech Republic
 

I import qty for products.
After or while importing I need to check if qty is lower or higher than Qty for Item’s Status to become Out of Stock and set is_in_stock.

How can I create some action after import to do this?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ben_marks
Moderator
 
Avatar
Total Posts:  449
Joined:  2008-10-09
Charleston, SC
 

maxmin,

You should start at Mage_Catalog_Model_Convert_Adapter_Product::finish(); in app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php

I wish I could tell you how to override this, but I can’t seem to figure out the correct rewrite XML.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top