When you are customize the magento site you may be want to get current category,root category and sub category details like category ID,name,…etc.Here is a simple example.
Here,simple scripts to get store url, media url, skin url, site url, js url, current page url, site url in magento.You can use these methods in your phtml files in magento.
Here,simple script to get base url, store url, media url, skin url in magento.You can use this method in your static blocks in magento.
Sometimes when you are customizing your Magento files that you want to get current category ID or name. Here ,easy method to get current category ID or name in Magento.This will direct return category ID or name.
After executed the product csv file of the Magento you may seen this CSV Import SKU error.So the reason is your csv format is
After importing products,sometimes you can’t view it’s images of that product.Product images are missing.If already included image names/path of the csv file this is happening.Here simple MySQL Query that will fill the missing records, and which you will need to…
How to import and export all products,categories and image using csv file in Magento.Here easy method to import and export all products without doing any errors and issues.
Here is a simple script to check admin is logged or not and if logged get admin details of Magento.You can call to the session and the call to user function to get all details.
If you are not installed magento previously this is a problem you faced.After installation magento returns a message that the installation was successful and you can proceed to the administration panel. Although providing the correct username / password, magento does…