You are here

function theme_restrict_qty_field in Ubercart Restrict Qty 7

Same name and namespace in other branches
  1. 5 uc_restrict_qty.module \theme_restrict_qty_field()
  2. 6.2 uc_restrict_qty.module \theme_restrict_qty_field()
  3. 6 uc_restrict_qty.module \theme_restrict_qty_field()

Themes cart Qty. boxes so they can't be changed. (currently not in use)

File

./uc_restrict_qty.module, line 306
Restrict the quantity on specified products so that only specified quantity may be purchased at a time.

Code

function theme_restrict_qty_field($variables) {
  return check_plain($variables['form']['#value']);
}