I am using Magento 1.7x version.I need to create a script to import products.I used Magmi as an Import Product Tool which helps me to
- import Simple ,Grouped and Configurable Products not bundle products
- create a script to run a cron job to automate the process.
Problem: My products are not showing on front end whereas these are visible on backend.I studied somewhere and i find its about re-indexing the database tables.
Questions: 1. How to rebuild index (script is cron job)after running a Magmi import process because i am unable to rebuild index using: =>On the fly indexer v0.1.5 =>Magmi Magento Reindexer v1.0.2
2.Does Magmi support importing bundled product with custom bundle types?
Thanx
in a cron job, you could run the magento indexer (which is the program called by magmi for reindexing) , using the following command lines (better put them at the end of the shell script that is ran by cron)
cd <yourmagentodir>/shell
php indexer.php --reindex catalog_product_attribute
php indexer.php --reindex catalog_product_price
php indexer.php --reindex catalog_product_flat
php indexer.php --reindex catalog_category_flat
php indexer.php --reindex catalogsearch_fulltext
php indexer.php --reindex cataloginventory_stock
There are other indexes, but both catalog_category_product & catalog_url are handled much more efficiently by on the fly indexer plugin.
Magmi does not support bundled yet.
来源:https://stackoverflow.com/questions/16145507/magmi-bundled-products-and-re-indexing-issue-in-magento-1-7