Wasn't sure where to put this but...
I am running Zen Cart v1.3.7 and have stock by attributes 4.4 installed.
I wanted to show the amount of stock available next to each attribute on the product information page, so after a lot of looking I found the answer under FAQ on http://www.zen-cart.com/wiki/index.p..._by_Attributes but it wouldn't work, so I asked my brother to have a look and he worked out that there was an error in where to put the info...
Wiki says to add to includes/modules/attributes.php but worked for me by putting in includes/modules/YOUR_TEMPLATE/attributes.php
Just thought I would let someone know so it can be checked and then fixed on the Wiki page.