<?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; tier prices</title>
	<atom:link href="http://blog.adin.pro/tag/tier-prices/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 create tier prices programmatically</title>
		<link>http://blog.adin.pro/2015-07-10/magento-create-tier-prices-programmatically/</link>
		<comments>http://blog.adin.pro/2015-07-10/magento-create-tier-prices-programmatically/#comments</comments>
		<pubDate>Fri, 10 Jul 2015 12:54:06 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[tier prices]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=494</guid>
		<description><![CDATA[<p>Here a simple script to create tier prices programmatically</p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2015-07-10/magento-create-tier-prices-programmatically/">magento create tier prices programmatically</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>Here a simple script to create tier prices programmatically</p>
<pre class="brush: php; title: ; notranslate">
$product = Mage::getModel('catalog/product')-&gt;load(904);
$product-&gt;setPrice($tarif-&gt;getPrix());
    
$tier_price = array();
foreach($tarif-&gt;getQtyDetails() as $detail)
{
   $tier_price[] = array(
     'cust_group'    =&gt; 32000,
     'website_id'    =&gt; 0,
     'all_groups'    =&gt; 1,
     'price_qty'     =&gt; $detail-&gt;getMin(),
     'price'         =&gt; $detail-&gt;getPrix(),
     'website_price' =&gt; $detail-&gt;getPrix(),
  );
}
$product-&gt;setTierPrice($tier_price);
</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2015-07-10/magento-create-tier-prices-programmatically/">magento create tier prices programmatically</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/2015-07-10/magento-create-tier-prices-programmatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
