Magento products can have many numbers of attributes with different input types (Text Field, Textarea, Yes/No, Dropdown, Multiple Select etc). While developing a Magento website, it’s very often to get attribute’s option if it is a select/multiselect attribute type. In this post, I will show you how to get select/multiselect …
Read moreMagento has many numbers of modules, controllers, actions & routers, so it is little difficult to find the actual name of the module, controller, action or router name from the URL request. While we develop a Magento website, many times we need to get module, controller, action name from the …
Read moreIn Magento 2, we can create many number of product attributes and attribute groups on admin without any issues. But sometimes we may need to create product attribute and attribute group through installable script. For instance, while we develop a Magento 2 extension, we have to use installable script to …
Read moreBy default in Magento, we can reindex all the Magento data through Admin Panel using the below the path, Magento Admin Side > System > Index Management here we can select the indexes and reindex them. However, sometimes the reindexing process times out and does not complete through the web interface. …
Read moreThis post will help you to get base url, skin url, media url, js url, store url and current url in Magento. This is very basic post, that will help to beginners. Get Url in PHTML Files Get Base Url: Mage::getBaseUrl() // Get base url path e.g. http://website.com/ Mage::getBaseUrl(‘media’) // …
Read moreMagento comes with default logging system that can be extremely helpful when debugging any issues you may have. By default in Magento, the logging is not enabled, so we have to enable the logging in Magento admin side under System > Configuration > Developer (under ADVANCED tab) > Log Settings. …
Read moreIn this blog, I will show you how to display products on Magento 2 homepage in a few easy steps. By default, your Magento 2 homepage will be blank. This is because you need to specifically instruct Magento 2 to display certain category or group of products on the homepage. …
Read moreIn Magento 1, we can enable template path hints for frontend by using admin system configuration, but there is no option on admin system configuration to enable template path hints for admin panel. But we can enable template path hints for admin panel through code. Enable template and block path …
Read moreIn Magento, we can add/remove our custom CSS and JS files very easily. In this post, I will show you how to add/remove CSS and JS files in your magento theme. We can add the CSS and JS files in the following two ways, Add/Remove CSS and JS files through …
Read more