Downloads
Provides two catalog display types that allow buying multiple items with one click. The catalog display types look the same as the default list table and grid formats, but without the add to cart buttons for individual products and with a button at the bottom of the catalog page instead. When the button is pressed all products with positive quantity field values will be added to the cart.
There are several things to note:
- This module requires this patch to work.
- It adds a quantity field for each product (just in the multi-buy catalog pages) regardless of whether it's usually a hidden default value).
- All quantity fields in the multi-buy catalog pages are set to 0 regardless of default quantities set for the products.
- The multi-buy list table and multi-buy grid formats use all the corresponding settings for the default list table and grid formats.
- It works with attributes (uc_extra_column for table list for 5.x-1.x?).
- Attribute option select fields that are required are set to their default option rather than the normal "Please select" option. This is so that standard Drupal form validation doesn't balk when an option isn't selected on products where the quantity is set to 0 (ie the customer doesn't want to purchase the product but the form validation requires an option be selected for it's required attribute(s)). It's not an elegant solution but there were time constraints... For this reason it's recommended to not have "required" attributes (the user still has to select an option anyway, and in this context it produces more sensible possible form values).
- It supports uc_donation products.
- Make sure that the "Add to cart" product field is enabled at admin/store/settings/products/edit/fields , and that the "Add to cart form" option is enabled at admin/store/settings/catalog/edit/grid !
Changelog:
5.x-1.0 2008-05-23
- initial release
5.x-1.1 2008-09-03
- added option to display product teaser (multi-buy grid view only)
- removed incorrect functions from uc_multibuy.install (TR: www.ubercart.org/contrib/4937#comment-21995)
5.x-1.2 2008-11-14
- minor styling modification: http://www.ubercart.org/contrib/7395
5.x-1.3 2009-02-17
- added even/odd class to table rows
5.x-1.4 2009-02-18
- added even/odd class to table columns (td)
6.x-2.0 2009-03-04 funded by data-scribe (www.datascribe.biz)
- Initial 6.x release
- Added support for uc_donation
6.x-2.1 2009-03-26
- Fixed compatibility with changes in uc_donation
6.x-2.2 2009-06-09
- Fixed compatibility issue with ubercart 6.x-2.x-rc3.
6.x-2.3 2010-01-11
- Upgraded to work with Ubercart 6.x-2.2
- Fixed some silly edge cases (eg required attributes with checkboxes widget)
Development
| Preview | Attachment | Size |
|---|---|---|
| uc_multibuy-5.x-1.4.tar.gz | 9.63 KB | |
| uc_multibuy-6.x-2.2.tar.gz (for Ubercart 6.x-2.0 and 6.x-2.1) | 9.47 KB | |
| uc_multibuy-6.x-2.3.tar.gz (for Ubercart 6.x-2.2) | 10.35 KB |





