Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
为什么magento的rewrite方法对抽象类无效
magento中 xff0c 是没法通过Mage getModel 34 xx xx 34 配合xml中的 lt rewrite gt 实现abstruct class的rewrite 为什么 xff1f 这需要详细了解一下magento中
Magento
rewrite
方法对抽象类无效
magento中生成https链接的简单方法
有关magento中https的基础知识 xff0c 请看 magento中的启用https 如果是在项目的后期才决定采用https xff0c 那么就要面临一个问题 xff1a 大量的生成url的代码需要修改 xff0c 这是一个很大的工
Magento
https
链接的简单方法
解决magento中guest页面cookie保存时间过短问题
在magento新的企业版11 xff0c 有个新的功能退货 xff08 RMA xff09 xff0c 不仅能退货 xff0c 还能以guest的身份查看订单的各种信息 xff0c 但在IE下有个问题 xff1a cookies的保存时间
Magento
guest
Cookie
保存时间过短问题
magento中的启用https
在Magento的后台管理中 General gt web gt secure 有安全链接的设置 xff0c 所谓安全链接 xff0c 是指启用了https 协议的链接 百度百科中关于https的介绍 xff08 http baike ba
Magento
https
中的启用
magento下读取CSV文件的简单方法
load csv file this gt csvAdapter 61 Mage getModel 39 ImportExport import adapter csv 39 filepath while this gt csvAdapte
Magento
csv
文件的简单方法
magento 添加customer attribute的方法
http stackoverflow com questions 5961290 adding attributes to customer entity 5962237 5962237 installer 61 this installe
Magento
customer
attribute
magento 自定义pager自定义每页显示多少条记录
1 在xml中 xff0c 定义catalog product list toolbar为xxxx xxxxter toolbar lt xxxx xxxxter index gt lt reference name 61 34 root
Magento
pager
自定义每页显示多少条记录
magento PE 11.00中Product URL Suffix的一个bug
在SEO中有个需求 xff1a Product URL Suffix为 xff0c Category URL Suffix为 但在实际的测试中 xff0c 发现 xff1a Product URL Suffix为 xff0c Categor
Magento
Product
URL
Suffix
Bug
magento项目中使用多个数据库的方法
1 在app etc local xml 中 xff0c 添加新的数据库选项 lt xml version 61 34 1 0 34 gt lt Magento NOTICE OF LICENSE This source file is s
Magento
项目中使用多个数据库的方法
magento中的attribute 总结
1 加载某个attribute xff1a attributeCode 61 Mage getModel 39 catalog resource eav attribute 39 gt load attrbuteId gt getData
Magento
attribute
高级应用Magento-订单创建流程及程序代码
出处 xff1a http www wemvc com 1606 html 老规矩 xff0c 直接看代码吧 下面的代码是如何通过程序创建一个完美订单 lt php require once 39 app Mage php 39 Mage
Magento
高级应用
订单创建流程及程序代码
magento负载均衡使用同一个数据库的方法
在magento的负载均衡策略中 xff0c 其中一个方法是有多台服务来跑同一份代码 xff0c 使用同一个数据库 例如 xff0c 有一台服务器A xff0c 网址是www a com xff0c 另外一台服务器B xff0c 网址是ww
Magento
负载均衡使用同一个数据库的方法
magento中单例模式的变形实现
单例模式确保某一个类只有一个实例 xff0c 而且自行实例化并向整个系统提供这个实例 这个类称为单例类 单例模式的要点有三个 xff1b 一是某个类只能有一个实例 xff1b 二是它必须自行创建这个实例 xff1b 三是它必须自行向整个系统
Magento
中单例模式的变形实现
magento salerule中关于attribute的一个bug
描述 xff1a 在salerule的action中 xff0c 想优惠规则应用于attribute season值为autumn的商品 season是在项目中新添加的一个product attribute xff0c 如下图 xff1a
Magento
salerule
attribute
Bug
magento的一些小技巧(20120321更新)
1 加载某个attribute xff1a attributeCode 61 Mage getModel 39 catalog resource eav attribute 39 gt load attrbuteId gt getData
Magento
20120321
一些小技巧
magento:在controller中添加breadcrumbs
在 controller中 xff1a this gt loadLayout breadCrumb 61 this gt getLayout gt getBlock 39 breadcrumbs 39 这是 breadCrumb gt ad
Magento
controller
breadcrumbs
magento创建category时的一些注意点
1 Include in Navigation Menu 设置成yes xff0c 能显示在导航栏上 2 Is Anchor 设置成yes xff0c 能在这个category上显示所有子category的产品 注意 xff1a 要重新re
Magento
category
时的一些注意点
magento下生成excle文件方法
注意 xff0c 这种方法本质上是生成xml文件 xff0c 但excel是能打开这种xml格式 xff0c 以下是一个demo xff1a data 61 array array 39 name 39 39 birthday 39 arr
Magento
excle
文件方法
Magento Enterprise Full Page Caching
出处 xff1a https aniscartujo com webproxy default aspx prx 61 http magentophp blogspot com 2011 02 magento enterprise full
Magento
Enterprise
FULL
page
caching
解决安装magento时“Unable to read response, or response is empty” 的错误
在安装magento时有时会出现 Url http 79 170 40 182 cosmeticsfairy co uk magento is not accessible Unable to read response or respon
Magento
Unable
read
response
empty
«
1 ...
27
28
29
30
31
32
33
»