magento教程 在提示框里显示Magento表单验证错误信息 在提示框里显示Magento表单验证错误信息,它可以快速地提高你的表单验证错误信息,并且在提示框里显示。 这里不需要做任何的模版修改,你所要做的只是编辑你的CSS文件,用自定义... 2017-01-02 阅读全文
magento教程 magento对获取的数据在前台进行分页显示 magento对获取的数据在前台进行分页显示,1.数据加载类 class Bf170_Bf170Logistics_Block_Inquiry_Index extends Mage_Core_Block_Template { public function __construct(){ parent::__construct(); $account = new Varien_Object(); $r... 2017-01-02 阅读全文
magento教程 获取Magento中所有启用的支付模块 下面的代码将获取你所有启用的Magento支付模块。下面的例子返回一个数组,你可以用它在Magento的前后台创建一个下拉框或者别的东西。 class Alwayly_Vendor_Model_Activpayment{ public function get... 2017-01-02 阅读全文
magento教程 如何扩展Magento订单网格 这里是Magento一个小示例来解释如何修改订单网格。订单网格的主类是Mage_Adminhtml_Block_Sales_Order_Grid,如果你想添加一些列,你必须重写这个类(块)。 如何重写magento块 blocks adminhtml re... 2017-01-02 阅读全文
magento教程 插入动态菜单到Magento后台 最近Magento的一个核心功能(后台管理员菜单需要XML定义)让我觉得沮丧。我想要加一些快速的网站/店铺链接到后台。解决方法是重写Magento的一个后台块,然后连接我的动态菜单(没有... 2017-01-02 阅读全文
magento教程 在Magento2后台应用和配置一个主题 禁用系统缓存 当Magento系统缓存开启时,你必须每次都清理缓存来查看你的设计给前端带来的改变。为了避免这种情况,在更改设计的同时禁用某些系统缓存。你需要要这么做: 后台进... 2017-01-01 阅读全文
magento教程 Magento邮寄方式的设置和修改 要配置你的Magento邮寄方式,你需要登录后台,然后进入 System - Configuration - Sales -Shipping Methods. 在开启邮寄方式前你需要完成邮寄方式的设置,在 System - Configuration - Sales - Shipping Setting... 2017-01-01 阅读全文
magento教程 Magento支付方法的设置和修改 Magento提供不同的支付方法来支持各种支付方式。例如:Paypal,Authorize.net和其它的支付方式。客户也能通过普通信用卡(如Visa,Master Card,American Express等)来完成支付。 要在Magento中配置... 2017-01-01 阅读全文
magento教程 Magento Proceed to checkout按钮神秘失踪了 一个Magento网站突然没有订单了,通过Google Analytics 分析发现,很多客户都是在checkout/cart/ 这个页面跳出的。于是打开网站购物车页面一看,果然发现了问题。原来是 Proceed to checkout 按钮... 2017-01-01 阅读全文
magento教程 设置magento1只有登录后才能访问网站 1、知道magento网站所在模板下的layout文件下的page.xml: 在下面代码的下面 block type=page/html name=root output=toHtml template=page/3columns.phtml 加入:block type=page/html name=user-redirect as=user-redirect temp... 2017-01-01 阅读全文