I need to display attribute options as rows in a table below the product node, instead of a select box or radio buttons in the add to cart form.

Each option row in the table will need to have it's own add to cart button, see attached image for an example.

Any advice or pointers on where to start in building a module to do this, what hooks to look at etc?

CommentFileSizeAuthor
attributes-options-table.png54.74 KBProblue Solutions
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TR’s picture

Status: Active » Fixed

There are many ways you could do this. One is to write a small bit of code to loop through the available attributes/options and create the table, using Cart Links for the buttons.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.