Stock levels for attributes is something that will be introduced in the next couple of Zen releases, according to the roadmap of Zen. In the meantime, there is a module in the downloads section which can be installed to accomplish this task.
These two packages can be installed together, and a little piece of code then used to hide or show the attribute boxes, depending on stock levels.
With the minimum order values, this is all handled through the tpl_product_info_display.php alteration. You would need to change the code on this page as follows:
Line 108 - 112
Code:
/****************************************************/
if (zen_not_null($attrib_grid)) {
$the_button = zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
}
/****************************************************
Change to
Code:
/****************************************************/
if (zen_not_null($attrib_grid)) {
$the_button = zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
}
if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) {
$the_button = zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br />'.$the_button;
}
/****************************************************
This will then add the minimum qty above the add to cart button.
Absolute
Bookmarks