自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 外贸事业全攻略

<br />关于外贸那点事<br />2008年圣诞节,海外垂直B-C一时之间火爆国内,于是乎不少人一夜暴富。转年来09年春天,当春姑娘的绣花针刺破了地爷爷面皮的时候ugg、tiffany、links、pandora、af、mbt太多太多的网站龙卷风似的席卷整个B-C领域。也就在那时也成就了国外各个机房的各种服务器、edm邮件群发机构、google ppc广告机构。网店软件ecshop、shopex、magento、zencart、osc……下载量也开始飙升,号称是N年资深的PHP程序员也开始进行了周边软件

2010-08-28 07:20:00 723

原创 Magento 模板调试

<br /># 打开System->Configuration<br /># 选择左边的Developer<br /># 从当前配置下拉框选择Main Website<br /># 打开Developer Tab的debug下拉框<br /># 设置Template Path Hints为Yes<br /> 

2010-08-28 07:18:00 441

原创 Magento 获取某类别下的产品

require_once 'app/Mage.php';   Mage::app('default');   $category = Mage::getModel('catalog/category')->load(3);    $productCollections = $category->getProductCollection(); $productCollections->addAttributeToSelect('name');  foreach($productCollections AS $

2010-08-28 07:17:00 1565

原创 Magento 非实体模型访问

getCollection(); $eavAttributeTable = Mage::getSingleton('core/resource')->getTableName('eav/attribute'); $categoryEntityVarcharTable = (string)Mage::getConfig()->getTablePrefix() . 'catalog_category_entity_varchar'; $collection->addAttribute

2010-08-28 07:16:00 403

原创 Magento 订单删除

<br />//注意要修改这个表的最后ID。<br />UPDATE `eav_entity_store` SET `increment_last_id` = '100000000' WHERE `entity_store_id` = '1' LIMIT 1 ;<br /><br />TRUNCATE `customer_address_entity`;<br />TRUNCATE `customer_address_entity_datetime`;<br />TRUNCATE `customer_add

2010-08-28 07:15:00 524

原创 Magento的checkout onepage下单时的必选字段修改成可选字段

<br />js/prototype/validation.js<br />Validation.addAllThese([<br />    ['validate-select', 'Please select an option.', function(v) {<br />                return ((v != "none") && (v != null) && (v.length != 0));<br />            }],<br />而validation框架实际上是

2010-08-27 06:08:00 1195

原创 Magento的pending订单在用户账户中不显示的解决办法

<br />magento1.4以前的版本,在用户的My Dashboard不现里显示,但是这个不能满足客户的需求,所以要解决这个问题。<br />首先我通过ftp进入网站,通过查看相关模板我找到了订单处理的类,在文件/app/code/core/Mage/Sales/Block/Recent.php里,在文件里有一段代码<br />parent::__construct();<br />        //TODO: add full name logic<br />        $orders = M

2010-08-27 06:06:00 923

原创 Magento PAYPAL支付方式研究

从而得出Magento模块url访问的命名规范http://////例如:http://192.168.1.211/index.php/paypal/standard/redirect/其中paypal:/app/code/core/Mage/Paypal/etc/config.xml中frontend片段中的 paypalstandard:/app/code/core/Mage/Paypal/controllers/StandardController.php去掉Con

2010-08-27 06:05:00 1043

原创 Magento 邮件模板以及发送邮件细节

<br />用户注册后是否需要邮件验证,如果需要的话用户注册的邮件没有发送成功,那么这个用户是无法LOGIN的,以下为设置部分:<br />system->configure->customers-customer configuration->create new account options这个里的Require Emails Confirmation 为No<br /> <br />邮件的实现过程:<br />拿order为例:<br />app/code/core/Mage/Sales/Model

2010-08-27 06:04:00 1247

原创 Magento模板的垂直菜单生成

<br />Magento 垂直菜单的修改步骤:<br />第一步.<br />编辑catalog.xml文件中的第 45行<br /><reference name="top.menu"><br /><block type="catalog/navigation" name="catalog.topnav" template="catalog/navigation/top.phtml"/><br /></reference><br />下添加为<br /><reference name=“left"><b

2010-08-27 06:03:00 584

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除