logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

magento学习日志之一

1.grouped product和bundle product区别grouped product在前台可以选择所需要的产品的数量,产品不可以设置is requiredbuldle product提供的功能更为丰富,将产品分组,再从组中用checkbox,multiselect,radio等多种选择方式去选择需要的产品,分组可以设置is required2.stock status

magento send email

protected function _sendEmailTemplate($template, $sender, $templateParams = array(), $storeId = null)    {        /** @var $mailer Mage_Core_Model_Email_Template_Mailer */        $mailer = Mage:

magento自定义的payment method是否可用的判断

/app/code/core/Mage/Payment/Model/Method/Abstract.php isApplicableToQuote()[10:39:22] emily: 你的payment类会继承Mage_Payment_Model_Method_Abstract[10:39:31] emily: 这里有个isApplicableToQuote

magento自定义后台配置

示例路径如下:D:\htdocs\magento_a\app\code\local\Exercise\Avatar第一步:建module的配置文件 D:\htdocs\magento_a\app\etc\modules\Exercise_Avatar.xml                      true            local

magento给order的incrementID加前缀

Sometimes the need arises where you must change the Magento order numbering. Perhaps it is necessary to avoid conflict with a separate Magento installation or other ecommerceplatform. Or maybe you

magento 根据attribute code/id获取attribute对象 及options

$attributes = Mage::getModel('catalogsearch/advanced')->getAttributes();$attributeArray=array();foreach($attributes as $a){if($a->getAttributeCode() == 'desired_attribute_code'){foreach($a->getSou

重置magento后台用户密码

进入相应数据库以后,运行select * from admin_user;查看所有后台用户信息.update admin_user set password=CONCAT(MD5('qXpassword),':qX') where username='admin'; //执行完这条语句即可用admin/password登录后台. 也可以把sql语句里的password换成你需要的密码

到底了