gaspower Posted December 13, 2006 Posted December 13, 2006 Hello Below code is what I have in admin/product_info.php, but I would like to add a text version in modules/product_listing.php, right under the product description. Can someone please help me with the code to add to the modules/product_listing.php file. Thanks JR <!-- Beginning Stock Level //--> <?php $prod_quantity = tep_get_products_stock($products_id); if ($prod_quantity < 1) { // out of stock echo tep_image(DIR_WS_IMAGES . 'stock_soldout.gif'); } else { // in stock echo tep_image(DIR_WS_IMAGES . 'stock_instock.gif'); } ?> <!-- End Stock Level //-->
Recommended Posts
Archived
This topic is now archived and is closed to further replies.