Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

Text only

Magento Product Attachments Extension


https://snipt.net/embed/0551c615ce1b3d566962bd5690df2105/
https://snipt.net/raw/0551c615ce1b3d566962bd5690df2105/
0551c615ce1b3d566962bd5690df2105
text
Text only
1
2016-12-05T09:18:40
True
False
True
Feb 02, 2015 at 05:33 AM
/api/public/snipt/138065/
magento-product-attachments-extension-9e7c6463
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a> </span></pre></div> </td></tr></table>
"magento extension", "magento pdf", "magento product attachments", magento

PHP

Store Locator Magento Extension by FME


https://snipt.net/embed/735b424ddf32f8a0bc0da9b388596669/
https://snipt.net/raw/735b424ddf32f8a0bc0da9b388596669/
735b424ddf32f8a0bc0da9b388596669
php
PHP
1
2016-12-04T10:30:04
True
False
True
Feb 02, 2015 at 02:59 AM
/api/public/snipt/138063/
store-locator-magento-extension-by-fme-d9d1f1d1
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a> </span></pre></div> </td></tr></table>
"magento extension", "magento google maps", "magento store locator", magento

PHP

Magento Customize Checkout Extension by FME


https://snipt.net/embed/c0440416d45bc84fc8532183e4196ff1/
https://snipt.net/raw/c0440416d45bc84fc8532183e4196ff1/
c0440416d45bc84fc8532183e4196ff1
php
PHP
1
2016-12-04T06:03:45
True
False
True
Feb 02, 2015 at 02:31 AM
/api/public/snipt/138062/
magento-customize-checkout-extension-by-fme-872fa439
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a> </span></pre></div> </td></tr></table>
"magento customize checkout", "magento extension", magento

PHP

Magento Gallery Extension For Posting Images


https://snipt.net/embed/06153a704a2f6859bf27efc390a4fc67/
https://snipt.net/raw/06153a704a2f6859bf27efc390a4fc67/
06153a704a2f6859bf27efc390a4fc67
php
PHP
1
2016-11-29T15:44:19
True
False
True
Jan 16, 2015 at 01:09 AM
/api/public/snipt/137900/
magento-gallery-extension-for-posting-images-f2f44817
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a> </span></pre></div> </td></tr></table>
"magento extension", "magento photo gallery", magento

PHP

FME’s Geo IP Extension For Magento


https://snipt.net/embed/2b80f7cacc2a6a55b689bb0ae1585383/
https://snipt.net/raw/2b80f7cacc2a6a55b689bb0ae1585383/
2b80f7cacc2a6a55b689bb0ae1585383
php
PHP
1
2016-12-09T02:47:42
True
False
True
Jan 15, 2015 at 05:58 AM
/api/public/snipt/137882/
fmes-geo-ip-extension-for-magento-05223a17
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a> </span></pre></div> </td></tr></table>
"magento block ip", "magento geoip", magento

HTML

Magento Order Upload Extension

Want to attach photos or upload files into each product on the product details page, then just install this extension without doing any hacks to your core Magento files.
http://mage.club/magento-extensions-club/magento-image-order-upload-extension.html
https://snipt.net/embed/3e7910f94d572f1e18cbe9e8db1f6e7b/
https://snipt.net/raw/3e7910f94d572f1e18cbe9e8db1f6e7b/
3e7910f94d572f1e18cbe9e8db1f6e7b
html
HTML
2
2016-12-02T05:44:39
True
False
True
Sep 22, 2014 at 04:13 AM
/api/public/snipt/136541/
magento-order-upload-extension-65c60c38
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>Want to attach photos or upload files into each product on the product details page, then just install this extension without doing any hacks to your core Magento files. </span><span id="L-2"><a name="L-2"></a>http://mage.club/magento-extensions-club/magento-image-order-upload-extension.html </span></pre></div> </td></tr></table>
"magento extension", "order upload", extension, magento, order, upload

PHP

Echo out Name of the user - Magento

