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 105 posted 6 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 89 posted 6 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 105 posted 6 years ago by simonwalker
A way to check if a static block is enabled/disabled in the backend.
0 119 posted 7 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 124 posted 7 years ago by magefreak
filter out by category ID in Magento
0 80 posted 7 years ago by tomle123
- Mage 1.7* flag storeswitcher - images/flags/flag_[storeview_name].png
0 72 posted 7 years ago by WGenie
replace /app/code/core/Mage/Directory/Model/Currency/Import/Webservicex.php
0 111 posted 7 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 110 posted 8 years ago by luxmedia
One approach to get all child categories of a magento category.
0 104 posted 8 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 99 posted 8 years ago by cpres
Debugging a quote in magento, get all it's data.
1 86 posted 8 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 168 posted 8 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 110 posted 8 years ago by TheJasonParker
Magento getting stock status of a product
1 106 posted 8 years ago by duzenz
this snippet of code is getting the qty of product in magento
1 88 posted 8 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 94 posted 8 years ago by axertion
In this tutorial, we will see how to add custom fields to magento customer address.
0 70 posted 8 years ago by etechblog
Snippet for getting the layout handles in Magento on each request, helpful for front-end developers.
1 99 posted 8 years ago by zoranmk
Snippet for logging down all of the layout updates loaded on each request in Magento.
1 91 posted 8 years ago by zoranmk
In this tutorial, we are going to see how to create a shipping method with form fields.
1 62 posted 8 years ago by etechblog
0 66 posted 8 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 63 posted 8 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 62 posted 8 years ago by hotdiggity