Sort products by sold quantity in Magento

sort-quantity

Magento by default comes with a few basic product sorting options such as sorting by product position, name or price. In this article you’ll learn how to sort products by how many times they have been sold.
Read more

1

Out of the box Form Validation in Magento

Form Validation in Magento

Magento uses Prototype library to manage form validation. This comes in handy, because all you need to do when writing custom form is to assign a valid class names to your input fields, and pass the form id to VarienForm object.

Read more

0

Magento & GWT “Googlebot found an extremely high number of URLs on your site”

toomany

I’ve seen a lot of Magento websites get a message within Google Webmaster Tools saying “Googlebot found an extremely high number of URLs on your site: example.com”. Read more

0

Adding custom credit card type to your payment method in Magento

Credit Cards

At one point or another, you might want to implement a payment method with credit card types that are not implemented in Magento by default.
Please note that in this article you’ll learn how to add a new credit card type and validate it only. This article does not cover the whole payment module creation.

Read more

0

Programmatically (manually) creating simple Magento product

simpleproduct

In a development process, you often need some testing data you can use. Magento supplies you with it’s default Sample Data that contains some products. Thing is, they’re not of much use if you have some custom attributes added to your products, if you create your own attribute set, or a product type.
Read more

2

Get the current customer role in Magento

customer-group-featured

Looking at the old articles on our website that long for a rewrite, I sometimes stumble upon a gem that can be useful. One of those is the piece of code enables us to do custom stuff if our customer is assigned to a certain customer group. Read more

2

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

0

Programmatically adding new customers to the Magento store

programatic-customer-featured

Us developers love adding things programmatically. Even though you can create a new customer through a signup form, or via admin interface, in some cases, that might take too long.

If you need a bunch of customers assigned to different groups, from different countries, you might be better off doing this from the code.

Read more

3

Which Magento SEO extension is the best?

Which Magento SOE extension should I choose

We’ve been in Magento business since the beginnings of this industry in 2008 and watched both default Magento’s SEO functionality and Magento SEO extensions evolve and improve. We’ve never developed our own Magento SEO extensions which is why I believe I can give you an honest, unbiased opinion on this issue. Read more

1

Get rewritten product url in a different store

rewritten-product-url-featured-image

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

5
Go to Our Blog