1

I am a newbie in Magento and i got something very tricky on product page. I have to hide the drop-down option from here and show all the attributes values in a single line like

[Size : Small Medium Large]

[Color : Red Green Pink]

but the color will only show after selecting the size like in default Magento drop-down. I am able to get all the attribute according to the product id but how can i get the color attribute according to the size attribute for a particular product, and then pass that values to the cart page after clicking on the add to cart button.

I have really stuck in this task can someone help me please..

  • If I understand you correct, Marius built an extension to solve this issue: github.com/tzyganu/Switcher – Fabian Blechschmidt Jan 18 '14 at 10:24
  • Thanks for your reply and you understand me correctly,but this extension is not doing anything, neither in backend nor in frontend. – Waseem Jan 18 '14 at 11:14
  • I'm sure this extension works. Didn't tried it but I can't imagine Marius is faking the work of a whole extension ;-) Supposing this, you forgot to clear the cache or something else. – Fabian Blechschmidt Jan 18 '14 at 11:54
  • ok.. let me try one more time. hope this will work.. – Waseem Jan 20 '14 at 5:07
  • @waseem. Read the documentation first. github.com/tzyganu/Switcher/blob/master/README.md#how-to-use. It states in there that the extension behavior is disabled after installation. You have to enable it manually. – Marius Feb 3 '14 at 13:46
3

Just so this question can have an answer.... I recommend this extension (the OP already confirmed that is using it). It can change your dropdowns to labels with the option texts, or even with the simple product images. It can do even more than that. Full description provided here

  • Hey Marius, it's in Beta. can it still be used on production shops? Cause this extension is awesome and love to work with it on some projects – Sander Mangel Feb 20 '14 at 9:16
  • @SanderMangel. It is in beta, because it was the first release and I wanted to get some opinions from the community. it's hard to fully test my own code. It seams to work fine. I got only one complaint for not working with a very custom theme and conflicting with a very custom image zoomer. So I guess it doesn't work for everyone, but with some developer skills it can be done. If you test it out and find issues or have ideas on how to make it better please shout. – Marius Feb 20 '14 at 9:29
  • Perfect, I'll fork it if I have a solution and otherwise I'll just shoot a ticket your way. Thanks! – Sander Mangel Feb 20 '14 at 9:31
  • @SanderMangel. If you plan to use the extension get the new version. Just fixed a small bug this morning. – Marius Feb 21 '14 at 7:24
  • Great, I think we'll use it for the next project that starts in 2 weeks. But before that I will install it in a test store and discus it internally with the developers and frontenders what to touch and not to touch ;) – Sander Mangel Feb 21 '14 at 9:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.