Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged magento



Magento Google maps extension allows visitors to track the nearest physical store and get the directions online. It is a useful extension for e-merchants having multiple stores on different locations. The customers can also search for the store by t...
0 729 posted 10 years ago by simonwalker
This extension allows Magento based store owners to give their visitors an advance feature of creating gift registry for their upcoming wedding, engagement or birthday party. The registry creator can share the link of the wish-list on its social netw...
0 658 posted 10 years ago by simonwalker
This extension has been developed by Fme for Magento store owners. This extension enables store owners to post FAQ in separate page as well as under each product page. The customers can post questions, rate, like or comment on existing questions. The...
0 765 posted 10 years ago by simonwalker
A way to check if a static block is enabled/disabled in the backend.
0 789 posted 10 years ago by apani
- Check if any particular customer is currently logged in or not. - Get all the logged in customers with their recent activity. - Courtsey: <a href="http://ka.lpe.sh">http://ka.lpe.sh</a>
0 876 posted 11 years ago by magefreak
filter out by category ID in Magento
0 711 posted 11 years ago by tomle123
- Mage 1.7* flag storeswitcher - images/flags/flag_[storeview_name].png
0 538 posted 11 years ago by WGenie
replace /app/code/core/Mage/Directory/Model/Currency/Import/Webservicex.php
0 694 posted 11 years ago by bogdandev
Manually print out a category-navigation in a magento frontend template. within "stristr" you can enter an array of category-ids that should be hidden from display.
0 776 posted 11 years ago by luxmedia
One approach to get all child categories of a magento category.
0 712 posted 11 years ago by luxmedia
Adding HTML into custom blocks rather than hard coding makes it so people don't bother us devs to change sheite!
1 749 posted 11 years ago by cpres
Debugging a quote in magento, get all it's data.
1 677 posted 11 years ago by cpres
Add the below commented sections into the appropriate functions in your /app/code/core/Mage/Adminhtml/Block/Sales/Order/Grid.php and you'll be good to go! This has been (personally) tested with 1.6.1.0
1 1200 posted 12 years ago by ddavidd
Replace the code below in your templates 'media.phtml' file. This has mouseover and mouseout but can be removed it needed.
0 618 posted 12 years ago by TheJasonParker
Magento getting stock status of a product
1 777 posted 12 years ago by duzenz
this snippet of code is getting the qty of product in magento
1 678 posted 12 years ago by duzenz
Displays the attribute label and value by using the attribute code. This works on the Product Detail page in Magento.
1 764 posted 12 years ago by axertion
In this tutorial, we will see how to add custom fields to magento customer address.
0 565 posted 12 years ago by etechblog
Snippet for getting the layout handles in Magento on each request, helpful for front-end developers.
1 753 posted 12 years ago by zoranmk
Snippet for logging down all of the layout updates loaded on each request in Magento.
1 796 posted 12 years ago by zoranmk
In this tutorial, we are going to see how to create a shipping method with form fields.
1 633 posted 12 years ago by etechblog
0 540 posted 12 years ago by etechblog
In this blog, we will see how to add custom fields to magento onepage checkout steps. This method can be used to add custom field to any step in the checkout page, although in the current blog i have demonstrated how to add it to the billing step. T...
0 533 posted 12 years ago by etechblog
Lastly, in order to make magento connect to work correctly edit the pear.ini (downloader/pearlib/pear.ini) and update al the paths that you see in this file. Otherwise magentoconnect will try to upgrade your old site when you use it. (the files do...
0 563 posted 12 years ago by hotdiggity