I’m using Aptana studio for few months already.
It is Eclipse/PDT based so I’m sure all this can be achieved in any Eclipse based platform.
As we all probably know, there are some events in Magento that are dispatched by default.
We can easily hook on those events, but this is not a subject of this article.
What we are going to try now is to add custom event before and after some action in some of Magento’s controllers.
As most of you know, there is an Order interface in Magento administration from where you can trigger order shipping. However, while developing certain module, you might wish to trigger this event from the code. I hope that this code snippet will help you in this process. In my case I have used this code to make shipment from cron after I got confirmation from fulfillment center
If you ever tried to do anything with Magento configurable products view page, most likely you needed changes in /js/varien/product.js in case you wanted to manipulate dropdowns.
This will be one of the ways to do it.
I can’t give you exact recipe how to upgrade your specific Magento installation, but I’ll try to explain my standard procedure when getting Magento up to date.
Every now or then we need new column on some grid listing in Magento. It is quite simple task, but you will probably want to format values way you want or whatever.
This is where writing your own renderer would be usefull and simple.
If you work with Magento, sooner or later you will end up needing multiple websites that have
Most of you know this, but I hope someone will still find this post useful.
Assuming you have set unique base URL foreach website running on the same Magento installation all you need to switch between those websites is this little snippet.
Just paste it somewhere in your templates.
However, keep in mind that I only tested this to work for my own configuration.
Basicly, what this snippet does is redirect to website’s default store base url.
This post is just a small snippet that will help you to get all products that are used do construct any bundle product.
Of course, I’m not sure how useful can it be as is, so if you need optimized version of it, you will need to play with it for a while.
Let’s say we have configurable Magento product in shopping cart and we want to update its
options without deleting product from cart and adding it again.
That’s quite easy to achieve with following steps, however I can’t write complete tutorial here so
you should be a little more familiar with Magento in order to make it work.
First of all, let me inform you that this article is for those of you who are just starting with Magento. If you are a Magento expert, you will probably know this. Consider it just a reminder for those who use Magento for first time. There are three common mistakes that most people do when they try to use Magento for first time, so read this article and you won’t be one of them.:)
This is my first post here and I’ll write about my first challenge regarding Magento since I came to work at Inchoo.
As title says I’ll show you how to implement simple random banner rotation functionality in Magento using static blocks.