Magento Themes and Magento Extensions

There’s no “EMPTY CART” on Magento’s cart page

Posted on July 25th, 2011 | Posted by admin

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):

Magento PayPal Standard – How to pay with currency other than base one and do it in your language

Posted on July 25th, 2011 | Posted by admin

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.

How to modify existing extension without fear?

Posted on July 25th, 2011 | Posted by admin

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.

Free lastest product module in magento

Posted on July 24th, 2011 | Posted by admin

Do you want to make your site more customers friendly? You can gain this goal by using our magento extension Lastest Products.
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.

  1. Free for You
  2. Easy to manage with backend management
  3. Easy to customize with separated form and CSS
  4. Seperated HTML/CSS, W3C validated
  5. Support Magento Version 1.4.x and 1.5.x
  6. 100% open source
  7. Support free guarantee
  8. Live support is always ready
  9. Easy to install, easy to upgrade, just copy to use

Add “increment field” functionality to Magento’s quantity fields

Posted on July 24th, 2011 | Posted by admin

You’ve maybe noticed that Magento’s quantity inputs are just plain input fields, and if you wish to change it’s value, you have to erase value manually and enter new one on your numpad. Today I’ll show you how to add plus and minus signs by each input for quantity by implementing my colleague’s unobtrusive approach. If interested, read on!

Well, it’s pretty much simple task but like anything else in Magento, it requires some time (about 2 hours with testing for me). What I did was that I’ve created extension that will inject some JavaScript to change functionality.

I’ve dynamically created div element and populated it with paragraph tags that contain “+” and “-” signs. It looks like this: