magento中的joinAttribute joinField
2011-10-31 10:44:00 通常我们使用Mage::getModel('catalog/product')->getCollection()能够获取到产品集。 在这个产品集中,只包含了table catalo…
记录学习和工作
2011-10-31 10:44:00 通常我们使用Mage::getModel('catalog/product')->getCollection()能够获取到产品集。 在这个产品集中,只包含了table catalo…
我曾错误地认为 Magento 安装后,只要启用 cache,Magento 就会缓存页面的大部分内容,比如,cms, product, category 的 content block。 直到今天第 N 遍看 Magento wiki,才…
2011-10-27 11:24:00 在货品处或者其他部分页面出现了一下几种错误提示: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried …
比如要在place order时执行自己附加的操作(如MaxMind提供的minFraud 检测),我总是不太希望覆盖Order的place方法。Magento提供了Event机制优雅地处理这样的事情。 就以上面提到的minFraud检测(…
2011-10-24 20:36:00 比如要看443端口被谁占用了 cmd---netstat -ano 看看443端口对应的pid是多少 在任务管理器里面就可以看到443端口对应的进程的pid是多少,就知道是哪个程序了,kill掉进程,…
If someone want to show more than 5 new product in home page. http://www.magentocommerce.com/boards/viewthread/16287/P0/…
2011-10-24 21:49:00 <?php //判断是否为组合产品! if($ product->getTypeId()=="grouped"){ // echo "product type:".$ product-&g…
2011-10-14 17:10:00 如果你想在magento中手动写sql语句 (in the .php code files or .phtml template files), 可以按如下格式: $connection = Mage…