Thursday, October 31, 2013

Easylife Switcher extension

I've just released a new Magento extension called 'Easylife_Switcher'.
This is what it does:
  • Frontend:
    • it can change the configurable products dropdowns to text or image labels
      config
    • it allows you do display the out od stock combinations of configurable products with a "not available" overlay (see image above - medium size). The out of stock products may be selectable or not. Your choice.
    • it can change the main image in the product page when a combination is selected, if an image is available for the simple product. You can set the attributes that change the image.
    • it can change the full media block in the product page when a combination is selected, if at least the main image is available for the simple product. You can set the attributes that change the media section.
  • Backend:
    • it allows you to set a default configuration to be selected while accessing the configurable product page.
      backend
Code and more details on how to use can be found here: https://github.com/tzyganu/Switcher

10 comments:

  1. Hello Marius,
    this extension looks cool but how to install it?
    Just uploading files?

    Thanks

    ReplyDelete
    Replies
    1. You can download an archive with the code from github and copy the files of the extension over your magento instance. Make sure that the app folder goes over the app folder of magento. js over js and skin over skin. Nothing should be overwritten.

      Delete
    2. wow, works wonderfully.

      any chance to have switchers unselected when entering a product page?
      or why not keeping the first select element ( "choose ... ") as a switcher-label and position it absolutely outside of the page so we can basically workaround the auto selection and have nothing visible selected?

      have a nice day

      Delete
    3. I don't have a reason for that. It seamed more appropriate to do it like that. Feel free to change the extension as you want and even publish your changes. If you want you can even make a pull request on github with your modifications and I will merge them in the extension after testing.

      Delete
  2. easylife switcher colour switcher using image and more image change not change

    ReplyDelete
  3. Hi Marius, great work. I have one question: Is it possible to make your module work with cloud zoom? Currently cloud zoom is not triggered/working on dom ready but only after selecting a "image changing" attribute, e.g. color, in other words it only works after reloading the media block. I tried reinitializing cloudzoom in your module's callback function with CloudZoom.quickStart(); in the backend config but it did not work.

    ReplyDelete
  4. In addition to my previous comment, I resolved the issue modifiying the configureForValues function in product.js, setting both variables to true. Hope this helps someone!

    ReplyDelete
  5. Hi Marius, thanks for the awesome extension. Just a quick question, I cant seem to set the default simple product in admin, each time I save it disregards it and no default is saved.. I saw that I did have default_configuration_id so I uninstalled and ran the sql queries, then re-installed and renamed the value in data.php but the problem persists.. any ideas?

    ReplyDelete
    Replies
    1. Hello Julia. I can confirm that this is a bug. It seams that you cannot save the default configuration when CREATING a configurable product. But you can save it when UPDATING one. I will fix this a soon as possible. Until then you can just save the product then edit it again and set the default configuration.

      Delete
  6. Hi Marius,
    That was really nicely explained short and straight-forward... looking forward to get more hints from your blog

    ReplyDelete