How to Get a Product by SKU in Magento?
Get a Product by SKU in Magento. In Magento usually we upload product by its ID $product = Mage::getModel(‘catalog/product’)->load($product_id); But when need to get product by its attribute SKU. To...
Get a Product by SKU in Magento. In Magento usually we upload product by its ID $product = Mage::getModel(‘catalog/product’)->load($product_id); But when need to get product by its attribute SKU. To...
Bootstrap nav pills are an important part which are used for website menu navigation respectively. They can be used inline, vertical, with different size, color, with toggle and more examples...
Change Admin URL in Magento-: Default Magento backend URL is set to be default as /admin/ (i.e. http://www.example.com/admin/) and changing default /admin/ path to any other random string is done by...
Get All Products Reviews On CMS Page In Magento To get the all product review on CMS page in Magento use the below given code to get the desired results...
Information Technology is one of the most improved industries in the last few decades. Web Development is leading the way as the one platform that has made this possible of...
Executing Custom Query in magento. When you are working with the custom Magento development then we need use specific custom queries to get the desired result respectively. Here we have...
SEO (Search Engine Optimisation) is one of the trending terms for the last two decade with the internet being part of the industry that further adds to ‘What’ we prefer...
When you installed the Magento Then you will get a default theme from Magento. If you want more than the default appearance and functionality for your Magento store, the simplest...
Enable/Disable Extension in Magento:- Magento extension are the extra feature that allows smooth integration of these specific functionality within the site itself. In this blog today we are going to...
Website XML Sitemap plays an important role in SEO for fetching the correct information by Web Crawlers. Hence they must be configured precisely for better SEO practices. Today we are...
So you want to add more products on Magento site homepage with pagination. For this you need to add custom code to the design tab of the home page information....
Magento Check Current Page Is Homepage Or not If you are looking to solve whether the current page is Home page in Magento or not then use the below given...
Get All Values Of a Attribute In Magento:- To display dropdown attribute of all possible values of Attribute in Magento that you have created custom you can use the below...
addAttributeToFilter is one of the main function of the Magento from which specific product collection can be called from the database using queries only. You can use write the queries...
Syntax : mysqli_autocommit(connection,mode); Description : It used to turns on or off auto-committing on database modifications done by MySQL operation like INSERT, UPDATE ,DELETE , SELECT etc. Note : This...
Syntax : mysqli_affected_rows(connection); Description : It used to get the information about number of affected rows in a previous MySQL operation like INSERT, UPDATE ,DELETE , SELECT etc. For SELECT...
Magento offers complete functionality for Product star ratings and reviews within admin panel. Below are the step by step guidance for enabling this rich functionality in Magento CMS. First Step:-...
Responsive web design is built by writing CSS for all devices that are in use with respect to their respective width. When we talk about responsive than first of all...
In the following code we are going to study how to remove all items in a Magento Product Collection in a simple way. $Collection = Mage::getModel(‘catalog/product’)->getCollection() foreach( $collection as $item...
Following is the code to get current Category name and id on product page in Magento. <?php $catname = Mage::getModel(‘catalog/layer’)->getCurrentCategory()->getName(); //gives current category name $catid = Mage::getModel(‘catalog/layer’)->getCurrentCategory()->getId(); //gives current category...