I have a the following code which i use on my prudct pages.
<?php echo Mage::helper('stockstatus')->getListStatus(01); ?>
This code returns me the stock status of a specific product. In this case it returns me the stock status of product with ID 01. If i change 01 to 02, then it gives me product status of with ID 02.
This code works great if i insert it in any .phtml file in magento.
But i want to use it from the backend admin directly. For example i want to use in the description of the product editor, or on the CMS blocks or CMS pages. But i don’t know how.
My question is how to make it work when inserting in the description editor of a product or on the CMS blocks or CMS pages? Maybe i can create a widget? can somebody please guide me…