UPCOMING: Magento 2 Bootcamp of four days in The Netherlands (April 29th - May 2nd)

February 10, 2014

Give Magento return customers the benefit of discount

Yireo Blog Post

Let's say you bought a bicycle a month ago. But now your girlfriend needs a bike as well. And your favorite cycling webshop offers now the second bike with a 30% discount. I would be pissed that I'm not able to benefit from the 30% discount, just because I don't buy the bikes at the same time. That's how Magento works. But with our brand new Repeated Sales extension, this is going to change.

Include your customers previous orders when giving discounts

The principle of Repeated Sales is simple: Whenever a shopping cart rule is setup by you as Magento shop-owner, you can add an attribute Previous Order, so that the rule not only applies to the products currently in the shopping cart, but also to all products that were previously purchased.

The extension creates this product attribute Previous Order (previous_order) once it is installed in Magento. The product attribute is then visible within the cart rules, and serves as a marker to match those products, that are part of the order history of the customer. The trick is simple but adequate. A must when trying to keep your return customers happy.

Posted on February 10, 2014

About the author

Author Jisse Reitsma

Jisse Reitsma is the founder of Yireo, extension developer, developer trainer and 3x Magento Master. His passion is for technology and open source. And he loves talking as well.

Sponsor Yireo

Looking for a training in-house?

Let's get to it!

We don't write too commercial stuff, we focus on the technology (which we love) and we regularly come up with innovative solutions. Via our newsletter, you can keep yourself up to date on all of this coolness. Subscribing only takes seconds.

Do not miss out on what we say

This will be the most interesting spam you have ever read

We don't write too commercial stuff, we focus on the technology (which we love) and we regularly come up with innovative solutions. Via our newsletter, you can keep yourself up to date on all of this coolness. Subscribing only takes seconds.