saxman513 Posted July 9, 2003 Share Posted July 9, 2003 Hello, in the shopping cart if a product is out of stock in my snapshot, it puts 'true' next to the product. this is from includes/functions/general.php if ($stock_left < 0) { $out_of_stock = '<span class="markProductOutOfStock">' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . '</span>'; } return $out_of_stock; It is also used in includes/languages/english/shopping_cart.php define('OUT_OF_STOCK_CANT_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' dont exist in desired quantity in our stock.<br>Please alter the quantity of products marked with (' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . '), Thank you'); can anyone tell me where 'STOCK_MARK_PRODUCT_OUT_OF_STOCK' is being set to true? I cant find it anywhere. I've seen posts where people say this is set to 'out of stock'. I need to change this! Thanks everyone! :listen: Musik Makin' Makes Me Mappy. . . I mean, Happy! :listen: ****Play that sax-a-ma-phone! - Homer J. Simpson**** Link to comment Share on other sites More sharing options...
saxman513 Posted July 10, 2003 Author Share Posted July 10, 2003 Is it possible to return something other than true or false? :listen: Musik Makin' Makes Me Mappy. . . I mean, Happy! :listen: ****Play that sax-a-ma-phone! - Homer J. Simpson**** Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2003 Share Posted July 10, 2003 Yes, you can return whatever string you want. The default is ***. It's in admin > Configuration > My Store > Stock > Mark Product out of Stock. Hth, Matt Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.