Download & Extend

Ubercart Out of stock Notification

Out of stock notification for Ubercart

It uses ajax and jquery and asks the server for available stock and replaces the 'Add to cart' button with some configurable HTML.

It should be mostly Plug&Play except for the configuration of the replacement text.

Dislpay attributes type supported for AJAX validation:

  • Select box
  • Radio buttons

Dislpay attributes type NOT supported - they don't add variations to SKU, so not related to stock control:

  • Text field
  • Checkboxes

Drupal 6.x Notes:

This branch also provides server-side validation. Ideas were taken from Ubercart Stock Manager With Attributes but implemented differently. I embedded some of that functionality so this module can prevent the addition of out of stock items even if JS is disabled.

Validations of stock are performed on the following places by throwing error messages accordingly:

  • Single product add to cart forms (teaser, full and catalog view): If an item out of stock or, if the item you want to add is already on your cart but you have reached the stock limit
  • Shopping cart form: If you try to add more items that the ones in stock of any product of your shopping cart
  • Order checkout and order review form: If the stock information has changed while the user is browsing the site (i.e. same item has just been bought by another user)

Drupal 5.x Notes:

I have no plan to backport the new features of the Drupal 6.x branch (server-side validations). You may want to try to use Ubercart Stock Manager With Attributes together with this module.

Ubercart.org's contribution page

Sponsored by:
Infomagnet

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.7 tar.gz (15.38 KB) | zip (16.37 KB) 2011-Nov-27 Notes
5.x-1.5 tar.gz (9.97 KB) | zip (10.91 KB) 2009-Jun-01 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev tar.gz (15.38 KB) | zip (16.37 KB) 2011-Dec-27 Notes

Project Information


Maintainers for Ubercart Out of stock Notification

  • hanoii - 56 commits
    last: 6 weeks ago, first: 3 years ago

Issues for Ubercart Out of stock Notification

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 19 Jun 09