Magento Forum

   
Import and Catalog Price Rules
 
shmk
Sr. Member
 
Total Posts:  296
Joined:  2009-10-28
 

After an import the prices of product imported with a discount set on Catalog Price Rules are not correct.

Are you having this problem too?

 
Magento Community Magento Community
Magento Community
Magento Community
 
amartinez
Guru
 
Avatar
Total Posts:  347
Joined:  2008-11-14
Spain
 

Hi, could you explain to me more elaborated?

Do you try http://www.magentocommerce.com/boards/viewthread/227005/

Regards!

 
Magento Community Magento Community
Magento Community
Magento Community
 
shmk
Sr. Member
 
Total Posts:  296
Joined:  2009-10-28
 

I have a Product Catalog Rule applied to all products in the store.

After a import the discount prices are not updated even if I click on applyRules (they’re shown as full price in the frontend).

The only method that fix the problem is to click “Save and Apply” inside a single Product Catalog Rule or “Save” inside the single product.

Magento is 1.4.2.0

 
Magento Community Magento Community
Magento Community
Magento Community
 
amartinez
Guru
 
Avatar
Total Posts:  347
Joined:  2008-11-14
Spain
 

Do you tried to automatically reindex after import?

php -f shell/reindex.php

I add these options to my import script.

 
Magento Community Magento Community
Magento Community
Magento Community
 
RiccardoB.
Jr. Member
 
Avatar
Total Posts:  5
Joined:  2011-01-03
Italy
 

Inside shell folder I don’t have a reindex.php but I have a indexer.php
I tried

php -'shell/indexer.php' reindexall

But also for me the product prices aren’t updated with the discount.

 
Magento Community Magento Community
Magento Community
Magento Community
 
amartinez
Guru
 
Avatar
Total Posts:  347
Joined:  2008-11-14
Spain
 

New test: Please add this to my app/code/local/AMartinez/CustomImportExport/shell/run.php, at #99:

Mage::getModel(\'catalogrule/rule\')->applyAll();
            
Mage::app()->removeCache(\'catalog_rules_dirty\');

Regards!

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