Magento二次开发
「已注销」
这个作者很懒,什么都没留下…
展开
-
开发者对 Magento 的认识
作者 lizhanghan转载:http://www.evebit.com/about/developers-blog/item/169-to-the-understanding-of-the-magento-developers/magento是一款新的专业开源电子商务平台,设计灵巧,具有模块化架构体系和丰富的功能。对magento的模块及模块中的块,控制器,模型,辅助类,转载 2012-06-21 10:54:41 · 818 阅读 · 0 评论 -
magento获取域名及相关路径
PHTML文件中调用相关地址://获取 magento js 路径Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS);//http://你网站地址/index.php/Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);//获取 magento media 目录M转载 2013-03-11 13:33:55 · 1650 阅读 · 0 评论 -
Mganeto 常见错误解决
magento 错误解决转自http://hi.baidu.com/wolf_62/item/a5f963ede6f168eafb42ba6amagento安装域名出错Please enter a valid URL. Protocol is required错误出现在magento1.5版中。1.到网上查了一下,报错的直观原因是转载 2013-02-25 11:17:16 · 3218 阅读 · 0 评论 -
修复google shopping插件不断提示“Google Shopping synchronization process is running”
magento 版本:v1.6.1.0Google Shopping 版本:1.7.0.0 stable 使用了v1.7.0.0的google shopping一段时间后,在添加产品的时候显示了“Google Shopping synchronization process is running”,一直处于同步进行中的状态。开始,在进入数据库修改了状态 (update core原创 2013-01-21 11:55:55 · 1265 阅读 · 0 评论 -
magento中“ Google Content API for Shopping 1.6”提交新产品后显示空白页面的解决方法
magento 版本:v1.6.1.0Google Content API for Shopping 1.6早前,magento 添加新产品后一直处于“Google Shopping synchronization process is running”状态(可参考http://blog.csdn.net/matrixchan/article/details/8524154),修复之后,在原创 2013-01-29 17:27:10 · 1320 阅读 · 2 评论 -
Install Magento on Ubuntu
1. install apachesudo apt-get install apache22. install phpsudo apt-get install php5[视情况而定]sudo apt-get install libapache2-mod-php53.install mysqlapt-get install mysql-转载 2013-01-09 14:34:56 · 470 阅读 · 0 评论 -
magento 常用方法
一些magento的常用方法,记录备用.获取产品属性集1$sets = Mage::getResourceModel('eav/entity_attribute_set_collection') ->setEntityTypeFilter(Mage::getModel('catalog/product')->getResource()->ge转载 2013-01-25 17:55:33 · 547 阅读 · 0 评论 -
magento 添加jquery已经解决和prototype的冲突
1,下载jquery,放在/js/jquery/下。并在jquery代码下添加这行 在代码最后增加 jQuery.noConflict();jQuery.noConflict();2,修改/app/design/frontend/default/theme04/layout/page.xml 在大约38行按着prototype的添加方式,添加jquery原创 2012-11-21 17:50:16 · 437 阅读 · 0 评论 -
MagentoDesignGuide---about"fallback"
原创 2012-12-03 15:49:38 · 337 阅读 · 0 评论 -
Magento getModel getSingleton等常用函数说明
转自 http://justcoding.iteye.com/blog/1572599Mage::getModel 函数详解:在通常的PHP初始化类对象的时候,使用以下方式进行生成。$modelSales = new ModelSales();但是在magento 中初始化模型对象时候,使用以下的方式进行生成模型对象。$product = Mage::get转载 2012-11-29 15:00:14 · 495 阅读 · 0 评论 -
解决magento1.6快速支付不能自动发送邮件的问题
Magento appears to have a bug whereby if a user places an order using paypal express when they’re not logged into your site (ie: using the ‘guest checkout’ functionality of magento their email address原创 2012-09-18 15:48:46 · 502 阅读 · 0 评论 -
在 magento产品页面显示评论表单(review form)
1.首先找到对应模板文件里的catalog.xml 文件,找到如下代码:2.在此代码之后加上下面代码: 3.接着在对应模板文件里面的catalog/product/view.phtml 文件里面适当位置插入一行代码:getChildHtml('product_review') ?>4.刷新缓存即可。转载 2012-08-02 10:52:51 · 1304 阅读 · 2 评论 -
解决在add new review时候出现rating isn't available,而没有Visible In *选择的问题
假如magento里面只是创建了一个store view,那么当用户在Catalog->Review and Ratings->Customer Reviews ->All Reviews的时候没有出现Visible In的选择,从而导致Product Rating *一直显示rating isn't available。解决方法,在后台的System->Manage Stores里面添加原创 2012-08-02 11:11:51 · 1263 阅读 · 0 评论 -
手动安装 jirafe (Manual Installation Method)
摘自 https://github.com/jirafe/magento-plugin/wiki/Installation-ManualManual Installation MethodJirafe Extension for Magento / Installation / ManualImportant note: If you use Magento's com原创 2012-07-25 17:17:02 · 640 阅读 · 0 评论 -
magpie让支付测试变简单些
摘自 http://www.iteye.com/topic/802063由于国内的支付平台(比如支付宝)大多没有做供开发人员使用的沙盒功能, 在开发过程中凡是涉及到与这些支付平台有关的支付测试会让人感到很有些头大,首先我们不想拿真金白银去测试, 其次每次测试时需要把自己开发的商户系统部署到一个可以供外网访问的地方, 还有这些平台上的支付过程比较繁琐, 最后,这些支付平台提供的参数出错信息太转载 2012-08-02 17:02:49 · 690 阅读 · 0 评论 -
安装插件常见问题
Magento Connect: “Warning: Your Magento folder does not have sufficient write permissions.”解决方法1:find . -type f -exec chmod 644 {} \;find . -type d -exec chmod 755 {} \;chmod o+w var var/.htac原创 2013-07-17 16:01:44 · 529 阅读 · 0 评论