
magento
chenjie3392593
学而不思则罔,思而不学则殆! 汇小川而成大河,滴水可以穿石,学习在于日积月累
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
vue-storefront
https://github.com/DivanteLtd/vue-storefrontVue Storefront - PWA for eCommerce. 100% offline, platform agnostic, headless, Magento 2 supported. Always Open Source, MIT license. Join us as contributo...原创 2019-01-02 20:29:23 · 1325 阅读 · 0 评论 -
Getting product attributes values and labels
I have included few code snippets which will guide you on how to get attribute code, attribute value, attribute label. Being a Magento developer its little difficult specially for beginner to get原创 2013-08-21 17:16:44 · 698 阅读 · 0 评论 -
Maganto错误-Cannot initialize the indexer process的解决方法
http://sjolzy.cn/Maganto-error-Cannot-initialize-the-indexer-process-solutions.html原创 2013-04-15 14:51:12 · 647 阅读 · 0 评论 -
mysql数据库解除外键
标签: 数据库 问题 SET 外键 尾巴magento的数据库导入导出要处理外键的问题。经过测试,只要加上这段话便可顺利解除外键。头部/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHAR原创 2013-04-15 15:17:45 · 1086 阅读 · 0 评论 -
How do I disable Magento Compiler?
Like this article? Frustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commer原创 2013-04-15 16:18:18 · 912 阅读 · 0 评论 -
Markup Tags of magento CMS
* Markup Tags o What is a template tag? o Where can I use template tags? o How do I use template tags? o Which tags can I use? + {{block i原创 2013-01-03 15:54:22 · 813 阅读 · 0 评论 -
Magento - 版本升级方法的一些教程
帮助您升级您的 Magento1. 知道你的 Magento 升级都需要些什么:Google 一下有关于你需要升级新版本的特别注意部分,如果不出意外,你将这些准备信息收集完毕,那么下一步就是去解决它。2. 备份你的程序:这是必须要做的,养成好习惯,不然很可能让你后悔,终端操作如下:view sourceprint?1 $ tar -cvvzf your_site_转载 2012-11-06 10:06:55 · 1683 阅读 · 0 评论 -
zencart-magento.com
http://www.zencart-magento.com/转载 2012-10-15 13:25:29 · 530 阅读 · 0 评论 -
Category Flat Data - Can’t initialize indexer process magento
We found a solution on a corrupted database where we had the same problem with category flat catalog indexation.The following sql statement helped us (don’t forget to backup your database before e原创 2012-09-28 19:43:25 · 813 阅读 · 0 评论 -
Speeding up Magento with APC or Memcached
We often hear complaints about how Magento is slow and performs poorly. Developers know, however, that performance is relative and that we can do a number of things to speed up a Magento site. This ar原创 2012-09-01 17:22:34 · 855 阅读 · 0 评论 -
Magento Issues
How to fix the 10 most common Magento problemsThis tutorial will show you solutions to some of the most common Magento issues that users face when managing their online shops. It covers the followin原创 2012-09-01 16:56:59 · 789 阅读 · 0 评论 -
10 Most Useful Free Magento Extensions
Magento has diverted e-commerce development to another robust track of web development and resultantly a lot of enhancements have been rolled out not only in itself Magento environment but also commun原创 2012-09-01 10:44:43 · 976 阅读 · 0 评论 -
Methods To Speed Up Magento - A Guide To Making Magento Faster
Methods To Speed Up Magento Hi Guys, Ok. Figuring out how to get this puppy purring over the last few days. Thought I would post a ‘How To Speed up Magento’ Guide based on what I have foun原创 2012-09-01 18:03:49 · 762 阅读 · 0 评论 -
Magento升级总结 (三) — Magento Connect Manager
前面我们介绍了两种升级magento的方法—SSH和手动升级, 在此之外, Magento还提供了另一种更加友好的可视化升级方法, 通过Magento Connect Manager来完成升级, 其步骤步骤主要包括以下几个方面:1. 访问www.YOURWEBSITE.com/downloader2. 用管理员身份登录downloader.3. 选中“Clear all sessi原创 2012-08-16 14:19:31 · 1739 阅读 · 0 评论 -
Magento 升级总结 (二) — 手动篇
上一篇文章我们介绍了通过SSH,利用PEAR来完成Magento的升级, 但是如果PEAR有问题, 或者感觉使用不怎么不放心的话, 我们还可以用全手工的方式完成Magento的升级, 今天将对这种方式做一次详细的介绍, 假设我们在网站的服务器上已经拥有SSH权限, 当然, 如果你没有SSH的权限, 只有FTP的权限, 也可以成功的, 只不过要麻烦很多…同样, 在升级之前我们要备份网站的一切原创 2012-08-16 14:16:29 · 1517 阅读 · 0 评论 -
Removing Top or Bottom Price on Magento Product Page
If you set up configurable products in Magento, you will notice that the product page now has the price listed twice: once at the top of the product page and a second time below the configurable produ原创 2013-08-21 17:03:43 · 665 阅读 · 0 评论 -
Magento: The Best Solution to Ugrade Magento from 1.5.x.x – 1.7.x.x
Magento: The Best Solution to Ugrade Magento from 1.5.x.x – 1.7.x.xI had the same issue and RESOLVED IT by the following1. Move live site to test/production server2. UPDATE the following i转载 2013-08-09 16:48:14 · 744 阅读 · 0 评论 -
magento插件手动下载
http://freegento.com/ddl-magento-extension.php原创 2013-08-13 10:31:56 · 533 阅读 · 0 评论 -
Magento 架构(Architecture)
http://www.lampblog.net/2011/04/mysql%E6%93%8D%E4%BD%9C%E4%BC%98%E5%8C%96%E6%94%B6%E8%97%8F/转载 2014-05-28 09:59:37 · 553 阅读 · 0 评论 -
magento upsell from cur_category
<?php/*** Magento** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE_AFL.txt.* It is also available原创 2013-11-01 13:57:48 · 952 阅读 · 0 评论 -
Magento Core: (FIX) Admin slow loading on product save
A quick fix is comment line 691 in /app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php. Like this: //Mage::getModel('catalogrule/rule')->applyAllRulesToProduct($productId);转载 2013-10-20 15:33:20 · 704 阅读 · 0 评论 -
magento 修改订单详情模版
app/design/frontend/base/default/template/email/order/items/order/default.phtml原创 2013-09-22 11:58:22 · 756 阅读 · 0 评论 -
magento 修改 paypal order product name
app/code/core/Mage/Sales/Model/Quote Item.phppublic function setProduct($product) { if ($this->getQuote()) { $product->setStoreId($this->getQuote()->getStoreId());原创 2013-09-26 17:39:42 · 738 阅读 · 0 评论 -
Magento setting custome option sku for paypal and shopping cart
public function getOptionSku($product = null, $sku='') { $skuDelimiter = '-'; if(empty($sku)){ //$sku = $this->getProduct($product)->getData('sku'); //注释掉 }原创 2013-09-22 11:46:21 · 1037 阅读 · 0 评论 -
Magento Custom Options Templates (完美)
Step 1: change the app/design/adminhtml/default/default/template/page/head.phtml with the attached head.phtmlStep 2: app/design/adminhtml/default/default/template/catalog/product/edit/options.phtm原创 2013-09-17 11:55:11 · 1057 阅读 · 0 评论 -
How to Fix Magento’s Admin Login Failing (no error message) on Localhost
You want to install a new Magento instance (version 1.4.0.1 at the time of this writing) in your machine. You followed every steps from downloading up to the setting up of your admin account. Everythi转载 2013-09-15 10:01:37 · 899 阅读 · 0 评论 -
magento 列表页显示产品属性值的几种调用方式
之前有人提到要在列表显示一些特定的属性,除了自带的名字,价格等。因为列表页和产品页都有一个同名的产品对象:$_product,而在产品页,$_product是直接可以用$_product->getAttributeName()来获取属性值的,因此很多人认为同样的方式可以在列表页使用,而测试的结果是同样的调用方式在列表页是获取不到值的,这是为什么呢? 查看列表页和产品页对应的bloc原创 2013-08-18 14:53:14 · 870 阅读 · 0 评论 -
Magento Get Items In Order
Here, I can show you how you can get information about all items in your magento shopping cart based on order id. How to get product details from order id or sometimes need to get product it, produc原创 2013-08-28 16:27:46 · 1083 阅读 · 0 评论 -
magento 执行sql
public function getLastTransIdInfo(){//$LastTransId=$this->getInfo()->getLastTransId();//return $LastTransId;$read= Mage::getSingleton('core/resource')->getConnection('core_read'); $v原创 2013-08-28 13:39:59 · 721 阅读 · 0 评论 -
获得magento simple product的custom option信息
$product= Mage::getModel('catalog/product')->load(174);$i= 1; echo""; foreach($product->getOptions()as$o) { echo"Custom Option:" . $i. ""; echo"Custom Option TYPE: " . $o->get原创 2013-08-28 10:08:18 · 895 阅读 · 0 评论 -
How Magento cache Blocks HTML output
我曾错误地认为 Magento 安装后,只要启用 cache,Magento 就会缓存页面的大部分内容,比如,cms, product, category 的 content block。直到今天第 N 遍看 Magento wiki,才意识到 Magento 初始只启用了很小一部分 block cache。细想之下,Magento 默认不缓存 content block 有一定的道理:各转载 2013-08-25 11:31:08 · 895 阅读 · 0 评论 -
Magento How To Display Product Custom Option On list.phtml
magento How To Display Product Custom Option On list.phtml原创 2013-08-25 16:24:07 · 976 阅读 · 0 评论 -
magento 插件 收藏
http://www.magentocommerce.com/magento-connect/pagecache-powered-by-varnish.htmlPageCache powered by Varnishhttp://www.magentocommerce.com/magento-connect/banner-slider-3912.html原创 2013-08-13 01:08:18 · 878 阅读 · 0 评论 -
magento 版本升级 从magento 1.5 升级到 magento1.6 版本
find . -type f -exec chmod 777 {} ;find . -type d -exec chmod 777 {} ;rm -rf var/cache/* var/session/*chmod 550 ./mage./mage mage-setup ../mage config-set preferred_state stable./mage list原创 2012-08-16 14:52:27 · 560 阅读 · 0 评论 -
Magento - how to add custom variables to new order E-mail?
Like any other variable that you are using you can ask variables from your object so if you do in phpphp echo $customerObject->getMyCustomVariable();?>you would do in template{{var customerObje原创 2012-05-18 01:11:11 · 494 阅读 · 0 评论 -
php magento关于图片路径引用问题
你好,有一个关于magento的问题一直没明白,希望能请教你一下:helper('catalog/image')->init($_product, 'small_image')->resize(90); ?>" width="90" height="90" alt="htmlEscape($this->getImageLabel($_product, 'small_image')) ?>转载 2012-05-18 00:41:47 · 768 阅读 · 0 评论 -
awblog 报错 magento 后台admin路径修改
第一步,我们先去后台禁用magento的缓存,省的缓存影响我们后台地址的修改。第二步,我们来修改一个magento的配置文件文件路径为:网站根目录\app\etc\local.xml在此文件中修改如下图中箭头所指的代码修改magento后台地址代码此处的 [CDATA[ ]] 中的英文字母为当前的后台地址,修改为你想要的,比如修改为[CDATA[wo转载 2012-05-18 01:24:07 · 675 阅读 · 0 评论 -
magento extensions:
magento extensions: magento plugins:Sidebar Navigation Menuhttp://connect20.magentocommerce.com/community/HBShoka_Sidebarnavmenu Ajax Shopping Cart Quantity Update http://connect20.mag转载 2012-05-18 01:23:50 · 398 阅读 · 0 评论 -
aheadworks extensions
http://ecommerce.aheadworks.com/free-stuff/visitors-online.html原创 2012-05-18 01:22:32 · 391 阅读 · 0 评论 -
(分享)批量上传多图模块(非在线安装)
大家都知道magento程序在批量上传产品时是无法导入多张图片的,为了需要,这里提供一个批量上传多图的模块供大家免费下载。本人在magento1.324和magento1.4.1.0版本测试均能正确上传多图。下载地址:http://topmagento.com/wp-content/uploads/2010/07/magento-import-multiple-images-for-produ转载 2012-05-18 01:20:30 · 601 阅读 · 0 评论