So in Magento 1.9 this section is added using the following files.
app/design/frontend/base/default/template/cataloginventory/stockqty/composite.phtml
app/design/frontend/base/default/template/cataloginventory/stockqty/default.phtml
These files are added from the layout xml file app/design/frontend/base/default/layout/cataloginventory.xml
. The default file is for simple and virtual products and the composite is for grouped, bundle and configurable products.
Each of these templates use the function isMsgVisible
before showing the message.
public function isMsgVisible()
{
return ($this->getStockQty() > 0 && $this->getStockQty() <= $this->getThresholdQty());
}
So I think if you simply set the threshold quantity to 0 then the message will not show up. If you need the threshold but no message then what you can do is on of the follow.
- Make a version of these files in your theme and remove the information,
- Remove the blocks via a layout.xml change,
- Rewrite the blocks and extend the function
isMsgVisible
,
For me I would go with either the setting of the threshold to 0 or unsetting the blocks via a layout xml.