My way to do it was modify \catalog\controller\product\product.php:
Code: Select all
$this->data['stock'] = ($product_info['quantity'] > 0)? $this->language->get('text_instock') : $product_info['stock'];
$this->data['quantity']=$product_info['quantity'];//added this line
$this->data['model'] = $product_info['model'];
Then I slightly modified the template file \catalog\view\theme\default\template\product\product.tpl:
Code: Select all
<tr>
<td><b><?php echo $text_availability; ?></b></td>
<td><?php if((int)$quantity>0){echo $quantity." available now";}else{echo "<font color=red>".abs((int)$quantity)." backordered</font>";} ?></td> <!--modified this line-->
</tr>
<tr>

Is there already a template variable for quantity available that I didn't see? It would be great to have this functionality in the release (I can submit a patch).