PHP Composer – The Right Way to Install & Upgrade Third Party Magento 2 Extensions

Though Magento 2 is an open source platform. But installing and upgrading modules is not an easy task, this needs expertise in Magento 2 platform. But, what if you implement PHP Composer?  This task will be more convenient if such an effective solution as PHP Composer is implemented. Basically, the composer helps the store owners…

Get Upto 20% Discount on All Extensionhut Products on Christmas & New-Year !

The festive season is here! It’s time for freebies! So get ahead and leverage your E-commerce business with our superior Christmas & New Year offers! On the occasion of Xmas and New Year, we bring up to 20% discount on the purchase of 2 or more products. To pump up the enthusiasm of our clients, we offer a…

Magento: Direct SQL Queries

To start with, Magento uses data models which provide a great way to access and modify data. Varien uses aptly named methods and clever abstraction to hides away the complex SQL, which is needed when performing data operations. While this makes learning models easier, it often impacts the operation speed and therefore, the responsiveness of…

Magento: Display Products on Home Page with Pagination

If you want to display products on home page of your Magento Store with pagination then follow these simple steps to add such functionality in your Magento Store: Go to CMS > Manage Pages and click on the ‘Home page’. Under the ‘Design’ tab, insert the following code in the ‘Update Layout XML’ field: 3…

Magento : Get Base Url , Skin Url , Media Url , Js Url , Store Url and Current Url

Get Url in phtml files 1. Get Base Url : Mage::getBaseUrl(); 2. Get Skin Url : Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN); (a) Unsecure Skin Url : $this->getSkinUrl(‘images/imagename.jpg’); (b) Secure Skin Url : $this->getSkinUrl(‘images/imagename.gif’, array(‘_secure’=>true)); 3. Get Media Url : Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA); 4. Get Js Url : Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS); 5. Get Store Url : Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB); 6. Get Current Url Mage::helper(‘core/url’)->getCurrentUrl(); Get Url…