Installing Magento 2 on Ubuntu remains one of the most reliable ways to build a scalable, enterprise-grade e-commerce store. Whether you’re a developer setting up… Read More →
To enable template path hints in Magento 2 follow these steps: 1. Make sure your Magento 2 is in the default or developer mode (How… Read More →
Understanding Magento 2 File System Permissions and Ownership Magento 2 installation on Ubuntu servers running Apache requires precise file system permissions and ownership configuration to… Read More →
Error After Installing Magento 2 Go to – “D:\xampp\htdocs\mage2\vendor\magento\framework\View\Element\Template\File\”. Open The file name Validator.php Search for “$this->fileDriver->getRealPath“, you will find the similar code. Replace them with… Read More →
Refused to apply style because its MIME type (‘text/html’) is not a supported stylesheet MIME type
April 24, 2019
After installtion magento 2 you can see a error like MIME type not supported. To fix this: Use 2 comment: php bin/magento setup:static-content:deploy -f -s… Read More →
How to Filter Products Based on Attribute Value & Attribute set | magento | Magento 1.9
November 2, 2017
You can follow the code : <?php ob_start(); ini_set(‘max_execution_time’, 0); set_time_limit(0); ignore_user_abort(true); require_once ‘/chroot/home/powerme1/powermedicalsupplies.com/html/app/Mage.php’; Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); $_write = Mage::getSingleton(‘core/resource’)->getConnection(‘core_write’); $_read = Mage::getSingleton(‘core/resource’)->getConnection(‘core_read’); $collection = Mage::getModel(‘catalog/product’)->getCollection()->addAttributeToFilter(‘attribute_set_id’,9)->addAttributeToFilter(‘brand’, array(‘eq’… Read More →