Starting a Magento project the right way is a win for the developer, win for the client and if it’s past/present/future compatible then it’s a win for the whole community. Magento Boilerplate is a pet project of mine with HTML5 Boilerplate, CSS3PIE and selctivizr.js inside.
Or at least, hasn’t been there yet. Recently I had to do one too many cart tests, and one of most annoying things was when I had to empty it, As anyone – I had to click it one by one. Today I’m going to explain how can you avoid this by simply creating one simple extension, and enabling “Empty cart” link functionality.
It really isn’t that hard. All you have to do is create yourselves a small extension that consists of Block, Controller, XML, Model and Template with very little logic inside.
So let’s start with XML (config.xml):
Let’s assume that you have a task to implement multiple currency feature in some Magento based project.
What will happen if your client choses PayPal standard as payment method?!
Well, you might be a little dissapointed to see that there is no way to pay in chosen currency.
Magento tells you that order was placed using chosen currency, but is it true?
It is not.
I wouldn’t be writing this article if customer is charged in currency he has chosen.
Let me start from beginning.
First you managed to enable multiple currency in Magento in really strange and funny way.
Then you managed to set PayPal up. Did you?!
Well after countless bugfixes in PayPal and lots of code refactoring in that module, Magento finally has somewhat usable PayPal module. With a little luck you it might happen you don’t need to spend hours setting it up anymore.
Today I’m going to give you an real life example on how to modify commercial extension in painless manner. If you know how to modify it – great, but is your approach best one? I’ve added functionality and modified behaviour of OSC’s OneStepCheckout extension without any fear of what will happen if client decides to upgrade it to newer version. And finally – here’s how!
First of all, exact thing I had to do is to implement Cdyne’s Address Verification to the checkout over their API. Now, since OneStepCheckout is commercial (and probably upgradeable) I couldn’t just open it’s files and modify them, since all that work would be gone in matter of seconds if client decides to install newer version, so I’ve decided to create an extension of my own that will depend on OneStepCheckout.
Do you want to make your site more customers friendly? You can gain this goal by using our magento extension Lastest Products.
HOW DOES IT WORK?
Lastest Products is an useful magento extension that allows the customers to see top best seller product. It can be said that this magento extension provides an ease to the visitors, and thus attract more visitors to your online store. Lets get Lastest Products to increase your sale.
- Free for You
- Easy to manage with backend management
- Easy to customize with separated form and CSS
- Seperated HTML/CSS, W3C validated
- Support Magento Version 1.4.x and 1.5.x
- 100% open source
- Support free guarantee
- Live support is always ready
- Easy to install, easy to upgrade, just copy to use