<?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 19:21:54 +0000</lastBuildDate>
    <item>
      <title>(PHP) Get Magento Current Time - TioSolid</title>
      <link>https://snipplr.com/view/53180/get-magento-current-time</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 07 May 2011 05:26:56 UTC</pubDate>
      <guid>https://snipplr.com/view/53180/get-magento-current-time</guid>
    </item>
    <item>
      <title>(PHP) Uploading Files in Magento - TioSolid</title>
      <link>https://snipplr.com/view/53131/uploading-files-in-magento</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 06 May 2011 07:55:07 UTC</pubDate>
      <guid>https://snipplr.com/view/53131/uploading-files-in-magento</guid>
    </item>
    <item>
      <title>(PHP) Get magento locale date/time from GMT timestamp / current time - TioSolid</title>
      <link>https://snipplr.com/view/49841/get-magento-locale-datetime-from-gmt-timestamp--current-time</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 01 Mar 2011 04:59:18 UTC</pubDate>
      <guid>https://snipplr.com/view/49841/get-magento-locale-datetime-from-gmt-timestamp--current-time</guid>
    </item>
    <item>
      <title>(PHP) Dont merge carts after client login - TioSolid</title>
      <link>https://snipplr.com/view/45128/dont-merge-carts-after-client-login</link>
      <description>&lt;p&gt;Iâ€™ve implemented something similar a couple of months ago. What we wanted was to prevent the cart from the old session from merging into the cart of the current session at the point when the customer login.  If that describes what you want as well, then the way I did it was to overwrite Mage_Checkout_Model_Observer.  The function loadCustomerQuote() in the observer observes the event customer_login and merges the current session quote with the last login quote object&lt;/p&gt;</description>
      <pubDate>Thu, 02 Dec 2010 05:46:24 UTC</pubDate>
      <guid>https://snipplr.com/view/45128/dont-merge-carts-after-client-login</guid>
    </item>
    <item>
      <title>(PHP) Adding attribute / attribute group from MySql setup file - TioSolid</title>
      <link>https://snipplr.com/view/43765/adding-attribute--attribute-group-from-mysql-setup-file</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 08 Nov 2010 23:22:40 UTC</pubDate>
      <guid>https://snipplr.com/view/43765/adding-attribute--attribute-group-from-mysql-setup-file</guid>
    </item>
    <item>
      <title>(PHP) Retrieve Magento Core Configuration variables on the Magento frontend - TioSolid</title>
      <link>https://snipplr.com/view/43160/retrieve-magento-core-configuration-variables-on-the-magento-frontend</link>
      <description>&lt;p&gt;The "design/header/logo_src" matches the path column in the core_config_data table in the database. You can use the path value to load the value of any config row.&lt;/p&gt;</description>
      <pubDate>Fri, 29 Oct 2010 04:45:56 UTC</pubDate>
      <guid>https://snipplr.com/view/43160/retrieve-magento-core-configuration-variables-on-the-magento-frontend</guid>
    </item>
    <item>
      <title>(PHP) Retrieve product attributes outside product page - TioSolid</title>
      <link>https://snipplr.com/view/42330/retrieve-product-attributes-outside-product-page</link>
      <description>&lt;p&gt;How to retrieve product attributes outisde the product page in Magento&lt;/p&gt;</description>
      <pubDate>Fri, 15 Oct 2010 09:30:45 UTC</pubDate>
      <guid>https://snipplr.com/view/42330/retrieve-product-attributes-outside-product-page</guid>
    </item>
    <item>
      <title>(PHP) Get a list of store Categories - TioSolid</title>
      <link>https://snipplr.com/view/41820/get-a-list-of-store-categories</link>
      <description>&lt;p&gt;Return a list of all store Categories&lt;/p&gt;</description>
      <pubDate>Fri, 08 Oct 2010 07:09:43 UTC</pubDate>
      <guid>https://snipplr.com/view/41820/get-a-list-of-store-categories</guid>
    </item>
    <item>
      <title>(PHP) Magento - Get a custom product attribute - TioSolid</title>
      <link>https://snipplr.com/view/41215/magento--get-a-custom-product-attribute</link>
      <description>&lt;p&gt;How to get a custom product attribute inside a view (.phtml) file.&lt;/p&gt;</description>
      <pubDate>Fri, 01 Oct 2010 06:41:38 UTC</pubDate>
      <guid>https://snipplr.com/view/41215/magento--get-a-custom-product-attribute</guid>
    </item>
    <item>
      <title>(PHP) How to read module config data - TioSolid</title>
      <link>https://snipplr.com/view/41173/how-to-read-module-config-data</link>
      <description>&lt;p&gt;Allows you to read any config in the magento database based in its path. The path is defined inside the system.xml file of the module. The table is core_config_data&lt;/p&gt;</description>
      <pubDate>Thu, 30 Sep 2010 06:12:24 UTC</pubDate>
      <guid>https://snipplr.com/view/41173/how-to-read-module-config-data</guid>
    </item>
    <item>
      <title>(PHP) Magento: Get country and region collection - TioSolid</title>
      <link>https://snipplr.com/view/41127/magento-get-country-and-region-collection</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 29 Sep 2010 05:55:43 UTC</pubDate>
      <guid>https://snipplr.com/view/41127/magento-get-country-and-region-collection</guid>
    </item>
    <item>
      <title>(PHP) Easily creating static pages - TioSolid</title>
      <link>https://snipplr.com/view/37679/easily-creating-static-pages</link>
      <description>&lt;p&gt;I needed to create several pages that didn't use any models and contained static data inside the default layout. My first thought was to create a controller for these pages and define an action for each static page I needed. However, this solution seemed tedious and would make it difficult to quickly add new pages. Enter the pages controller - simply create a view inside the views/pages/ folder and it'll automatically be rendered in /pages. For example, if I created /views/pages/matt.thtml it would be accessible via http://www.example.com/pages/matt&lt;/p&gt;</description>
      <pubDate>Wed, 21 Jul 2010 01:26:43 UTC</pubDate>
      <guid>https://snipplr.com/view/37679/easily-creating-static-pages</guid>
    </item>
    <item>
      <title>(PHP) Allow access to a specific action (ACO) - TioSolid</title>
      <link>https://snipplr.com/view/34470/allow-access-to-a-specific-action-aco</link>
      <description>&lt;p&gt;Another common use of Auth component variables is to allow access to certain methods without the user being logged in (by default Auth restricts access to every action except the login and logout methods).&lt;/p&gt;</description>
      <pubDate>Fri, 14 May 2010 08:48:36 UTC</pubDate>
      <guid>https://snipplr.com/view/34470/allow-access-to-a-specific-action-aco</guid>
    </item>
    <item>
      <title>(PHP) Retrieve amount of items in cart - TioSolid</title>
      <link>https://snipplr.com/view/33740/retrieve-amount-of-items-in-cart</link>
      <description>&lt;p&gt;How to retrieve the amount of items the user has into the cart&lt;/p&gt;</description>
      <pubDate>Mon, 03 May 2010 08:53:04 UTC</pubDate>
      <guid>https://snipplr.com/view/33740/retrieve-amount-of-items-in-cart</guid>
    </item>
    <item>
      <title>(PHP) Get cart total price - TioSolid</title>
      <link>https://snipplr.com/view/33739/get-cart-total-price</link>
      <description>&lt;p&gt;How to get the cart total in a Magento Page&lt;/p&gt;</description>
      <pubDate>Mon, 03 May 2010 08:51:51 UTC</pubDate>
      <guid>https://snipplr.com/view/33739/get-cart-total-price</guid>
    </item>
  </channel>
</rss>
