Changing product listing default direction by layout

0
By looking at this class I noticed that magento does expect default_direction – indicating it can be modified via layout: Mage_Catalog_Block_Product_List:_beforeToHtml Layout.xml: <catalog_category_default translate="label"> <reference name="product_list"> <action [...]
cdokus-quality-measurements

cdokus 0008 fixes multiple psr-2 code compliance

0
Soon to be released!Checkout github develop branch if you want to check this out. git clone https://github.com/mrfroasty/cdokus.git
cdokus-1

Cdokus reviewed on 1.9.0.1v magento

0
Well obviously this weekend my wife and daughter are all out for swimming and I thought you know what ? Lets review the cdokus v0007 (latest) and see what all users will experience from Magento connect all the way to creating product and add some bunch pdf’s. The extension works pretty fine as [...]

Notice:Major server maintainance

0
Unfortunately this has to happen, as this blog is running under my machine which was built a while ago with x86 architecture.Finally starting on sunday till today I quite busy executing this make over to x86_64 My appologies for the invonience.So far so good most of the things are in place just [...]

Splitting Address in Magento

0
Zend_Debug::dump($address->getStreet(1)); Zend_Debug::dump($address->getStreet(2)); Zend_Debug::dump($address->getStreet(3));

ERROR 1449 (HY000) at line 16982: The user specified as a definer (‘user’@’localhost’) does not exist

0
/*!50013 DEFINER=`some_user`@`some_host` SQL SECURITY DEFINER */ As far as I know, there is not yet a flag for mysqldump to avoid DEFINER export. So, a solution is to replace DEFINER=`some_user`@`some_host` with DEFINER=CURRENT_USER

How to retrieve eav attribute’s database tables dynamically in Magento

0
This is a sample or example code where attributes database tables are being retrieved dynamically.In the end of the loop there is an example code where by some storeview level of the attributes are being removed as maintanance procedure or whatever someones wants to do. P:S **Notice the DELETE SQL [...]

Retrieving Attribute Options in Magento

0
This becomes handy if you intend to build a drop-down based on attribute options: < ?php   ini_set('display_errors', 1); require_once dirname(__FILE__) . '/../app/Mage.php'; Mage::app();   $results = Mage::getModel('eav/entity_attribute_source_table') [...]

Dumps && Logs – SF2

0
Dumping: use Doctrine\Common\Util\Debug; Debug::dump(__METHOD__.'#'.__LINE__); Log: REF:Symfony\Bridge\Monolog\Logger $logger = $this->get('logger'); $logger->info("foo");

Search Magento Products not attached to Categories – SQL

0
< ?php   ini_set('display_errors', 1); require '../app/Mage.php';   //init admin store Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);   /** * @desc Search All Product that are not attached to Any Category in Magento */ $resource = Mage::getSingleton('core/resource'); $db = [...]
Go to Top