function commerce_stock_token_info in Commerce Stock 7.2
Implements hook_token_info().
File
- ./
commerce_stock.module, line 309 - Commerce Stock module.
Code
function commerce_stock_token_info() {
$info['tokens']['commerce-product']['user-quantity-ordered'] = array(
'name' => t('Quantity already ordered'),
'description' => t('The quantity already ordered (in the basket) for the user'),
);
return $info;
}