Set Style for placeholder text
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

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
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
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 …