Display Categories and SubCategories in Magento

piaoling  2011-06-22 17:52:51

A newer, better version of this post has been written. Category Navigation Listings in Magento eCommerce The majority of Magento websites out there list their top level categories as well as the current categories sub-categories. This feature is commonly requested on forums so I decided to write a small post about it. Rather than just write out the code, I will show you a few variations so that you can get the right one for you. All of the following code samples can be copy and pasted into ANY template file and will function correctly. Display Top Level Categories Only ......

类别 :  magento(258)  |  浏览(3950)  |  评论(2)

[转] 5分钟教会五笔!!不用背口决了!

piaoling  2011-06-22 10:09:42

原创思路总结: 只需记住下面3点: 1:知道五笔是什么:一丨丿丶乙 (横竖撇捺折) 2:知道这五个笔划在键盘上的分布特点:认出字根的第一、二笔划就定出位置 (如图红色笔画示区:中行左边5个键是"一"区,右边5个键是"丨"区 上行左边5个键是"丿"区,右边5个键是"丶"区,第5个键在下行最右边 下行左边5个健是"乙"区) (如图蓝色笔画示位:以中间黄线为界,从中间向两旁走,分别为“一丨丿丶乙”5个......

类别 :  学习(7)  |  浏览(5281)  |  评论(0)

Create A Custom Theme in Magento 1.4

piaoling  2011-06-21 18:41:40

Since Magento 1.3.2.4, there are have been significant improvements to the Magento template system. While these improvements make creating templates much more efficient, developers are struggling to understand the changes and therefore, to create new themes. Rather than explaining these changes one by one, I will go through each step to creating a theme and discuss each point as it arises. In this article I will be showing you how to create your own custom theme for Magento 1.4. Rather than creating a totally bespoke theme, we will create a theme based on the default theme. However, by......

类别 :  magento(258)  |  浏览(4596)  |  评论(0)

WordPress Integration

piaoling  2011-06-21 18:39:42

Easily integrate your WordPress blog with your Magento eCommerce store in a matter of minutes with this free Magento community extension. The module works with 1.3.*, 1.4* and 1.5.* versions of Magento as well as the Professional and Enterprise editions. Installation Choose which installation method is best for you, check the change log or the release archive. Install WordPress Magento Connect Manual Install Version Compatibility Rele......

类别 :  magento(258)  |  浏览(3598)  |  评论(0)

Direct SQL Queries In Magento

piaoling  2011-06-21 17:53:32

Magento's use of data models provide a great way to access and modify data. Using aptly named methods and clever abstraction, Varien hide away the complex SQL needed to perform data operations. While this makes learning models easier, it often impacts the speed of the operation and therefore the responsiveness of your site. This is especially true when saving models that use the EAV architecture. More often that not, this cannot be avoided, however there are some situations where executing direct SQL queries would be simpler and much quicker. An example of this is updating product pric......

类别 :  magento(258)  |  浏览(4039)  |  评论(3)

Create a Drop-Down of Countries

piaoling  2011-06-21 17:32:14

When I first needed to access a collection of countries in Magento I assumed it would work like all other data collections but was shocked to find that this wasn't the case. Rather than store country data in the database, Magento stores country data in an XML file and loads it in on each request. Fortunately though, there are some simple functions that we can use to access country names and codes in Magento. Get An Array of Country Names/Codes in Magento ? 1 2 3 4 5 ......

类别 :  magento(258)  |  浏览(3234)  |  评论(0)

Add Custom Tabs to the Magento Product Admin

piaoling  2011-06-21 16:45:30

In Magento eCommerce, it is possible to add new attributes to product models and edit the values for these attributes on the Product edit page. This is fine if we only want to add standard data (attributes) to a product, but what if we wanted to do something more custom? While developing Fishpig's Magento WordPress Integration extension, I found a simple way to add custom tabs (and content) to the Magento product edit page. This article will show you how to develop a simple Magento custom module to do this. How the Custom Module Works The custom module we are about to make will make......

类别 :  magento(258)  |  浏览(5895)  |  评论(1)

Category Navigation Listings in Magento

piaoling  2011-06-21 16:30:56

wrote an article a while about illustrating how to show categories in a tree format. The code could be altered to display categories, categories and the current category's subcategory or categories and all sub-categories. While this code works fine, I have recently stumbled on a much better, neater way to accomplish this. This method requires less database interaction and therefore should render faster on the frontend. Listing Categories in Magento 1.4.1.1 Firstly, you need to make sure the block that you're working is of the type catalog/navigation. If you're editing catalog/......

类别 :  magento(258)  |  浏览(3275)  |  评论(0)

国外专业magento教程

piaoling  2011-06-21 16:28:27

http://fishpig.co.uk/magento-tutorials/ ......

类别 :  magento(258)  |  浏览(3318)  |  评论(0)

分享 我喜欢这些话,很激励人。特别是在我最失意的时候~

piaoling  2011-06-20 21:57:04

1、没有伞的孩子必须努力奔跑! .2、你不勇敢,没人替你坚强。 .3、如果心胸不似海,又怎能有海一样的事业。 .4、只有经历过地狱般的折磨,才有征服天堂的力量。只有流过血的手指才能弹出世间的绝唱。 5、流过泪的眼睛更明亮,滴过血的心灵更坚强! 6、志在山顶的人,不会贪念山腰的风景… 7、.前有阻碍,奋力把它冲开,运用炙热的激情,转动心中的期待,血在澎湃,吃苦流汗算什么。 8、对的,坚持;错的,放弃! 9、.宁愿跑起来被拌倒无数次......

类别 :  生活(60)  |  浏览(4756)  |  评论(0)
  • Page:52/146  1451 Blogs
    <<
    >>
    20088
    周日 周一 周二 周三 周四 周五 周六

    文章分类