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 1485 posted 12 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 1281 posted 12 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 1523 posted 12 years ago by simonwalker
A way to check if a static block is enabled/disabled in the backend.
0 1371 posted 12 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 1554 posted 12 years ago by magefreak
filter out by category ID in Magento
0 1321 posted 12 years ago by tomle123
- Mage 1.7* flag storeswitcher - images/flags/flag_[storeview_name].png
0 912 posted 13 years ago by WGenie
replace /app/code/core/Mage/Directory/Model/Currency/Import/Webservicex.php
0 1302 posted 13 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 2273 posted 13 years ago by luxmedia
One approach to get all child categories of a magento category.
0 1247 posted 13 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 1440 posted 13 years ago by cpres
Debugging a quote in magento, get all it's data.
1 1270 posted 13 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 1857 posted 13 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 1131 posted 13 years ago by TheJasonParker
Magento getting stock status of a product
1 1342 posted 13 years ago by duzenz
this snippet of code is getting the qty of product in magento
1 1275 posted 13 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 1449 posted 13 years ago by axertion
In this tutorial, we will see how to add custom fields to magento customer address.
0 1115 posted 13 years ago by etechblog
Snippet for getting the layout handles in Magento on each request, helpful for front-end developers.
1 2381 posted 13 years ago by zoranmk
Snippet for logging down all of the layout updates loaded on each request in Magento.
1 2416 posted 13 years ago by zoranmk
In this tutorial, we are going to see how to create a shipping method with form fields.
1 1281 posted 13 years ago by etechblog
0 1045 posted 13 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 999 posted 14 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 1133 posted 14 years ago by hotdiggity