<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Magento: Get Bundled Items By Bundle Product</title>
	<atom:link href="http://inchoo.net/ecommerce/magento/magento-get-bundled-items-by-bundle-product/feed/" rel="self" type="application/rss+xml" />
	<link>http://inchoo.net/ecommerce/magento/magento-get-bundled-items-by-bundle-product/</link>
	<description>Magento Design and Magento Development Professionals - Inchoo</description>
	<lastBuildDate>Mon, 21 May 2012 08:29:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: charles</title>
		<link>http://inchoo.net/ecommerce/magento/magento-get-bundled-items-by-bundle-product/comment-page-1/#comment-24270</link>
		<dc:creator>charles</dc:creator>
		<pubDate>Wed, 14 Dec 2011 14:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=3620#comment-24270</guid>
		<description>Not sure really I guess there would be something in the $option model? Use print_r to see what is in there</description>
		<content:encoded><![CDATA[<p>Not sure really I guess there would be something in the $option model? Use print_r to see what is in there</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lu Duc Tuan</title>
		<link>http://inchoo.net/ecommerce/magento/magento-get-bundled-items-by-bundle-product/comment-page-1/#comment-24234</link>
		<dc:creator>Lu Duc Tuan</dc:creator>
		<pubDate>Tue, 13 Dec 2011 08:55:33 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=3620#comment-24234</guid>
		<description>How do I know which options is drop-down or select or may be checkbox type?</description>
		<content:encoded><![CDATA[<p>How do I know which options is drop-down or select or may be checkbox type?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charles</title>
		<link>http://inchoo.net/ecommerce/magento/magento-get-bundled-items-by-bundle-product/comment-page-1/#comment-24153</link>
		<dc:creator>charles</dc:creator>
		<pubDate>Mon, 05 Dec 2011 17:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=3620#comment-24153</guid>
		<description>Hi was just reading this as I was desperate to find a solution, had the options but not the quantities and product names so I used this:

// For bundle product

        $options = $selectionCollection = $_product-&gt;getTypeInstance(true)
            -&gt;getSelectionsCollection(
                $_product-&gt;getTypeInstance(true)-&gt;getOptionsIds($_product),
                $_product
            );
            
            foreach($options as $option){
            	echo $option-&gt;getSelectionQty()*1 . &#039; x &#039; . $option-&gt;getName() . &#039;&#039;;
            }</description>
		<content:encoded><![CDATA[<p>Hi was just reading this as I was desperate to find a solution, had the options but not the quantities and product names so I used this:</p>
<p>// For bundle product</p>
<p>        $options = $selectionCollection = $_product-&gt;getTypeInstance(true)<br />
            -&gt;getSelectionsCollection(<br />
                $_product-&gt;getTypeInstance(true)-&gt;getOptionsIds($_product),<br />
                $_product<br />
            );</p>
<p>            foreach($options as $option){<br />
            	echo $option-&gt;getSelectionQty()*1 . &#8216; x &#8216; . $option-&gt;getName() . &#8221;;<br />
            }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: développeur magento</title>
		<link>http://inchoo.net/ecommerce/magento/magento-get-bundled-items-by-bundle-product/comment-page-1/#comment-22953</link>
		<dc:creator>développeur magento</dc:creator>
		<pubDate>Fri, 30 Sep 2011 09:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=3620#comment-22953</guid>
		<description>Thank you for this Very usefull code.

How do you also get the disabled ones as GetSelectionCollection() seems to return only enabled items ?

regards</description>
		<content:encoded><![CDATA[<p>Thank you for this Very usefull code.</p>
<p>How do you also get the disabled ones as GetSelectionCollection() seems to return only enabled items ?</p>
<p>regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: giuseppe</title>
		<link>http://inchoo.net/ecommerce/magento/magento-get-bundled-items-by-bundle-product/comment-page-1/#comment-20968</link>
		<dc:creator>giuseppe</dc:creator>
		<pubDate>Sat, 14 May 2011 10:59:43 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=3620#comment-20968</guid>
		<description>Hi guys, is possible to add a non simple product in a bundle product in magento? 

that is necessary for my work .

F.e. I sell football shirt

I sell letters and number for printings

So i create ( f.e. ) grouped product for a name of player ( eg. Lampard 8 is composed by 1 L - 2 A - 1 M - 1 P - 1 R - 1 D and 1 x number 8 )  and all chelsea players , so I can control stock of letters

Then I create a chelsea shirt, with sizes apart and include players by adding the previous grouped product or another bundle with all players

Thanks for any help</description>
		<content:encoded><![CDATA[<p>Hi guys, is possible to add a non simple product in a bundle product in magento? </p>
<p>that is necessary for my work .</p>
<p>F.e. I sell football shirt</p>
<p>I sell letters and number for printings</p>
<p>So i create ( f.e. ) grouped product for a name of player ( eg. Lampard 8 is composed by 1 L &#8211; 2 A &#8211; 1 M &#8211; 1 P &#8211; 1 R &#8211; 1 D and 1 x number 8 )  and all chelsea players , so I can control stock of letters</p>
<p>Then I create a chelsea shirt, with sizes apart and include players by adding the previous grouped product or another bundle with all players</p>
<p>Thanks for any help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vishal lakhani</title>
		<link>http://inchoo.net/ecommerce/magento/magento-get-bundled-items-by-bundle-product/comment-page-1/#comment-8387</link>
		<dc:creator>vishal lakhani</dc:creator>
		<pubDate>Fri, 24 Sep 2010 06:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=3620#comment-8387</guid>
		<description>hi i want to show Bundle Product Options on Product Listing page Can any one help me?</description>
		<content:encoded><![CDATA[<p>hi i want to show Bundle Product Options on Product Listing page Can any one help me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomPier</title>
		<link>http://inchoo.net/ecommerce/magento/magento-get-bundled-items-by-bundle-product/comment-page-1/#comment-6946</link>
		<dc:creator>TomPier</dc:creator>
		<pubDate>Tue, 04 May 2010 07:41:20 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=3620#comment-6946</guid>
		<description>great post as usual!</description>
		<content:encoded><![CDATA[<p>great post as usual!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Augusto</title>
		<link>http://inchoo.net/ecommerce/magento/magento-get-bundled-items-by-bundle-product/comment-page-1/#comment-6733</link>
		<dc:creator>Augusto</dc:creator>
		<pubDate>Tue, 13 Apr 2010 18:57:15 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=3620#comment-6733</guid>
		<description>if($product-&gt;hasCustomOptions()){
  $customOption = $product-&gt;getCustomOption(&#039;bundle_selection_ids&#039;);
  $selectionIds = unserialize($customOption-&gt;getValue());
  $selections = $this-&gt;getSelectionsByIds($selectionIds, $product);
   foreach ($selections-&gt;getItems() as $selection) 
                $ids[] = $selection-&gt;getId();
}</description>
		<content:encoded><![CDATA[<p>if($product-&gt;hasCustomOptions()){<br />
  $customOption = $product-&gt;getCustomOption(&#8216;bundle_selection_ids&#8217;);<br />
  $selectionIds = unserialize($customOption-&gt;getValue());<br />
  $selections = $this-&gt;getSelectionsByIds($selectionIds, $product);<br />
   foreach ($selections-&gt;getItems() as $selection)<br />
                $ids[] = $selection-&gt;getId();<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: valugi</title>
		<link>http://inchoo.net/ecommerce/magento/magento-get-bundled-items-by-bundle-product/comment-page-1/#comment-6336</link>
		<dc:creator>valugi</dc:creator>
		<pubDate>Mon, 01 Mar 2010 14:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=3620#comment-6336</guid>
		<description>Mage guys should create a getBundledProducts() for a product that isBundled(). It would be easier for everyone.</description>
		<content:encoded><![CDATA[<p>Mage guys should create a getBundledProducts() for a product that isBundled(). It would be easier for everyone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomas Novoselic</title>
		<link>http://inchoo.net/ecommerce/magento/magento-get-bundled-items-by-bundle-product/comment-page-1/#comment-5852</link>
		<dc:creator>Tomas Novoselic</dc:creator>
		<pubDate>Wed, 13 Jan 2010 07:20:37 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=3620#comment-5852</guid>
		<description>Hi clockworkgeek,
U R right, I have fixed that, tnx for noticing.
Somehow I overlooked it when I was pulling code out of the original context XD</description>
		<content:encoded><![CDATA[<p>Hi clockworkgeek,<br />
U R right, I have fixed that, tnx for noticing.<br />
Somehow I overlooked it when I was pulling code out of the original context XD</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: clockworkgeek</title>
		<link>http://inchoo.net/ecommerce/magento/magento-get-bundled-items-by-bundle-product/comment-page-1/#comment-5844</link>
		<dc:creator>clockworkgeek</dc:creator>
		<pubDate>Tue, 12 Jan 2010 18:52:14 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=3620#comment-5844</guid>
		<description>Hello,

What is the purpose of $option_collection? Is it important to call getOptionsCollection()? The result is assigned and never used.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>What is the purpose of $option_collection? Is it important to call getOptionsCollection()? The result is assigned and never used.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

