<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 13:08:39 +0000</lastBuildDate>
    <item>
      <title>(PHP) Setting default shipping method in Magento - ef</title>
      <link>https://snipplr.com/view/52776/setting-default-shipping-method-in-magento</link>
      <description>&lt;p&gt;Inspired by http://subesh.com.np/2010/08/magento-setting-default-shipping-method-cart-page/.&#13;
Basically Magento requires only countryId in shipment address to show shipment methods (at least in polish case). Very useful if you want user to select shipment method before specifying address.&#13;
This code must be put in init method of Mage_Checkout_Model_Cart or class that redefines it,  just after line 122 (after Mage_Checkout_Model_Cart {...} in other words), otherwise it won't show up in cart when user first enters it, only when he/she refershes it.&lt;/p&gt;</description>
      <pubDate>Fri, 29 Apr 2011 02:34:40 UTC</pubDate>
      <guid>https://snipplr.com/view/52776/setting-default-shipping-method-in-magento</guid>
    </item>
    <item>
      <title>(PHP) Getting path to controller in Zend Framework - ef</title>
      <link>https://snipplr.com/view/51408/getting-path-to-controller-in-zend-framework</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 01 Apr 2011 04:46:11 UTC</pubDate>
      <guid>https://snipplr.com/view/51408/getting-path-to-controller-in-zend-framework</guid>
    </item>
  </channel>
</rss>
