yakseller Posted January 6, 2004 Share Posted January 6, 2004 I have installed MS2. Items with a 0 stock level are still being listed on my site. Is there a way not list items that are not in stock? TIA Link to comment Share on other sites More sharing options...
yakseller Posted January 6, 2004 Author Share Posted January 6, 2004 After reading a lot of posts, it seems that this is a built in function of OsCommerce... Am I missing it somewhere, or is my setup different than others? Thanks Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2004 Share Posted January 6, 2004 i put a big red graphic of No Stock on mine, i do not want the customer to think that the product is no longer carried i will even let them do back orders Link to comment Share on other sites More sharing options...
yakseller Posted January 6, 2004 Author Share Posted January 6, 2004 At my store, once these products are gone, they are gone. I do not want them to display anywhere... Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2004 Share Posted January 6, 2004 When you say Items with a 0 stock level is it you who put 0 in your products or stock went down to 0?Check in admin->configuration->Stock->Mark product out of stock, do you have ***? The_Bear Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2004 Share Posted January 6, 2004 Pierre, what he is doing is probably selling close out items which once gone, there is no more stock, so to delete any reference to that item is going to have to be how it is done, bad thing is when you do delete the items, reports which reference orders and where they have bought those products, they will not be able to see that Link to comment Share on other sites More sharing options...
yakseller Posted January 6, 2004 Author Share Posted January 6, 2004 I am selling some close out items. The products will go to 0 quantity as customers purchase the items. However, after the last item is purchased, I do not want the items to show up in the store. I do not want to have to manually delete these products from my db. Link to comment Share on other sites More sharing options...
yakseller Posted January 6, 2004 Author Share Posted January 6, 2004 Currently, if put into a shopping cart, the *** will display next to a deleted item. However, I do not want the customers to even see the product in our system. Thanks Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2004 Share Posted January 6, 2004 Admin->Confirmation->Stock Allow Checkout -> False instead of True I had mine set to true, and when I made this, the items which were out of stock did not show up in my system. Link to comment Share on other sites More sharing options...
yakseller Posted January 7, 2004 Author Share Posted January 7, 2004 I have this setting to false, and the items are still listed. I checked table configuration, configuration_key STOCK_ALLOW_CHECKOUT and it is set to false. I am not that experienced in php, but I cannot find where this value is checked when listing products. Link to comment Share on other sites More sharing options...
mark27uk3 Posted January 7, 2004 Share Posted January 7, 2004 Hi, My problem is I want the out of stock products to show and to display a out of stock icon underneath instead of a buy if now button. Can anyone tell me how to perform this? Regards Mark Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 Edit: this was an answer to the original question Are you setting the level to 0 manually or are you actually allowing it to decrement by placing orders? I found that if I set the level to 0 then the item showed up. But if I set the level to 1 and then placed a test order for the item, (so stock level went to 0) then it could no longer be seen. It was a nasty shock actually, as I wanted mine to be seen and back orders placed. So I had the opposite problem. But the default is that they are set inactive, unless things have been changed in MS2. Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 Hi, My problem is I want the out of stock products to show and to display a out of stock icon underneath instead of a buy if now button. Can anyone tell me how to perform this? Regards Mark See this thread for the solution to the first part of your problem: http://www.oscommerce.com/forums/index.php?showtopic=56499 As for the showing an alternative image, you would probably have to edit default.php where it calls the Buy it Now image so that it checks the db first. If stock >0 then show the buy it now but if stock =0 then show the out of stock image. I can't write code but there are lots of nice people round here who can. Link to comment Share on other sites More sharing options...
yakseller Posted January 7, 2004 Author Share Posted January 7, 2004 Are you setting the level to 0 manually or are you actually allowing it to decrement by placing orders? I found that if I set the level to 0 then the item showed up. But if I set the level to 1 and then placed a test order for the item, (so stock level went to 0) then it could no longer be seen. After doing what you said, it is true that the items do not show when they go to 0 quantity by themselves. I guess the item is set to inactive when the last item is sold. Inactive items are not listed, however Active Items with 0 quantity are shown. Thanks for your help. Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 Well, then you're OK. As you sell your stuff, when your stock is depleted the items will go to inactive automatically. If you are entering new products with a stock level of 0 you can set them inactive manually simply by selecting Out of stock at the top of the new product page, or changing the green dot to red on the categories listing page in admin. Link to comment Share on other sites More sharing options...
case510 Posted January 10, 2004 Share Posted January 10, 2004 I hace the same problem. Items I sell are unique. I tried all possible settings to make an item with stock=0 to disappear. No result so far. Any idea? Link to comment Share on other sites More sharing options...
trendyfashion Posted January 10, 2004 Share Posted January 10, 2004 Mine works just fine. All items I will have are one of a kind usually. In your admin panel under configuration, stock these are my settings. Check stock level true Subtract stock true Allow Checkout false Mark product out of stock SOLD Stock Re-order level 0 The Wiki Docs: Read them, live them and be thankful for them! Link to comment Share on other sites More sharing options...
Guest Posted January 10, 2004 Share Posted January 10, 2004 I hace the same problem. Items I sell are unique. I tried all possible settings to make an item with stock=0 to disappear. No result so far. Any idea? Did you try setting it to 1 and then placing a test order for it? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.