Blog
Shop
About us
Contact us

Case study: How Magento’s flexibility allowed us to quickly sell a completely different product with relative ease

magento-flexibility-google

One of the big ways in which Magento differentiates itself is by its flexibility. I’ll show you one way in which we utilized that flexibility at a group buying website in The Netherlands called GroupDeal.

At GroupDeal, usually we sell localized daily deals which have a from-price, a to-price and a discount percentage on display on the product page. A product page looks like this:

When a user presses the buy button, he goes into the checkout process and pays through our payment service provider. So far a pretty standard situation.

However, our business developer came across an opportunity to feature a completely different kind of deal on the website: a deal for saving on your energy bill. This kind of deal does not have a fixed from-price, to-price and discount percentage, so our regular product page design would not do.

In addition to that, this deal could also not be paid through a payment service provider. Instead, our customers had to leave extra information like birth dates and bank account numbers, so they could be registered later by the energy company.

The window of opportunity was about 5 days so we had to act quickly or lose this deal.

Product page

Luckily, Magento features a very flexible layout system where any block of your website can be controlled, even on the product level. The important bit of the product page we had to change was this:

In the design tab of the different deal, we entered some XML to point Magento to a different template file only for this piece of the page. For those interested, it looked like this (otherwise just scroll past):

<reference name=”top”>

<remove name=”product.top” />

<block type=”catalog/product_view” name=”product.topnem” template=”catalog/product/product_top_nem.phtml”>

<block type=”catalog/product_view” name=”product.countdown” as=”countdown” template=”paytype/countdown/countdown.phtml” />

<block type=”salesprogress/product_view_salePercentage” name=”product.salepercentage” as=”salepercentage” template=”catalog/product/view/salepercentage_nem.phtml” />

</block>

</reference>

In essence what this says is “use these template files instead of the regular files only at this location in the product page”.

The end result was we made the section for the energy deal look like this:

And the entire product page looked as expected:

No from-price, to-price, or discount, and the text saying how much people are saving in total, was changed too.

Of course, the other deals we were running at the time all had their regular look and feel!

All in all, the changes to the product page took at most a couple of hours. Of course, this highly depends on how the front-end of your website is structured! :-)

Checkout

Our payment methods in the regular checkout (the special deal customers did not see these):

 

Our payment methods for the changed deal (the regular deal customers did not see this):

For the special deal, the MagentoConnect ecosystem came in handy. We found a module called DebitPayment that captures extra consumer data in the payments method step, so the work for us boiled down to showing that to people buying the special deal only and making it more userfriendly. To make the input for date of birth more userfriendly we used the highly recommended datepicker “Unobtrusive Date-Picker Widget v5″.

Conclusion

This should hopefully give you some idea about how powerful layout update flexibility and the wealth of modules available, can be. Comments / remarks welcome as always. :-)

The Author of this post is sander

Versatile web enthusiast. Specialized in e-commerce and the technology behind that.

6 Responses »

  1. Hi Sander, excellent post!!!

    Is it possible to implement this example of GroupDeal in MagentoGo platform?

    I am developing a “Virtual Shopping” where many small retail store could benefit form one virtual structure to grow their business.

    So, do you Know any successful Case of “Virtual Shopping” in MagentoGo or Magentocommerce? My question is: How process the Payment Method in the Gateway, is it mandatory to centralize all payments in only one banking account or it could be decentralized with the customer (buyer) paying straight to the virtual retail store??? :-)

    Thanks

    Paulo Magrani

  2. Hi Paulo,

    Glad you liked it.

    Regarding your questions:
    - Haven’t done much with MagentoGo yet, but I’m assuming they would not appreciate you running a new layer of virtual stores on their virtual store platform :-)
    - You can definately have multiple payment accounts per website using Magento Community edition. So you could give your customers different websites and completely separate payment accounts.

    If you also want to give your virtual store customers access to the backend, you would either need a module that extends the normal permission structure of Magento, or use Magento Enterprise Edition… The reason for that: in Magento Community all logged in users can see all stores.

    Hope that helps!

  3. Wow… the site is absolutely beautiful. Ridiculously clean layout and the product pages are just… wow. It looks professional right off the bat. So nice! Definitely envious.

  4. Hi Sander,
    Interesting post. I was looking for something else when I came by. But then I saw something very interesting and I want to ask you how you did this.

    In your first screendump you are displaying the amount of discount in percentage. Can you tell me how you did this? I’m looking for such functionaltity…

    Regards,
    Hans

  5. Hi Hans,

    Will get back to you on this soon! Do you have an e-mail address where I can contact you?

    Sander

Leave a Comment