Magento

UI/UX guidelines for different types of customers

customer-type-main

There are plenty of things to consider when designing an eCommerce site, but the most important is to design with the customer in mind. Different shopper types have different goals and shopping strategies, and being aware of these helps us make decisions that improve store usability. While analysing some of our recent projects, and taking into account a number of articles around this topic, we decided to break down online customers into five main types.

Read more

Custom shipping method in Magento

custom-shipping-magento

In this article, I will demonstrate how to write custom shipping in Magento, or to be more precise, two of them: standard shipping and express shipping, which is only available if none of your cart items exceeds specified weight threshold. Lets start by explaining how Magento handles shipping, and what would be needed to achieve our goal.

Read more

Programmatically create a configurable Magento product

configurable-programmatically-featured

I already wrote about creating a simple product programmatically in Magento. For configurable product, however, things get a little bit complicated.

As you already know, a configurable product is merely a product with simple products that differ in some option (attribute) assigned to itself.

We can use this conclusion to extend our code for creation of simple products to work with configurable.

Read more

Reusing Magento poll on any page or any block

poll-featured-image

On very rare occasions we get to work with polls. Most of our Magento projects end up with polls removed from the layout for one reason or the other – mostly because we rely on social networks instead for adding ‘social’ aspect to stores.

Nonetheless, sometimes client wants to have polls on his site. Magento has default poll system, which does it’s job. To an extent. What do we do if we want to add multiple polls to the site or choose which poll we want to display?

Read more

Get rewritten product url in a different store

Copyright: zimmytws / 123RF Stock Photo

It was pointed out to me in one of the preceding articles that getting a product’s URL in a different store can get pretty complicated if the URL you want to get is rewritten. I decided to come up with a solution to that problem, as it could be useful in the future.

I came up with a method that returns a rewritten part (i.e. after rewrite) of a product’s URL. You’ll need to add base URL of a store to this return value to get a full URL (as shown on languages.phtml example).

Read more