<?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: Custom shipping method in Magento</title>
	<atom:link href="http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/feed/" rel="self" type="application/rss+xml" />
	<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/</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: Rinku</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-28743</link>
		<dc:creator>Rinku</dc:creator>
		<pubDate>Mon, 07 May 2012 09:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-28743</guid>
		<description>when we apply the above code then the shipping method and shipping price are not see in admin-&gt;config. why</description>
		<content:encoded><![CDATA[<p>when we apply the above code then the shipping method and shipping price are not see in admin-&gt;config. why</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wouter Samaey</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-26542</link>
		<dc:creator>Wouter Samaey</dc:creator>
		<pubDate>Mon, 20 Feb 2012 17:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-26542</guid>
		<description>This is great! But I&#039;m also wondering how to add my custom parcel tracking to this.

Can you demonstrate a simple case?

When the shipment is booked, the tracking URL should end up in the email to the customer.</description>
		<content:encoded><![CDATA[<p>This is great! But I&#8217;m also wondering how to add my custom parcel tracking to this.</p>
<p>Can you demonstrate a simple case?</p>
<p>When the shipment is booked, the tracking URL should end up in the email to the customer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-24634</link>
		<dc:creator>Alberto</dc:creator>
		<pubDate>Thu, 22 Dec 2011 19:47:46 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-24634</guid>
		<description>Is there any way to apply a specific shipping costs for each category?</description>
		<content:encoded><![CDATA[<p>Is there any way to apply a specific shipping costs for each category?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-24207</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 09 Dec 2011 23:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-24207</guid>
		<description>I am trying to create this, in magento 1.6.1 using LOCAL folder, and it never appears ...
does anybody knows why? maybe magento is not checking my system.xml file?</description>
		<content:encoded><![CDATA[<p>I am trying to create this, in magento 1.6.1 using LOCAL folder, and it never appears &#8230;<br />
does anybody knows why? maybe magento is not checking my system.xml file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-22865</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 27 Sep 2011 13:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-22865</guid>
		<description>Hi I followed your example but i get this error.

getConfigFlag(&#039;active&#039;)) { return false; } $freeBoxes = 0; if ($request-&gt;getAllItems()) { foreach ($request-&gt;getAllItems() as $item) { if ($item-&gt;getFreeShipping() &amp;&amp; !$item-&gt;getProduct()-&gt;isVirtual()) { $freeBoxes+=$item-&gt;getQty(); } } } $this-&gt;setFreeBoxes($freeBoxes); $result = Mage::getModel(&#039;shipping/rate_result&#039;); if ($this-&gt;getConfigData(&#039;type&#039;) == &#039;O&#039;) { // per order $shippingPrice = $this-&gt;getConfigData(&#039;price&#039;); } elseif ($this-&gt;getConfigData(&#039;type&#039;) == &#039;I&#039;) { // per item $shippingPrice = ($request-&gt;getPackageQty() * $this-&gt;getConfigData(&#039;price&#039;)) - ($this-&gt;getFreeBoxes() * $this-&gt;getConfigData(&#039;price&#039;)); } else { $shippingPrice = false; } $shippingPrice = $this-&gt;getFinalPriceWithHandlingFee($shippingPrice); if ($shippingPrice !== false) { $method = Mage::getModel(&#039;shipping/rate_result_method&#039;); $method-&gt;setCarrier(&#039;G4S&#039;); $method-&gt;setCarrierTitle($this-&gt;getConfigData(&#039;title&#039;)); $method-&gt;setMethod(&#039;G4S&#039;); $method-&gt;setMethodTitle($this-&gt;getConfigData(&#039;name&#039;)); if ($request-&gt;getFreeShipping() === true &#124;&#124; $request-&gt;getPackageQty() == $this-&gt;getFreeBoxes()) { $shippingPrice = &#039;0.00&#039;; } $method-&gt;setPrice($shippingPrice); $method-&gt;setCost($shippingPrice); $result-&gt;append($method); } return $result; } public function getAllowedMethods() { return array(&#039;G4S&#039;=&gt;$this-&gt;getConfigData(&#039;name&#039;)); } }
Fatal error: Call to a member function setStore() on a non-object in /home/covertas/public_html/supa/magento/app/code/core/Mage/Shipping/Model/Shipping.php on line 247

any help?</description>
		<content:encoded><![CDATA[<p>Hi I followed your example but i get this error.</p>
<p>getConfigFlag(&#8216;active&#8217;)) { return false; } $freeBoxes = 0; if ($request-&gt;getAllItems()) { foreach ($request-&gt;getAllItems() as $item) { if ($item-&gt;getFreeShipping() &amp;&amp; !$item-&gt;getProduct()-&gt;isVirtual()) { $freeBoxes+=$item-&gt;getQty(); } } } $this-&gt;setFreeBoxes($freeBoxes); $result = Mage::getModel(&#8216;shipping/rate_result&#8217;); if ($this-&gt;getConfigData(&#8216;type&#8217;) == &#8216;O&#8217;) { // per order $shippingPrice = $this-&gt;getConfigData(&#8216;price&#8217;); } elseif ($this-&gt;getConfigData(&#8216;type&#8217;) == &#8216;I&#8217;) { // per item $shippingPrice = ($request-&gt;getPackageQty() * $this-&gt;getConfigData(&#8216;price&#8217;)) &#8211; ($this-&gt;getFreeBoxes() * $this-&gt;getConfigData(&#8216;price&#8217;)); } else { $shippingPrice = false; } $shippingPrice = $this-&gt;getFinalPriceWithHandlingFee($shippingPrice); if ($shippingPrice !== false) { $method = Mage::getModel(&#8216;shipping/rate_result_method&#8217;); $method-&gt;setCarrier(&#8216;G4S&#8217;); $method-&gt;setCarrierTitle($this-&gt;getConfigData(&#8216;title&#8217;)); $method-&gt;setMethod(&#8216;G4S&#8217;); $method-&gt;setMethodTitle($this-&gt;getConfigData(&#8216;name&#8217;)); if ($request-&gt;getFreeShipping() === true || $request-&gt;getPackageQty() == $this-&gt;getFreeBoxes()) { $shippingPrice = &#8217;0.00&#8242;; } $method-&gt;setPrice($shippingPrice); $method-&gt;setCost($shippingPrice); $result-&gt;append($method); } return $result; } public function getAllowedMethods() { return array(&#8216;G4S&#8217;=&gt;$this-&gt;getConfigData(&#8216;name&#8217;)); } }<br />
Fatal error: Call to a member function setStore() on a non-object in /home/covertas/public_html/supa/magento/app/code/core/Mage/Shipping/Model/Shipping.php on line 247</p>
<p>any help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Stanton</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-22795</link>
		<dc:creator>Chris Stanton</dc:creator>
		<pubDate>Thu, 22 Sep 2011 10:13:31 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-22795</guid>
		<description>This works fine in Magento CE 1.5 except that after a customer has used the method I created there is no reorder button on the customers dashboard under that specific order, all other shipping methods allow for reorder.

Only thing I did different from the tutorial is that I based my shipping method on the Free Shipping default method included in Magento.

Anyone else have this issue or know why and how to fix it?

Cheers,
Chris</description>
		<content:encoded><![CDATA[<p>This works fine in Magento CE 1.5 except that after a customer has used the method I created there is no reorder button on the customers dashboard under that specific order, all other shipping methods allow for reorder.</p>
<p>Only thing I did different from the tutorial is that I based my shipping method on the Free Shipping default method included in Magento.</p>
<p>Anyone else have this issue or know why and how to fix it?</p>
<p>Cheers,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas Vital Matos Dias Gabriel</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-22684</link>
		<dc:creator>Lucas Vital Matos Dias Gabriel</dc:creator>
		<pubDate>Wed, 14 Sep 2011 14:13:24 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-22684</guid>
		<description>Hey man, is there a way I could use this tutorial to create a shipping mode that applies only to certain categories of products?</description>
		<content:encoded><![CDATA[<p>Hey man, is there a way I could use this tutorial to create a shipping mode that applies only to certain categories of products?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-22547</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Fri, 02 Sep 2011 12:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-22547</guid>
		<description>Please John, you said &quot;This is because of the path in core_config_data. Each of the records have to be deleted and it works fine&quot; I would be very grateful you tell what you realy mean because i am having the problem. In this core_config_data table, there are many paths, which one do i delete? Please please, i need your help. Keep all good work alive.</description>
		<content:encoded><![CDATA[<p>Please John, you said &#8220;This is because of the path in core_config_data. Each of the records have to be deleted and it works fine&#8221; I would be very grateful you tell what you realy mean because i am having the problem. In this core_config_data table, there are many paths, which one do i delete? Please please, i need your help. Keep all good work alive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-22452</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 25 Aug 2011 11:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-22452</guid>
		<description>EDIT:
The code example is a complete working version, I just noticed that the original code did include the end tag  but that it is placed wrong.</description>
		<content:encoded><![CDATA[<p>EDIT:<br />
The code example is a complete working version, I just noticed that the original code did include the end tag  but that it is placed wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-22451</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 25 Aug 2011 11:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-22451</guid>
		<description>Thanx, very nice and almost working example(using magento 1.5.1).
You have forgotten to end the [code]&lt;sort-order  translate=&quot;label&quot;&gt;[/code] tag:
[code]
&lt;sort_order translate=&quot;label&quot;&gt;
			    &lt;label&gt;Sort Order&lt;/label&gt;
			    &lt;frontend_type&gt;text&lt;/frontend_type&gt;
			    &lt;sort_order&gt;100&lt;/sort_order&gt;
			    &lt;show_in_default&gt;1&lt;/show_in_default&gt;
			    &lt;show_in_website&gt;1&lt;/show_in_website&gt;
			    &lt;show_in_store&gt;0&lt;/show_in_store&gt;
                        &lt;/sort_order&gt; &lt;- This is missing in the above code, but easy to spot and fix.
[/code]

Besides that it works great and shows up in the store as well.

DO NOTE!! You can not use special chars like åäö in the xml. Use the html equivalent instead. If you do use it the admin page will not display any of the shipping modules instead.</description>
		<content:encoded><![CDATA[<p>Thanx, very nice and almost working example(using magento 1.5.1).<br />
You have forgotten to end the
<pre class="brush: plain; title: ; notranslate">&lt;sort-order  translate=&quot;label&quot;&gt;</pre>
<p> tag:</p>
<pre class="brush: plain; title: ; notranslate">
&lt;sort_order translate=&quot;label&quot;&gt;
			    &lt;label&gt;Sort Order&lt;/label&gt;
			    &lt;frontend_type&gt;text&lt;/frontend_type&gt;
			    &lt;sort_order&gt;100&lt;/sort_order&gt;
			    &lt;show_in_default&gt;1&lt;/show_in_default&gt;
			    &lt;show_in_website&gt;1&lt;/show_in_website&gt;
			    &lt;show_in_store&gt;0&lt;/show_in_store&gt;
                        &lt;/sort_order&gt; &lt;- This is missing in the above code, but easy to spot and fix.
</pre>
<p>Besides that it works great and shows up in the store as well.</p>
<p>DO NOTE!! You can not use special chars like åäö in the xml. Use the html equivalent instead. If you do use it the admin page will not display any of the shipping modules instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-22145</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sun, 31 Jul 2011 17:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-22145</guid>
		<description>can I set up multiple prices for rates 
ex 
10.00
5.00
15.00
?
in the config.xml</description>
		<content:encoded><![CDATA[<p>can I set up multiple prices for rates<br />
ex<br />
10.00<br />
5.00<br />
15.00<br />
?<br />
in the config.xml</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivo Barbosa</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-22003</link>
		<dc:creator>Ivo Barbosa</dc:creator>
		<pubDate>Thu, 21 Jul 2011 14:24:16 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-22003</guid>
		<description>I need some example to make shipping module in Magento 1.5, anybody can help me?
Thanks.</description>
		<content:encoded><![CDATA[<p>I need some example to make shipping module in Magento 1.5, anybody can help me?<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sajeena</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-21876</link>
		<dc:creator>Sajeena</dc:creator>
		<pubDate>Tue, 12 Jul 2011 08:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-21876</guid>
		<description>Hello

i have to develop a new shipping method for MaltaPost in magento. Please let me know whether it is possible</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>i have to develop a new shipping method for MaltaPost in magento. Please let me know whether it is possible</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zaid</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-21796</link>
		<dc:creator>zaid</dc:creator>
		<pubDate>Mon, 04 Jul 2011 09:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-21796</guid>
		<description>how may i add region in shipping method?

http://stackoverflow.com/questions/6355409/magento-get-region-list-for-country-in-admin-shipping-module

i flow this ling but it is not working when i select country and then region what can i do?</description>
		<content:encoded><![CDATA[<p>how may i add region in shipping method?</p>
<p><a href="http://stackoverflow.com/questions/6355409/magento-get-region-list-for-country-in-admin-shipping-module" rel="nofollow">http://stackoverflow.com/questions/6355409/magento-get-region-list-for-country-in-admin-shipping-module</a></p>
<p>i flow this ling but it is not working when i select country and then region what can i do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ramesh</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-21723</link>
		<dc:creator>ramesh</dc:creator>
		<pubDate>Tue, 28 Jun 2011 09:59:26 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-21723</guid>
		<description>informations in this site are very very useful for everyone in the world.

My suggestion is to please change coding background color in your site. because now it very dark.
site take some high loading time. reduce it if possible.

informations in this site are very valuable.</description>
		<content:encoded><![CDATA[<p>informations in this site are very very useful for everyone in the world.</p>
<p>My suggestion is to please change coding background color in your site. because now it very dark.<br />
site take some high loading time. reduce it if possible.</p>
<p>informations in this site are very valuable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gopalpatel</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-21643</link>
		<dc:creator>gopalpatel</dc:creator>
		<pubDate>Wed, 22 Jun 2011 06:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-21643</guid>
		<description>i had use this code it is correct and complete thanks for that.but now i want to need shipping charge based on total which is manage from admin.shipping charge will be 2% of total and if total&gt;400 then shipping charge will be free so please help me for that i m new in magento.
thanks in advance.</description>
		<content:encoded><![CDATA[<p>i had use this code it is correct and complete thanks for that.but now i want to need shipping charge based on total which is manage from admin.shipping charge will be 2% of total and if total&gt;400 then shipping charge will be free so please help me for that i m new in magento.<br />
thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yogesh</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-21022</link>
		<dc:creator>Yogesh</dc:creator>
		<pubDate>Tue, 17 May 2011 08:19:11 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-21022</guid>
		<description>Its work fine for me but i want to know is it proper way to use, what if a new version of magento comes and somebody runs upgrade over system everything will be vanished then, is it possible to override this system.xml and config.xml, i can override shipping model but confused with the xml files.</description>
		<content:encoded><![CDATA[<p>Its work fine for me but i want to know is it proper way to use, what if a new version of magento comes and somebody runs upgrade over system everything will be vanished then, is it possible to override this system.xml and config.xml, i can override shipping model but confused with the xml files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Umut</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-19437</link>
		<dc:creator>Umut</dc:creator>
		<pubDate>Sun, 13 Feb 2011 19:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-19437</guid>
		<description>I can get the above to work on Magento 1.5 but when I try to create a shopping cart price rule using something like if shipping method is Custom Method, it just throws me back to the dashboard
I assume we need to add the custom method to the database or mage somewhere else in the program?
Any thoughts?</description>
		<content:encoded><![CDATA[<p>I can get the above to work on Magento 1.5 but when I try to create a shopping cart price rule using something like if shipping method is Custom Method, it just throws me back to the dashboard<br />
I assume we need to add the custom method to the database or mage somewhere else in the program?<br />
Any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vedran Subotic</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-15319</link>
		<dc:creator>Vedran Subotic</dc:creator>
		<pubDate>Mon, 03 Jan 2011 07:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-15319</guid>
		<description>@John

This example is more than 1 year old.
Install new Magento, follow step by step and code it from scratch.

Thanks for reply</description>
		<content:encoded><![CDATA[<p>@John</p>
<p>This example is more than 1 year old.<br />
Install new Magento, follow step by step and code it from scratch.</p>
<p>Thanks for reply</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://inchoo.net/ecommerce/magento/custom-shipping-method-in-magento/comment-page-1/#comment-15230</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 02 Jan 2011 22:01:33 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2669#comment-15230</guid>
		<description>Hi,

It&#039;s me again (for the last time). I figured out the errors.. even after disabling this module, when clicking on invoices, the error throws up. This is because of the path in core_config_data

Each of the records have to be deleted and it works fine.

Perhaps you might want to mention this and others might find it useful.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>It&#8217;s me again (for the last time). I figured out the errors.. even after disabling this module, when clicking on invoices, the error throws up. This is because of the path in core_config_data</p>
<p>Each of the records have to be deleted and it works fine.</p>
<p>Perhaps you might want to mention this and others might find it useful.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

