Guest Posted January 4, 2007 Share Posted January 4, 2007 Any ideas as to how to display the "Out of Stock" message in the product_info like in the shopping_cart.php? Products marked with *** dont exist in desired quantity in our stock. You can buy them anyway and we will try to stock them in the next few days. Thanks for the input! Rich Link to comment Share on other sites More sharing options...
Guest Posted January 5, 2007 Share Posted January 5, 2007 Just want to let the community know that I found an easy fix to my problem. I am sure it is easy for someone else, but for people like me it took awhile. So for those that are like me this was what I did to make it work. Simply place this code anywhere within your product_info.php where you want to have it displayed. To give you an idea of what it looks like: http://www.dvdpulse.biz/catalog/10-to-midn...ovie-p-462.html <!--bof stock announcement--> <?php if ((STOCK_CHECK == 'true')&&($product_info['products_quantity'] < 1)) { ?> <tr> <td class="StockWarning" align="center"><font color=#ff0000><?php echo STOCK_CAN_CHECKOUT; ?></font></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> <!--eof stock announcement--> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.