Archive: magento interview question
-
Jul 29, 2011
Comments OffHow to Install Sample Data for Magento?
// // // ]]>Remember that, Sample Data must be installed prior to the basic Magento Installation. But never mind if you forgot to install sample data before installing Magento. Here, I will show you how you can install sample data after you have installed Magento. 1) Download Sample Data zip file from Magento Website 2)...
-
Nov 22, 2010
Comments OffAdding CSS Class name to My Account Link (Anchor Tag) in Magento through XML Layout
At the first instance I thought WTH! must be pretty simple, add params in XML layout and “Voila!“. But later I found that it was not simpler as I thought. I had to get into the addLink method for sometime (1/2hr) and finally I came up with correct structure of XML layout. At the end...
-
Nov 22, 2010
Comments OffAdding Custom Javascript on Admin form in Magento (Backend)
Sometimes in Magento, while creating a custom module we need to add our custom Javascript code in our Admin form. These Admin forms we create are extened from the Magento’s core form widget. So there is a less flexibiliy of adding a custom Javasccript code in such types of Admin forms. What to do if...
-
Nov 09, 2010
Comments Offall Post of ajax javascript php magento jquery and all web developement related tutorials
Sleek and Smooth animated menu using jQuery by Bagesh singh 1 person liked this Today, I’m going to show you something interesting with jQuery. Yesterday I was thinking something to post something programming related stuff in blog after long time and I came across a website, whose menu impressed me a lot. But checking it...
-
Oct 14, 2010
Comments OffMagento: Setting Up a Default Shipping Method on Cart Page
I recently came to a situation where I need to show a shipping price amount on cart before selecting the shipping address from the checkout page. Basically shipping price is shown after the user has added the shipping address and selected the shipping method. So to show shipping price on cart page load, I needed...
-
Oct 14, 2010
Comments OffAdding CSS Class name to My Account Link (Anchor Tag) in Magento through XML Layout
At the first instance I thought WTH! must be pretty simple, add params in XML layout and “Voila!“. But later I found that it was not simpler as I thought. I had to get into the addLink method for sometime (1/2hr) and finally I came up with correct structure of XML layout. At the end...
-
Oct 14, 2010
Comments OffAdding Custom Javascript on Admin form in Magento (Backend)
Sometimes in Magento, while creating a custom module we need to add our custom Javascript code in our Admin form. These Admin forms we create are extened from the Magento’s core form widget. So there is a less flexibiliy of adding a custom Javasccript code in such types of Admin forms. What to do if...
-
Oct 11, 2010
Comments OffHow to add Sitemap to a Magento Site
Most of you must be knowing the importance and use of Sitemaps on your websites, but let me make it clear for those who dont know, how a sitemap helps for the rapid boost of your website. Well, Sitemaps are tree like structure blocks, which can fetch all of your pages and list on one...
-
Oct 11, 2010
Comments OffRetrieve products with a specific attribute value in magento
Almost all Magento Models have a corresponding Collection object that can be used to fetch multiple instances of a Model. To instantiate a Product collection, do the following $collection = Mage::getModel(‘catalog/product’)->getCollection(); Products are a Magento EAV style Model, so you’ll need to add on any additional attributes that you want to return. $collection = Mage::getModel(‘catalog/product’)->getCollection();...
-
Jun 30, 2010
Comments Off