<?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>Commentaires sur : Produit composé (bundle )</title>
	<atom:link href="http://bloggento.fr/produits-composes-bundle-product-/2975/feed" rel="self" type="application/rss+xml" />
	<link>http://bloggento.fr/produits-composes-bundle-product-/2975</link>
	<description>Blog magento: tutoriel design, admin, code</description>
	<lastBuildDate>Fri, 03 Feb 2012 17:02:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>Par : cédric rousset</title>
		<link>http://bloggento.fr/produits-composes-bundle-product-/2975/comment-page-1#comment-1510</link>
		<dc:creator>cédric rousset</dc:creator>
		<pubDate>Sat, 10 Sep 2011 12:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://bloggento.fr/?p=2975#comment-1510</guid>
		<description>Bonjour,
Regardez dans le screenshoot du tutoriel, dans les options il y a une liste déroulante Obligatoire =&gt; oui ou non Il faut cocher non.</description>
		<content:encoded><![CDATA[<p>Bonjour,<br />
Regardez dans le screenshoot du tutoriel, dans les options il y a une liste déroulante Obligatoire => oui ou non Il faut cocher non.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Hélène</title>
		<link>http://bloggento.fr/produits-composes-bundle-product-/2975/comment-page-1#comment-1506</link>
		<dc:creator>Hélène</dc:creator>
		<pubDate>Fri, 09 Sep 2011 17:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://bloggento.fr/?p=2975#comment-1506</guid>
		<description>Bonjour,
Super intéressant votre site :)) merci pour toutes ces infos.
Voila mon problème, je vends un article sur lequel on peut rajouter une ou plusieurs options/accessoires. Ces options/accessoires sont également disponibles sans package, en article simple. Mon article n&#039;est pas obligé de recevoir cette option, mais il peut être vendu sans.
J&#039;ai créé un produit packagé et rajouté mes options/accessoires dans les articles packagés. Le seul souci est que sur le site je ne peut pas mettre dans le panier sans avoir choisi au moins une option.
Existe-t-il une astuce pour pouvoir valider ma commande sans choisir d&#039;option ?
Merci pour votre aide
Hélène</description>
		<content:encoded><![CDATA[<p>Bonjour,<br />
Super intéressant votre site <img src='http://bloggento.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) merci pour toutes ces infos.<br />
Voila mon problème, je vends un article sur lequel on peut rajouter une ou plusieurs options/accessoires. Ces options/accessoires sont également disponibles sans package, en article simple. Mon article n&#8217;est pas obligé de recevoir cette option, mais il peut être vendu sans.<br />
J&#8217;ai créé un produit packagé et rajouté mes options/accessoires dans les articles packagés. Le seul souci est que sur le site je ne peut pas mettre dans le panier sans avoir choisi au moins une option.<br />
Existe-t-il une astuce pour pouvoir valider ma commande sans choisir d&#8217;option ?<br />
Merci pour votre aide<br />
Hélène</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : cédric rousset</title>
		<link>http://bloggento.fr/produits-composes-bundle-product-/2975/comment-page-1#comment-1448</link>
		<dc:creator>cédric rousset</dc:creator>
		<pubDate>Mon, 01 Aug 2011 06:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://bloggento.fr/?p=2975#comment-1448</guid>
		<description>Bonjour,
Quelle version de magento ?</description>
		<content:encoded><![CDATA[<p>Bonjour,<br />
Quelle version de magento ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : bruno</title>
		<link>http://bloggento.fr/produits-composes-bundle-product-/2975/comment-page-1#comment-1446</link>
		<dc:creator>bruno</dc:creator>
		<pubDate>Sun, 31 Jul 2011 16:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://bloggento.fr/?p=2975#comment-1446</guid>
		<description>Bonjour,
j&#039;ai un soucis avec les articles packagés, et après plusieurs heures derrière l&#039;écran, je craque.

Je crée un article packagé,
M&#039;est demandé: les attributs, je laisse Default
               le type, packagé donc !
Je renseigne ensuite les diverses infos obligatoires (comme pour un article simple)
Puis je vais à l&#039;onglet &quot;Articles Packagés&quot; pour pouvoir paramétrer tout ca.
A ce moment là, je clique sur &quot;Ajouter une option&quot; mais la fenêtre d&#039;ajout d&#039;option n&#039;apparait jamais...

J&#039;ai tenté de rafraichir tout ce qui peut être rafraichi !
J&#039;ai tenté de changer de navigateur (ils y sont tous passés)
J&#039;ai tenté de le menacer, rien non plus.

Y aurait il une manip ou une case à cocher en préalable ?
Quelqu&#039;un a-t-il déjà eu ce problème ?

Merci
Bruno</description>
		<content:encoded><![CDATA[<p>Bonjour,<br />
j&#8217;ai un soucis avec les articles packagés, et après plusieurs heures derrière l&#8217;écran, je craque.</p>
<p>Je crée un article packagé,<br />
M&#8217;est demandé: les attributs, je laisse Default<br />
               le type, packagé donc !<br />
Je renseigne ensuite les diverses infos obligatoires (comme pour un article simple)<br />
Puis je vais à l&#8217;onglet &laquo;&nbsp;Articles Packagés&nbsp;&raquo; pour pouvoir paramétrer tout ca.<br />
A ce moment là, je clique sur &laquo;&nbsp;Ajouter une option&nbsp;&raquo; mais la fenêtre d&#8217;ajout d&#8217;option n&#8217;apparait jamais&#8230;</p>
<p>J&#8217;ai tenté de rafraichir tout ce qui peut être rafraichi !<br />
J&#8217;ai tenté de changer de navigateur (ils y sont tous passés)<br />
J&#8217;ai tenté de le menacer, rien non plus.</p>
<p>Y aurait il une manip ou une case à cocher en préalable ?<br />
Quelqu&#8217;un a-t-il déjà eu ce problème ?</p>
<p>Merci<br />
Bruno</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : cédric rousset</title>
		<link>http://bloggento.fr/produits-composes-bundle-product-/2975/comment-page-1#comment-1095</link>
		<dc:creator>cédric rousset</dc:creator>
		<pubDate>Sat, 11 Dec 2010 12:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://bloggento.fr/?p=2975#comment-1095</guid>
		<description>Salut,
Super retour merci Vincent. Tu peux ajouter un lien vers ton site pour que l&#039;ont visualise le résultat?</description>
		<content:encoded><![CDATA[<p>Salut,<br />
Super retour merci Vincent. Tu peux ajouter un lien vers ton site pour que l&#8217;ont visualise le résultat?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Vincent</title>
		<link>http://bloggento.fr/produits-composes-bundle-product-/2975/comment-page-1#comment-1094</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Sat, 11 Dec 2010 12:00:45 +0000</pubDate>
		<guid isPermaLink="false">http://bloggento.fr/?p=2975#comment-1094</guid>
		<description>@Agnès

Bonjour, je viens de passer pas mal de temps pour pouvoir lister des bundle products dans une page category et permettre à mes visiteurs d&#039;ajouter en un seul click le produit bundle. Par défaut c&#039;est impossible car Magento demande de sélectionner les produits options (qui forment le package).

La solution pour contourner ce problème est de récupérer la liste des options et ensuite de former le lien adéquat pour le bouton &quot;Ajouter au panier&quot;.

Voici le code à placer dans votre fichier (liste ou produit)
&lt;pre lang=&quot;php&quot;&gt;
	getId();
		$cartcnt = 0;
		$w = Mage::getSingleton(&#039;core/resource&#039;)-&gt;getConnection(&#039;core_write&#039;);
		$bundleResult = $w-&gt;query(&quot;select `option_id`, `selection_id` from `catalog_product_bundle_selection` where `parent_product_id`=$product_id&quot;);
		while ($row = $bundleResult-&gt;fetch(PDO::FETCH_ASSOC)) {
			$params[&#039;bundle_option[&#039;. $row[option_id] .&#039;]&#039;][] = $row[&#039;selection_id&#039;];
		};
		foreach($params as $key =&gt; $value) {
			unset($bundleOption);
			if (is_array($value)) {
				foreach($value as $val_key =&gt; $val_value) {
					$bundleOption .= &#039;&amp;&#039;.$key.&#039;[&#039;.$val_key.&#039;]=&#039;.$val_value;
				}
			} else {
				$bundleOption .= $key.&#039;=&#039;.$value;
			}
		}
	?&gt;
&lt;/pre&gt;


Ensuite vous pourrez récupérer la variable $bundleOption pour former votre lien d&#039;ajout au panier :

http://VOTRE_MAGENTO/checkout/cart/add?product=getId()?&gt;&amp;qty=1&amp;

Ce lien permettra du coup d&#039;ajouter le produit bundle en une seule fois avec l&#039;ensemble de ses options (et tout ce qui vient avec : quantité par produit option &gt;&gt; décrémentation du stock en base).

J&#039;espère que cela vous éclairera !!
Vincent</description>
		<content:encoded><![CDATA[<p>@Agnès</p>
<p>Bonjour, je viens de passer pas mal de temps pour pouvoir lister des bundle products dans une page category et permettre à mes visiteurs d&#8217;ajouter en un seul click le produit bundle. Par défaut c&#8217;est impossible car Magento demande de sélectionner les produits options (qui forment le package).</p>
<p>La solution pour contourner ce problème est de récupérer la liste des options et ensuite de former le lien adéquat pour le bouton &laquo;&nbsp;Ajouter au panier&nbsp;&raquo;.</p>
<p>Voici le code à placer dans votre fichier (liste ou produit)</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">	getId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$cartcnt</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$w</span> <span style="color: #339933;">=</span> Mage<span style="color: #339933;">::</span><span style="color: #004000;">getSingleton</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'core/resource'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getConnection</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'core_write'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$bundleResult</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$w</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;select `option_id`, `selection_id` from `catalog_product_bundle_selection` where `parent_product_id`=<span style="color: #006699; font-weight: bold;">$product_id</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$bundleResult</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">fetch</span><span style="color: #009900;">&#40;</span>PDO<span style="color: #339933;">::</span><span style="color: #004000;">FETCH_ASSOC</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'bundle_option['</span><span style="color: #339933;">.</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span>option_id<span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">']'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'selection_id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$params</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<a href="http://www.php.net/unset"><span style="color: #990000;">unset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$bundleOption</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/is_array"><span style="color: #990000;">is_array</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$val_key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$val_value</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					<span style="color: #000088;">$bundleOption</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&amp;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$key</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'['</span><span style="color: #339933;">.</span><span style="color: #000088;">$val_key</span><span style="color: #339933;">.</span><span style="color: #0000ff;">']='</span><span style="color: #339933;">.</span><span style="color: #000088;">$val_value</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #000088;">$bundleOption</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$key</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'='</span><span style="color: #339933;">.</span><span style="color: #000088;">$value</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Ensuite vous pourrez récupérer la variable $bundleOption pour former votre lien d&#8217;ajout au panier :</p>
<p><a href="http://VOTRE_MAGENTO/checkout/cart/add?product=getId()?&gt;&#038;qty=1&#038;amp" rel="nofollow">http://VOTRE_MAGENTO/checkout/cart/add?product=getId()?&gt;&#038;qty=1&#038;amp</a>;</p>
<p>Ce lien permettra du coup d&#8217;ajouter le produit bundle en une seule fois avec l&#8217;ensemble de ses options (et tout ce qui vient avec : quantité par produit option &gt;&gt; décrémentation du stock en base).</p>
<p>J&#8217;espère que cela vous éclairera !!<br />
Vincent</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : cédric rousset</title>
		<link>http://bloggento.fr/produits-composes-bundle-product-/2975/comment-page-1#comment-1086</link>
		<dc:creator>cédric rousset</dc:creator>
		<pubDate>Thu, 09 Dec 2010 12:37:39 +0000</pubDate>
		<guid isPermaLink="false">http://bloggento.fr/?p=2975#comment-1086</guid>
		<description>Bonjour,
Par défaut magento ne le permet pas, les produits groupés s&#039;en rapproche un peut, mais il y a un bouton ajout au panier pour chaque produits...
ça doit pouvoir se programmer..</description>
		<content:encoded><![CDATA[<p>Bonjour,<br />
Par défaut magento ne le permet pas, les produits groupés s&#8217;en rapproche un peut, mais il y a un bouton ajout au panier pour chaque produits&#8230;<br />
ça doit pouvoir se programmer..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Noah</title>
		<link>http://bloggento.fr/produits-composes-bundle-product-/2975/comment-page-1#comment-1085</link>
		<dc:creator>Noah</dc:creator>
		<pubDate>Thu, 09 Dec 2010 12:33:18 +0000</pubDate>
		<guid isPermaLink="false">http://bloggento.fr/?p=2975#comment-1085</guid>
		<description>Bonjour,

je cherche a réaliser vendre des produits packagés, par exemple un PC et un lecteur DVD ensemble, sans que le client puisse changer le contenu du pack.
Actuellement, j&#039;utilise un &quot;produit simple&quot; pour décrire mon pack, mais du coup cela ne gère pas les stocks..
Est-il possible de creer un produit groupé ou packagé sans laisser de choix au client ?


@julien:

pour votre cas, il suffit de proposer 2 drop-down nommés &quot;disque&quot; et &quot;disque secondaire&quot;</description>
		<content:encoded><![CDATA[<p>Bonjour,</p>
<p>je cherche a réaliser vendre des produits packagés, par exemple un PC et un lecteur DVD ensemble, sans que le client puisse changer le contenu du pack.<br />
Actuellement, j&#8217;utilise un &laquo;&nbsp;produit simple&nbsp;&raquo; pour décrire mon pack, mais du coup cela ne gère pas les stocks..<br />
Est-il possible de creer un produit groupé ou packagé sans laisser de choix au client ?</p>
<p>@julien:</p>
<p>pour votre cas, il suffit de proposer 2 drop-down nommés &laquo;&nbsp;disque&nbsp;&raquo; et &laquo;&nbsp;disque secondaire&nbsp;&raquo;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : francoisd</title>
		<link>http://bloggento.fr/produits-composes-bundle-product-/2975/comment-page-1#comment-1068</link>
		<dc:creator>francoisd</dc:creator>
		<pubDate>Tue, 30 Nov 2010 17:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://bloggento.fr/?p=2975#comment-1068</guid>
		<description>PS : je suis en version 1.3.2.4</description>
		<content:encoded><![CDATA[<p>PS : je suis en version 1.3.2.4</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : francoisd</title>
		<link>http://bloggento.fr/produits-composes-bundle-product-/2975/comment-page-1#comment-1067</link>
		<dc:creator>francoisd</dc:creator>
		<pubDate>Tue, 30 Nov 2010 15:59:27 +0000</pubDate>
		<guid isPermaLink="false">http://bloggento.fr/?p=2975#comment-1067</guid>
		<description>Bonjour,

je rencontre un problème lors de l&#039;ajout de mes produits dans le pack. Une fois l&#039;article à ajouter dans le pack trouvé, je coche le produit et appuie sur &quot;ajouter les produits sélectionnés à l&#039;option&quot;. Mais il ne se passe rien et ça ne sauvegarde pas.

De plus j&#039;ai ce message dans ma console d&#039;erreur javascript :
Erreur : $(bOption.idLabel + (&quot;_search_&quot; + parts[2])) is null
Fichier Source : monsite/js/index.php?c=auto&amp;f=,proto...dminhtml/uploader.js
Ligne : 600

Une idée ?</description>
		<content:encoded><![CDATA[<p>Bonjour,</p>
<p>je rencontre un problème lors de l&#8217;ajout de mes produits dans le pack. Une fois l&#8217;article à ajouter dans le pack trouvé, je coche le produit et appuie sur &laquo;&nbsp;ajouter les produits sélectionnés à l&#8217;option&nbsp;&raquo;. Mais il ne se passe rien et ça ne sauvegarde pas.</p>
<p>De plus j&#8217;ai ce message dans ma console d&#8217;erreur javascript :<br />
Erreur : $(bOption.idLabel + (&laquo;&nbsp;_search_&nbsp;&raquo; + parts[2])) is null<br />
Fichier Source : monsite/js/index.php?c=auto&amp;f=,proto&#8230;dminhtml/uploader.js<br />
Ligne : 600</p>
<p>Une idée ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

