Who can help - I am importing simple products into Magento 1.9.x using Magmi. Is it correct that cache is not deleted after import? And is there a way to flush only caches (product caches, full page cache) related to the imported products?
1
There are 1 best solutions below
Related Questions in MAGENTO
- file_get_contents(): file created in the system's temporary directory error in Magento
- Decrypting Magento 2 customer passwords using email for migration to Shopify
- Is it possible in magento multi store website to get all category of all the store with single api
- Venia pwa + magento 2 categories and products issue
- Magento Rest Api Recaptcha Validation Failed Error
- Credit card fields showing under PayPal Express Checkout
- Unable to create a Specific coupon code in magento using REST API
- Mutagen copy multiple times project (4 copy of the same project)
- Magento 2 , query insert/update statments not binding with '?' variables
- Warning: session_id(): Cannot change session id when session is active
- System.ServiceModel.CommunicationException on WCF Web Service
- [{message: "Cannot query field "route" on type "Query".", extensions: {category: "graphql"},…}]
- Data written to PVC using job pod is not available in main POD
- Magento Order and Product pagination
- Trying to Upgrade Magento from ver. 2.3.4 to ver. 2.4.6 and causing Composer installation error
Related Questions in MAGMI
- Is there any updated version of magmi for magento 2?
- Importing csv problems
- Magmi v0.7.22 import while image name include “fußballschuhe” “ß” disappear front
- Magento 2.3. - custom import module with Magmi Integration
- Getting error when Import products csv in Magmi to add products in magento 1.9
- Magmi import of related products successful on front-end, but products missing on back-end
- Product imported through magmi dont get saved automatically
- Magmi Root Category Creation
- Magento MAGMI - Custom Options not working correctly
- Magento 2 and third parts daily data import
- Set product price to be equal to the special price for all simple products
- Configurable products with same attribute_set not getting associated
- Ngnix downloads php - Magento/Magmi
- Magmi Attribute Set Importer dont set product attribute
- Magmi don't update products
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You dont need to delete the cache, just flush it by the following code- Mage::app()->getCacheInstance()->flush();
And, after flushing it reindex your data by-
$indexingelement = array("cataloginventory_stock","catalog_product_attribute", ,"catalog_category_flat", "groupscatalog2_category","catalog_product_attribute","catalogsearch_fulltext","catalog_product_flat","catalog_product_price","catalog_url","catalog_category_product","groupscatalog2_product", "tag_summary");
//reindex foreach ($indexingelement as $indexing) { echo $indexing.' is Reindexed'.'
'; try { $process = Mage::getModel('index/indexer')->getProcessByCode($indexing); $process->reindexAll(); } catch(Exception $e) { echo 'Error occured while reindexing' . $indexing . '
'; print($set->getMessage()); }