Set Style for placeholder text

Posted by on Sep 27, 2013 in Css, HTML | No comments yet

Sometimes we need to modify the placeholder styles like color for placeholder, text transformation etc. In this post we can see how this can be done A browser applies predefined styles to text displayed via the placeholder attribute. By default, …

Get logged in customer details magento

Posted by on Sep 26, 2013 in Magento | No comments yet
Get logged in customer details magento

Here we are discussing about how to get logged in customer details.Below code shows how we can achieve that Before using this code make sure to check whether a user is logged in or not by this code As a …

Add to cart url for magento products

Posted by on Sep 20, 2013 in Magento | No comments yet

Some times when customizing the themes for magento we need to get the add to cart url for magento products.Its not much complicated as its done with the help of one line of code The above codes shows the two …

Filtering data collection magento

Posted by on Sep 20, 2013 in Magento | No comments yet

In this post we are discussing about how filtering data collection is done on magento The most important method on a database Collection is addFieldToFilter. This adds your WHERE clauses. Consider this bit of code, run against the sample data …

Load More