UC Attribute Stock Filter

henrrrik - January 3, 2009 - 23:33

This module checks stock levels and filters out any out-of-stock attribute
option combinations from the product page select boxes.

Example use case

Your shop sells a T-shirt that has two attributes, color and size. If a user
selects "Blue" from the Color select box, any sizes that aren't available
in blue will automatically be filtered out from the Size select box.

If the product only has 1 attribute (e.g. size) this will be done before
the form is rendered.

If the product has two or more attributes this is done dynamically using
JavaScript on the actual page.

Note to themers

The JavaScript looks for select and option tags inside an element with the class name "add-to-cart" (Ubercart default). Make sure that you preserve this class if you customize your node.tpl.php files.

Requirements

  • Ubercart 2.0 beta 2 (or later)
  • PHP 5.2+

This module is developed by Henrik Sjökvist and sponsored by shopecko.se

Releases

Official releasesDateSizeLinksStatus
6.x-1.0-beta122009-Apr-068.83 KBRecommended for 6.xThis is currently the recommended release for 6.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Apr-068.83 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.