You are here

function uc_stock_increment_product_stock in Ubercart 6.2

Same name and namespace in other branches
  1. 7.3 uc_stock/uc_stock.module \uc_stock_increment_product_stock()

Increment a product's stock.

1 string reference to 'uc_stock_increment_product_stock'
uc_stock_action_increment_stock in uc_stock/uc_stock.ca.inc
Increase the stock of ordered products.

File

uc_stock/uc_stock.module, line 388

Code

function uc_stock_increment_product_stock($product, $key, $order) {
  $product->qty = -$product->qty;
  return uc_stock_adjust_product_stock($product, $key, $order);
}