Explode a string using next line character in php
When we are dealing with import functionality or something like processing of data, We need to find a way to explode a string using next line character. For that We can use php’s inbuilt functionality explode string and using EOL …
Get product details from product id and name
In Magento eCommerce while working with catalog model, There arise the need to fetch product details from product id. We can get all product details if we have product id.But sometimes we only have product name, so we need to …
Get all shopping cart items and totals in magento
Here, We are discussing on how we can get all shopping cart items and totals in magento. It will be helpful in the cases if we need to show the informations regarding the cart and items somwhere in the website …
How to display products on magento home page
The common method to display products on magento home page is to use block code and we can display mainly three types of products in any page by default one is the newly added products second is all the products …