1
2
3
4
5
6
7
8
<?php 
    $session = Mage::getSingleton('customer/session');
        if($session->isLoggedIn()) {
        $customer = $session->getCustomer();
        echo $customer->getName();
        echo $customer->getFirstname();
    }
?>
https://snipt.net/embed/a884fcc3cd90a8172d55180eece89d35/
https://snipt.net/raw/a884fcc3cd90a8172d55180eece89d35/
a884fcc3cd90a8172d55180eece89d35
php
PHP
8
2016-12-09T12:25:23
True
False
False
Nov 21, 2013 at 03:03 AM
/api/public/snipt/95705/
echo-out-name-of-the-user-magento
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a> <a href="#L-7">7</a> <a href="#L-8">8</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?php</span> </span><span id="L-2"><a name="L-2"></a> <span class="nv">$session</span> <span class="o">=</span> <span class="nx">Mage</span><span class="o">::</span><span class="na">getSingleton</span><span class="p">(</span><span class="s1">&#39;customer/session&#39;</span><span class="p">);</span> </span><span id="L-3"><a name="L-3"></a> <span class="k">if</span><span class="p">(</span><span class="nv">$session</span><span class="o">-&gt;</span><span class="na">isLoggedIn</span><span class="p">())</span> <span class="p">{</span> </span><span id="L-4"><a name="L-4"></a> <span class="nv">$customer</span> <span class="o">=</span> <span class="nv">$session</span><span class="o">-&gt;</span><span class="na">getCustomer</span><span class="p">();</span> </span><span id="L-5"><a name="L-5"></a> <span class="k">echo</span> <span class="nv">$customer</span><span class="o">-&gt;</span><span class="na">getName</span><span class="p">();</span> </span><span id="L-6"><a name="L-6"></a> <span class="k">echo</span> <span class="nv">$customer</span><span class="o">-&gt;</span><span class="na">getFirstname</span><span class="p">();</span> </span><span id="L-7"><a name="L-7"></a> <span class="p">}</span> </span><span id="L-8"><a name="L-8"></a><span class="cp">?&gt;</span><span class="x"></span> </span></pre></div> </td></tr></table>
magento, username

XML

Magento - Remove category filter

1
2
3
4
5
6
7
<?php //Add this to your local.xml - removes category filter from sideabar. ?>

<catalog_category_layered>
                <block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml">
                 <action method="unsetChild"><child>category_filter</child></action>
                </block>
</catalog_category_layered>
https://snipt.net/embed/c512d85933e9117164da388572ee663f/
https://snipt.net/raw/c512d85933e9117164da388572ee663f/
c512d85933e9117164da388572ee663f
xml
XML
7
2016-12-09T12:25:29
True
False
False
Nov 14, 2013 at 11:37 AM
/api/public/snipt/94171/
magento-remove-category-filter
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a> <a href="#L-7">7</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?php //Add this to your local.xml - removes category filter from sideabar. ?&gt;</span> </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a><span class="nt">&lt;catalog_category_layered&gt;</span> </span><span id="L-4"><a name="L-4"></a> <span class="nt">&lt;block</span> <span class="na">type=</span><span class="s">&quot;catalog/layer_view&quot;</span> <span class="na">name=</span><span class="s">&quot;catalog.leftnav&quot;</span> <span class="na">after=</span><span class="s">&quot;currency&quot;</span> <span class="na">template=</span><span class="s">&quot;catalog/layer/view.phtml&quot;</span><span class="nt">&gt;</span> </span><span id="L-5"><a name="L-5"></a> <span class="nt">&lt;action</span> <span class="na">method=</span><span class="s">&quot;unsetChild&quot;</span><span class="nt">&gt;&lt;child&gt;</span>category_filter<span class="nt">&lt;/child&gt;&lt;/action&gt;</span> </span><span id="L-6"><a name="L-6"></a> <span class="nt">&lt;/block&gt;</span> </span><span id="L-7"><a name="L-7"></a><span class="nt">&lt;/catalog_category_layered&gt;</span> </span></pre></div> </td></tr></table>
"category filter", magento
Copyrighted, illegal, or inappropriate content? Email [email protected].