is there a way of adding a jquery accordion block to the custom options on the product view page.

if there are 5 custom option dropdowns with their own heading title,

can each one have its own title as the accordion tab, and then the actual dropdown with some form of html text inside each one

  • Hi Plugger and welcome to MageOverflow! Yes, this is possible. What have you tried? What is your problem? Jun 11, 2015 at 15:14
  • I havent tried anything, i dont know where to start to be honest, apart from searching for extensions which i cant seem to find any that will do that
    – Plugger
    Jun 11, 2015 at 15:29

1 Answer 1


Options are built here: catalog/product/view/options.phtml

Epecially here:

    <?php foreach($_options as $_option): ?>
        <?php echo $this->getOptionHtml($_option) ?>
    <?php endforeach; ?>

So I'm sure this can be achieved. I recommend a Prototype based JS library, so you don't need to load jQuery.

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.