Cart quantity restricted to one per item.
Hi all, While building my site with Opigno and Drupal, I came across a bizarre (at least to me) bit of coding. The Opigno Commerce module programmatically restricts the quantity per item to just one in the shopping cart. Here's the code (lines 319 to 321 of opigno_commerce.module) // Restrict quantity to 1. $form['edit_quantity'][$row->index]['#min'] = 1; $form['edit_quantity'][$row->index]['#max'] = 1; I have a shopping cart made with Commerce Cart Flyout which allows users to select any quantity.