Magento Checkout Error: undefined Javascript Alert

piaoling  2011-06-23 18:55:23

This error occurs when the user gets to the final step in the Magento Onepage checkout: the order review. When they click the submit button the page loads for a few seconds and then a Javascript alert box is displayed with the message 'undefined'. Not only does this destroy the trust a customer has in your website, it actually stops them from completing the purchase. This means you are losing money and customers! Unfortunately there is no quick generic fix for this but hopefully, by explaining the cause and a way to identify the error, you will be able to overcome this on your own.......

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

Magento Cron Jobs

piaoling  2011-06-23 18:53:03

What is Cron? To quote Wikipedia, 'cron is a time-based job scheduler in Unix-like operating systems.' It functions similarly to Windows Task Scheduler in that it allows you to specify actions to be ran after a certain interval. This can be useful for running daily backups or deleting your logs at the end of every month. Where is Cron Used in Magento? By default, cron is used in Magento for various things such as keeping your catalog indexes up to date and refreshing catalog price rules. Cron jobs can also be set up for custom modules, which we will cover shortly. D......

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

Magento Forms: Prototype Javascript Validation

piaoling  2011-06-23 18:40:18

While Javascript form validation shouldn't be your only form of defense with regards to user input, it definitely improves the usability and efficiency of a site. It can also give your site a web 2.0 feel - which users seem to love. Javascript Validation in Magento By default Magento uses a file called form.js (js/varien/form.js) to provide abstract Javascript functions for forms. The most useful application of this class - in my opinion - is the form validation. To achieve this validation, form.js uses the Validation class which is part of the Prototype Javascript library. It ......

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

19 个漂亮的 jQuery 画廊和幻灯片插件

piaoling  2011-06-23 18:06:50

http://www.oschina.net/news/18948/19-beautiful-jquery-image-galleryslideshow-tutorials-and-plugins?from=20110619 本文向你介绍 19 个 jQuery 的画廊和幻灯片的插件或者是制作教程。 TN3 Gallery TN3 Gallery 是一个很成熟的基于 HTML 的可定制的图片画廊和幻灯片展示,支持转换和多相簿选项,支持智能手机设备浏览。 Live Demo – Download Supersized 主要特点: 图片大小自动调整,以适应浏览器的尺寸 幻灯片时自动预加载图片 Core version is available for ......

类别 :  jQuery(9)  |  浏览(5845)  |  评论(0)

JS的正则表达式

piaoling  2011-06-23 13:11:26

JS的正则表达式 //校验是否全由数字组成 function isDigit(s) { var patrn=/^[0-9]{1,20}$/; if (!patrn.exec(s)) return false return true } //校验登录名:只能输入5-20个以字母开头、可带数字、“_”、“.”的字串 Java代码   function isRegisterUserName(s)   {   var patrn=/^[a-zA-Z]{1}([a-zA-Z0-9]|[._]){4,19}$/;   if (!patrn.exec(s)) return false   return true   }   //校验用户姓名:只能输入1-30个以字母开头的字串 Java代码 ......

类别 :  JS(21)  |  浏览(5172)  |  评论(0)

Magento: Update Product Prices Globaly

piaoling  2011-06-23 10:42:17

There are many ways to mass update product attributes in Magento, each well suited to a different purpose. Magento's built-in mass product attribute updater is great if you want to modify a selection of products or the new attribute value is the same for all products you want to edit. Alternatively, if you wish to alter the attributes in more dynamic ways, updating them programmatic ally via PHP is probably a better way. The downside to both of these methods is speed, with each product update taking a few seconds to complete. While this time can be dramatically reduced by disabling ind......

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

Magento Database Structure: EAV

piaoling  2011-06-22 18:28:36

The Entity, Attribute and Value (EAV) database architecture is at first, extremely difficult to grasp. Combine this with the lack of documentation on EAV and you find that most people don't truly appreciate just how good EAV is and more importantly, how well suited it is to Magento. In this article I will attempt to shed some light on EAV in the hopes of helping you understand how it works, why it works and how this knowledge can benefit you as a Magento developer. To better understand this article, I recommend opening up a development Magento database using a tool such as phpMyAdmin. ......

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

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)  |  浏览(3871)  |  评论(2)

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

piaoling  2011-06-22 10:09:42

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

类别 :  学习(7)  |  浏览(5113)  |  评论(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)  |  浏览(4519)  |  评论(0)
  • Page:51/145  1448 Blogs
    <<
    >>
    20088
    周日 周一 周二 周三 周四 周五 周六

    文章分类