magento分类下的博客

magento性能优化的教程(非常详细)

piaoling  2016-08-04 13:36:09

magento性能优化的教程(非常详细) Magento是一套专业开源的电子商务系统,Magento设计得非常灵活,具有模块化架构体系和丰富的功能但有朋友会发现此模块用到了会发现非常的缓慢了,那么下面我们来看关于magento性能优化的例子。 前面优化 mod_deflate模块,将text、 css 和 javascript 先进行压缩再发送到浏览器。这样就会减少网络下载量,缩短等待时间,示例如下: # Insert filter on all content     SetOutputFilter DEFLATE     # Insert ......

类别 :  magento(258)  |  浏览(1431)  |  评论(1)

magento2教程

piaoling  2016-02-16 10:55:37

If you are a developer, an ecommerce merchant, or just a tech enthusiast with a goal to learn everything about Magento 2, you’ve come to the right place. The following blog post consists of Firebear’s articles related to Magento 2. Our team is always working on new materials, so this Magento 2 tutorial is always growing. Magento 2 Overview This is our major post related to the second version of the platform. It includes basic information about Magento 2, as well as lots of useful links. Magento 2 download, roadmap, features, plans, tutorials and tons of other u......

类别 :  magento(258)  |  浏览(1731)  |  评论(0)

Magento1.7多语言或多店铺产品URL跳转问题

piaoling  2015-01-19 15:55:39

http://www.chinaz.com/web/2013/0116/289780.shtml 在Magento1.7或 以前的版本中,当你启用多语言或多店铺,并在“系统->配置->Web”里设置Url Options “Add Store Code to Urls”为YES 。这个时候,很多SKU多语言或多店铺的产品URL也会跟关不同的语言或店铺发生变化,直接切换语言或店铺时就会出现404页面。 解决方法: 1、修改文件: /app/code/core/Mage/Core/Model/Url/Rewrite.php 第252行: // $targetUrl = $request->getBaseUrl(). ‘/’ . $this->getRequestPath(); 注释......

类别 :  magento(258)  |  浏览(1198)  |  评论(0)

MAGETNO datetime

piaoling  2014-04-12 23:55:03

Mage::app()->getLocale()->utcDate($store, gmmktime(), true)->toString(Varien_Date::DATETIME_INTERNAL_FORMAT) Mage::app()->getLocale()->date($bid->getBidTime(),Varien_Date::DATETIME_INTERNAL_FORMAT)->toString(Varien_Date::DATETIME_INTERNAL_FORMAT) ......

类别 :  magento(258)  |  浏览(1145)  |  评论(0)

magento问题解答

piaoling  2013-08-15 16:02:25

magento find answer http://magento.stackexchange.com/ ......

类别 :  magento(258)  |  浏览(1145)  |  评论(0)

Magento form field dependence

piaoling  2012-12-28 10:18:09

file : app/code/core/Mage/Adminhtml/Block/Catalog/Product/Attribute/Edit/Tab/Main.php // define field dependencies $this->setChild('form_after', $this->getLayout()->createBlock('adminhtml/widget_form_element_dependence') ->addFieldMap("is_wysiwyg_enabled", 'wysiwyg_enabled')//param1 is form element id, param2 is element maped ->addFieldMap("is_html_allowed_on_front", 'html_allowed_on_front') ->addFieldMap("frontend_input", 'frontend_input_type') ->addFieldDependence('wysiw......

类别 :  magento(258)  |  浏览(1798)  |  评论(0)

Magento Eav Collection Bug

piaoling  2012-10-26 10:53:40

When product attribute has no default value, but in a specific store level or website level the attribute has value. When get Product Collection with the store level, it will not get the value. bug in: Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract :: _getLoadAttributesSelect() $select = $this->getConnection()->select() ->from(array('default'=>$table), array($entityIdField, 'attribute_id', 'default_value'=>'value')) ->joinLeft( array('store'=>$table), ......

类别 :  magento(258)  |  浏览(1089)  |  评论(0)

Magento collection print query

piaoling  2012-10-23 09:30:20

Varien_Data_Collection_Db::load($print=false,$log=false)......

类别 :  magento(258)  |  浏览(1184)  |  评论(0)

magento image resize

piaoling  2012-10-18 00:53:26

       $filename ='F:/wamp/www/connection/style/theme/article-bottom-orig.png';         $processor = new Varien_Image($filename);                  $processor->keepAspectRatio(false);//保持高宽比         $processor->keepFrame(false);//保持帧         $processor->keepTransparency(true);//保持透明度         $processor->constrainOn......

类别 :  magento(258)  |  浏览(1279)  |  评论(0)

10 problems you can solve with these Magento tips

piaoling  2012-10-10 10:53:22

10 problems you can solve with these Magento tips August 8th, 2011 by Mirko in Blog, Featured, How-to & tutorials, Web design We install WordPress for you FOR FREE! Setting up an e-commerce website with Magento is not too complicated, the install and global configuration are pretty easy and shouldn’t cause too many problems. For more advanced configuration and template tweaks, things can get a bit more hectic, but with the following Magento tips it should already get a little easier. 1. Add a custom “add to cart” button o......

类别 :  magento(258)  |  浏览(1746)  |  评论(0)
  • Page:1/26  258 Blogs
    <<
    >>
    20088
    周日 周一 周二 周三 周四 周五 周六

    文章分类