<?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>Agence de Développement Informatique du Nord &#187; configurable product</title>
	<atom:link href="http://blog.adin.pro/tag/configurable-product/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adin.pro</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 26 Dec 2019 08:54:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Magento get simple products from configurable product</title>
		<link>http://blog.adin.pro/2014-10-02/magento-get-simple-products-from-configurable-product/</link>
		<comments>http://blog.adin.pro/2014-10-02/magento-get-simple-products-from-configurable-product/#comments</comments>
		<pubDate>Thu, 02 Oct 2014 10:25:20 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[configurable product]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=418</guid>
		<description><![CDATA[<p>This is how you can get all simple products linked from a configurable product If you only need ids of the child product, you can do this</p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2014-10-02/magento-get-simple-products-from-configurable-product/">Magento get simple products from configurable product</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>This is how you can get all simple products linked from a configurable product</p>
<pre class="brush: php; title: ; notranslate">
$configurableProduct = Mage::getModel('catalog/product')-&gt;load(1); 
$childProducts = Mage::getModel('catalog/product_type_configurable')-&gt;getUsedProducts(null,$configurableProduct);   
foreach($childProducts as $child) {
    echo $child-&gt;getId();
}
</pre>
<p>If you only need ids of the child product, you can do this</p>
<pre class="brush: php; title: ; notranslate">
$childProductsId = Mage::getModel('catalog/product_type_configurable')-&gt;getChildrenIds(1);
</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2014-10-02/magento-get-simple-products-from-configurable-product/">Magento get simple products from configurable product</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2014-10-02/magento-get-simple-products-from-configurable-product/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento get configurable product from simple product</title>
		<link>http://blog.adin.pro/2014-09-30/magento-get-configurable-product-from-simple-product/</link>
		<comments>http://blog.adin.pro/2014-09-30/magento-get-configurable-product-from-simple-product/#comments</comments>
		<pubDate>Tue, 30 Sep 2014 09:58:18 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[configurable product]]></category>
		<category><![CDATA[simple product]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=415</guid>
		<description><![CDATA[<p>If you need to get the configurable product from a simple one, you can do this</p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2014-09-30/magento-get-configurable-product-from-simple-product/">Magento get configurable product from simple product</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>If you need to get the configurable product from a simple one, you can do this </p>
<pre class="brush: php; title: ; notranslate">
$simpleProductId = 666;
$parentIds = Mage::getResourceSingleton('catalog/product_type_configurable')
                  -&gt;getParentIdsByChild($simpleProductId);
$configurableProduct = Mage::getModel('catalog/product')-&gt;load($parentIds[0]);
echo $configurableProduct-&gt;getId(); 
</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2014-09-30/magento-get-configurable-product-from-simple-product/">Magento get configurable product from simple product</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2014-09-30/magento-get-configurable-product-from-simple-product/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
