Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is a "default_qty" column in the {uc_products} table, which is used to specify the default product quantity that appears in the Add-to-cart form.
Currently there is no Views integration provided for this column. This is a feature request for that integration.
Patch forthcoming...
Comment | File | Size | Author |
---|---|---|---|
#1 | ubercart-views-default-qty-7.x-3.x_2236977_1.patch | 816 bytes | m.stenta |
#1 | ubercart-views-default-qty-6.x-2.x_2236977_1.patch | 816 bytes | m.stenta |
Comments
Comment #1
m.stentaHere are two patches that add this field to the Views integration: one for 7.x-3.x branch and one for 6.x-2.x. The change is pretty simple, and those files are not very different (if at all) between branches, so they are almost identical.