uc_out_of_stock_form_alter |
./uc_out_of_stock.module |
Implementation of hook_form_alter() |
|
|
uc_out_of_stock_getstockinfo |
./uc_out_of_stock.module |
Helper function to retrieve stock information looked up by nid and attributes |
2 |
|
uc_out_of_stock_getstockinfo_from_model |
./uc_out_of_stock.module |
Helper function to retrieve stock information directly from the stock table
querying it by model |
1 |
|
uc_out_of_stock_menu |
./uc_out_of_stock.module |
Implementation of hook_menu() |
|
|
uc_out_of_stock_query |
./uc_out_of_stock.module |
|
|
1 |
uc_out_of_stock_settings |
./uc_out_of_stock.module |
|
|
1 |
uc_out_of_stock_validate_addtocart |
./uc_out_of_stock.module |
Shared logic for add to cart validation in both form validation and
hook_add_to_cart |
1 |
|
uc_out_of_stock_validate_cart_items |
./uc_out_of_stock.module |
Helper function that would validate items in the cart referenced in a form
Used in @uc_out_of_stock_validate_form_checkout
Used in @uc_out_of_stock_validate_form_cart |
2 |
|
uc_out_of_stock_validate_form_addtocart |
./uc_out_of_stock.module |
Validate the 'Add To Cart' form of each product preventing the addition of
out of stock items or more items that ones currently on stock. |
|
1 |
uc_out_of_stock_validate_form_cart |
./uc_out_of_stock.module |
Validate the 'Shopping cart' form preventing the addition of more items that
the ones currently in stock. |
|
1 |
uc_out_of_stock_validate_form_checkout |
./uc_out_of_stock.module |
Validate the 'Order Checkout' and 'Order Review' form preventing the order
going through if the stock information have changed while the user was
browsing the site. (i.e. some other client has just bought the same item) |
|
1 |
_uc_out_of_stock_get_error |
./uc_out_of_stock.module |
Helper function to properly format the form error messages across the
different validation hooks. |
2 |
|