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 717 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 640 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 745 posted 10 years ago by simonwalker
A way to check if a static block is enabled/disabled in the backend.
0 773 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 862 posted 10 years ago by magefreak
filter out by category ID in Magento
0 698 posted 10 years ago by tomle123
- Mage 1.7* flag storeswitcher - images/flags/flag_[storeview_name].png
0 529 posted 11 years ago by WGenie
replace /app/code/core/Mage/Directory/Model/Currency/Import/Webservicex.php
0 677 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 761 posted 11 years ago by luxmedia
One approach to get all child categories of a magento category.
0 698 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 731 posted 11 years ago by cpres
Debugging a quote in magento, get all it's data.
1 658 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 1178 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 606 posted 12 years ago by TheJasonParker
Magento getting stock status of a product
1 764 posted 12 years ago by duzenz
this snippet of code is getting the qty of product in magento
1 664 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 747 posted 12 years ago by axertion
In this tutorial, we will see how to add custom fields to magento customer address.
0 554 posted 12 years ago by etechblog
Snippet for getting the layout handles in Magento on each request, helpful for front-end developers.
1 741 posted 12 years ago by zoranmk
Snippet for logging down all of the layout updates loaded on each request in Magento.
1 786 posted 12 years ago by zoranmk
In this tutorial, we are going to see how to create a shipping method with form fields.
1 620 posted 12 years ago by etechblog
0 533 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 522 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 549 posted 12 years ago by hotdiggity