<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Solution Log &#124; Antonio David - NVNCBL &#187; inventory</title>
	<atom:link href="http://www.nvncbl.com/tagged/inventory/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nvncbl.com</link>
	<description>A place to log my programming solutions for future reference</description>
	<lastBuildDate>Sun, 28 Aug 2011 01:20:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Refresh Magento Cache Programmatically</title>
		<link>http://www.nvncbl.com/2010/03/refresh-magento-cache-programmatically/</link>
		<comments>http://www.nvncbl.com/2010/03/refresh-magento-cache-programmatically/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 04:16:45 +0000</pubDate>
		<dc:creator>Antonio</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[catalog]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[inventory]]></category>
		<category><![CDATA[layered navigation]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[rebuild]]></category>
		<category><![CDATA[refresh]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.nvncbl.com/?p=488</guid>
		<description><![CDATA[When writing processes to automate some of Magento&#8217;s normally laborious tasks, perhaps for a product-import script, a mass attribute update script, category import, or inventory adjustment, keep in mind that you may have to refresh some kind of cache &#8212; especially when working with attributes.  If you are encountering quirks or inconsistencies with your [...]]]></description>
			<content:encoded><![CDATA[<p>When writing processes to automate some of Magento&#8217;s normally laborious tasks, perhaps for a product-import script, a mass attribute update script, category import, or inventory adjustment, keep in mind that you may have to refresh some kind of cache &#8212; especially when working with attributes.  If you are encountering quirks or inconsistencies with your data, try these:</p>
<ul>
<li>Rebuild Catalog Index

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">Mage<span style="color: #339933;">::</span><span style="color: #004000;">getSingleton</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'catalog/index'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">rebuild</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

</li>
<li>Rebuild Flat Catalog Product

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">Mage<span style="color: #339933;">::</span><span style="color: #004000;">getResourceModel</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'catalog/product_flat_indexer'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">rebuild</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

</li>
<li>Inventory Stock

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">Mage<span style="color: #339933;">::</span><span style="color: #004000;">getSingleton</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cataloginventory/stock_status'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">rebuild</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

</li>
</ul>
<p>For more cache refreshes, such as:</p>
<ul>
<li>Catalog Rewrites</li>
<li>Layered Navigation Indices</li>
<li>Product Image</li>
<li>Search Index</li>
</ul>
<p>&#8230; please refer to the source of this knowledge <a class="external" title="Magento Refresh Cache" href="http://www.magentocommerce.com/boards/viewthread/43238/#t156277" target="_blank">http://www.magentocommerce.com/boards/viewthread/43238/#t156277</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nvncbl.com/2010/03/refresh-magento-cache-programmatically/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

