Magento

Magento Grid Serializer for Ajax Grids

Ajax Admin Grids

In Magento selectable grids, each time after a grid operation is performed (whether it’s filtering the results, pagination or something else), the selected values get lost. In other words, Magento by default keeps only values selected after the grid is initialized in the beginning and loses them each time the grid gets reloaded by Ajax call. Fortunately, Magento has a built-in library called Grid Serializer to solve this issue.

Read more

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