fbpx

Customizing Onepage Checkout – Remove shipping_method

Old variant which was here proposed, changing Magento core classes, that is fully wrong decision. You must follow the application model. This method tested on 1.4+ versions. Give our namespace name – “Digg“. So you have a folder in app/local/Digg for modules and module “Checkout”. You must add next files to you module:

1. Block (Method.php) To disable Shipping…

Continue Reading

Form validation in magento

As you know Magento use Prototype as javascript library.  It provides a simple way to validate html form values. Below is an example:

In the form above you can see each input field has its own class name and these classes will be used to validate field’s value. There are many predefined classes like that in prototype lib. I’ll…

Continue Reading

How to override Magento model classes

Of course, there are better ways to do that (make module), but I’m not going to write about that right now since it is not subject of this post. I only mentioned that because we can’t do same thing for models even if we want to, so how to override Magento models without modifying core files? Fortunately, that’s very easy…

Continue Reading

Create Payment Method Module

Introduction Each payment method can be done as separate module or few methods can be combined in same module if they share functionality or could be used together. Let’s create a module with one payment method that will: accept credit card information authorize it when order is submitted save transaction ID in order payment record Our new module will be…

Continue Reading

Magento Preview Version CE 1.6.1.0-beta1 – Now Available!

We are happy to announce the availability of Magento Preview Version CE 1.6.1.0-beta1. As this is a preview version it is NOT recommended in any way to be used in a production environment (more information about preview releases and the community edition release process can be found in this blog post). This release is available for upgrade through the Connect Manager, to download or via SVN….

Continue Reading

Special characters code of addFieldToFilter function

 

Continue Reading