Display Categories and SubCategories in Magento
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 ......
[转] 5分钟教会五笔!!不用背口决了!
原创思路总结: 只需记住下面3点: 1:知道五笔是什么:一丨丿丶乙 (横竖撇捺折) 2:知道这五个笔划在键盘上的分布特点:认出字根的第一、二笔划就定出位置 (如图红色笔画示区:中行左边5个键是"一"区,右边5个键是"丨"区 上行左边5个键是"丿"区,右边5个键是"丶"区,第5个键在下行最右边 下行左边5个健是"乙"区) (如图蓝色笔画示位:以中间黄线为界,从中间向两旁走,分别为“一丨丿丶乙”5个......
Create A Custom Theme in Magento 1.4
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......
WordPress Integration
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......
Direct SQL Queries In Magento
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......
Create a Drop-Down of Countries
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 ......
Add Custom Tabs to the Magento Product Admin
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......
Category Navigation Listings in Magento
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/......
分享 我喜欢这些话,很激励人。特别是在我最失意的时候~
1、没有伞的孩子必须努力奔跑! .2、你不勇敢,没人替你坚强。 .3、如果心胸不似海,又怎能有海一样的事业。 .4、只有经历过地狱般的折磨,才有征服天堂的力量。只有流过血的手指才能弹出世间的绝唱。 5、流过泪的眼睛更明亮,滴过血的心灵更坚强! 6、志在山顶的人,不会贪念山腰的风景… 7、.前有阻碍,奋力把它冲开,运用炙热的激情,转动心中的期待,血在澎湃,吃苦流汗算什么。 8、对的,坚持;错的,放弃! 9、.宁愿跑起来被拌倒无数次......
- Page:52/146 1451 Blogs
周日 | 周一 | 周二 | 周三 | 周四 | 周五 | 周六 |
文章分类
- 默认(751)
- 日志(47)
- 感悟(15)
- testIT(4)
- PHP_XML(5)
- PHP(78)
- 明星(1)
- 笑话(31)
- 毕业论文(2)
- 生活(60)
- HTML(11)
- CSS(6)
- 考研(3)
- JS(21)
- 简历(6)
- svn(3)
- 音乐(1)
- 学习(7)
- jQuery(9)
- 英语口语(9)
- 书籍(2)
- magento(258)
- apache(12)
- 创意(4)
- 设计(4)
- 休闲(1)
- IT咨询(11)
- 工作(23)
- ubuntu(21)
- bysoft(1)
- zend(1)
- web(2)
- software(1)
- sql(5)
- 娱乐(5)
- photoshop(3)
- zend framework(2)
- nginx(3)
- 小说(1)
- 名言(1)
- 牛人(1)
- Mysql(6)
- vim(2)
- wordpress(8)
- drupal(1)