CAT | PHP
The Problem: You want to issue a refund, electronically, through your payment gateway from Magento. The Solution: By default, the community edition of Magento has refunds disabled in the Paygate Models. In order to enable them you need to create a custom Model and overwrite a protected variable. Refer to Part IV: Extending Models for [...]
The Problem: You want to expand upon or change some functionality within Magento. The Solution: Extend a Model! I’m going to use a real world example here because I believe that examples are the best tools for teaching. I was faced with a request for additional functionality in regards to the Authorize.net payment method. Basically, [...]
The Problem: I need to write Part III of the Magento series. The Solutions: This article… TADA! First, let’s talk about the controller. The default controller for a module is always named IndexController.php. If you haven’t requested a specific controller (in the URL), than the system is going to look for IndexController.php and load it. [...]
The Problem: You need to work with Magento Models, how chic! The Solution: Well, let’s be honest… I don’t have THE solution, but I do have some useful snippets of information to pass along. Models are the meat of an MVC application. They contain the definitions for your application’s components. Stop for a moment and [...]
This article was written while using Magento v1.3.2.3. Greetings! This is installment number one of the the exiting Magento Custom Module series. There’s basically two paths to the end of the fairytale: Path 1: You follow this series and get down and dirty with Magento, learning a lot along the way. Path 2: You go [...]
