To include the stock status message with an Add to Cart button, you must use the stock status message attribute in a tag that appears before the attribute tag for the add to cart button.
<%=getCurrentAttribute(‘item’,’stockstatusmessagehtml’)%><%=getCurrentAttribute(‘item’,’addtocartdrilldownhtml’)%>