Checkout

Prevent PO Boxes in shipping address field on Checkout

Prevent PO Boxes in shipping address field on Checkout © jechasteen@sxc.hu

We recently integrated a feature that would prevent users from creating an order with a PO Box in Australia. Since we are already familiar with Australia Post shipping integration (and heavy modifications of it, I might add :)), the first thing that came to mind is to have a look if there’s some API or web interface that can be used to filter out post codes that are linked to PO Boxes. Many high volume addresses and/or PO Boxes in Australia have their own post code, so it looked like an obvious solution. It turns out that it’s not that simple or logical, since there are many edge cases where you can not reliably tell if you should filter the code out or not. There is a guide made by Fontis that shows how to validate the input fields in order to filter out PO Boxes. However, in our case we had some dynamic content loading with Temando shipping method integrated. This guide is intended as a more general solution that is compatible with Checkout page’s dynamic content and third party Shipping methods integration like Temando.

Read more

Magento EE, use reward points in X percent of total (subtotal) checkout value

Featured Image

Magento EE is a great platform, it offers so much features out of the box. However, merchants can be relentless sometimes and always ask for that little extra around a given feature. So happens that I’ve been working on a project recently where we needed to squeeze a little extra from Magenot’s Reward Points functionality. We need the possibility to use reward points in X percent of total (subtotal) checkout value. This is not a built in option that you can configure, so it required a bit of custom coding.

Read more

CheckItOut, alternative checkout for Magento

Featured Image

If for some reason you are not a big fan of Magento’s default One Page Checkout concept / workflow, it might be worth checking out alternative. Usually these alternatives come in a form of so called “one step checkout” where main difference is that entire customer data / payment data / shipment data is displayed not just on one page, but in one “piece”. Why is this important? Well, it usually leads to a bit better user experience. Even a fraction better user experience can make a difference between new order and abandoned cart. No one likes abandoned carts :).

Read more

How to translate product names in Magento through .csv files

Featured Image

Let’s add to cart one item from our Magento community edition. If you have MCE with sample data you can visit something like this: http://loc.magento.com/sony-vaio-vgn-txn27n-b-11-1-notebook-pc.html?___store=german&___from_store=default
Add item to your cart and you’ll see success message “Sony VAIO VGN-TXN27N/B 11.1″ Notebook PC was added to your shopping cart.”. Now if we add in our .csv file for de_DE translations something like this:

"%s was added to your shopping cart.","%s wurde zum Warenkorb hinzugefügt."
"Sony VAIO VGN-TXN27N/B 11.1" Notebook PC","Sony Deutsch VAIO VGN-TXN27N/B"

If you have already setup all required things for “German” translations, then try again buy same product and you will not be able to see our translated “success message”. It’s not only because of “"” in product name.

Read more

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

Featured Image

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.

Read more

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

Featured Image

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?

Read more

Are Recurring Payments PCI Compliant?

Featured Image

For many customers and / or online store owners this is a great question. Main concern for customers is if they subscribe to something, that means that someone holds their credit card information (potential risk), and this is important question for store owners as well since they can be fined if they’re not compliant. This article is intended for store customers, store owners and mainly for store developers, as if they know that, others can be informed. Read on!

Read more

How to modify existing extension without fear?

Featured Image

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!

Read more

Magento’s Onepage Checkout in a nutshell

Featured Image

For the last two days I’ve been working on a custom checkout page for one of our clients. Basicaly a page can be shown in Magento using simple Core_Template type. Basically all code is set inside the .phtml file so it can be shown on every possible page or block, meaning it’s object independent, no inheritance. Something you can call from with your layout files like

<block type="core/template" name="checkout_customcart" template="checkout/customcart.phtml" />
Read more