Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can get a product to disappear when out of stock?


Guest

Recommended Posts

Posted

Any help gratefully received! Most of the items I intend to sell in my shop are one offs. Once they are sold I won?t have any more. I would therefore like it that the product is not displayed once sold - not just the current system of a warning (by means of ***) that the item is out of stock. I've spent an age reading the install notes and this forum, but I can't find an answer. Is there any method or setting by which I can do this? I have a reasonable knowledge of php so I don?t mind getting my ?hands dirty? on the front. Thanks in advance.

 

Regards,

 

Peter.

 

(www.pkc494.co.uk)

Posted
Any help gratefully received! Most of the items I intend to sell in my shop are one offs. Once they are sold I won?t have any more. I would therefore like it that the product is not displayed once sold - not just the current system of a warning (by means of ***) that the item is out of stock. I've spent an age reading the install notes and this forum, but I can't find an answer. Is there any method or setting by which I can do this? I have a reasonable knowledge of php so I don?t mind getting my ?hands dirty? on the front. Thanks in advance.

 

Regards,

 

Peter.

 

(www.pkc494.co.uk)

 

Hi, I have a similer setup because I sell memorabilia.

 

My out of stock items don't show but to be honest I'm not an OSC expert so I can't tell you how I did it but it must be an admin setting about when to restock ?.

 

Another tip don't read the notes :D

-----------------------------------------------------------------------------

OSC user for years and no coder, so I've earned my stripes.

 

Feel free to private message me.

Posted

Thanks very much. Reading the notes is always a guaranteed headache! I'm attempting to sell auotmobilia, ie. car related memorabilia so we're in a similar situation.

 

Does anyone know the setting I need to change to make my out of stock items not appear?

Posted
Thanks very much. Reading the notes is always a guaranteed headache! I'm attempting to sell auotmobilia, ie. car related memorabilia so we're in a similar situation.

 

Does anyone know the setting I need to change to make my out of stock items not appear?

 

I have the following in my admin

 

Configuration-->stock control

 

Check stock level true

Subtract stock true Info

Allow Checkout false Info

Mark product out of stock *** Sorry you missed this one *** Info

Stock Re-order level 0

-----------------------------------------------------------------------------

OSC user for years and no coder, so I've earned my stripes.

 

Feel free to private message me.

Posted

In your osCommerce admin panel, in the Catalog section, go to the product, and under Status you'll see a pink circle to the right of the green circle - click that and it will turn to red and the product will still be in your database but won't show up on your website at all.

 

Vger

Posted

Thanks again. I did have to change my reorder level to '0', but I'm still getting stock displaying. I think I need to try again with a new item as I'm not sure I've confused the poor system. I'll report back later.

 

In the mean time if anyone could confirm either way that this is the fix I'd be most grateful.

 

All the best,

 

Peter.

 

Update:

 

Cheers for the extra thread choosealogin!

Posted
Thanks again. I did have to change my reorder level to '0', but I'm still getting stock displaying. I think I need to try again with a new item as I'm not sure I've confused the poor system. I'll report back later.

 

In the mean time if anyone could confirm either way that this is the fix I'd be most grateful.

 

Your welcome.

 

Not sure where it came from, but re-order level won't help you ...I guess you figured that out.

 

That doesn't do what the poster asked.

 

Vger

 

I'm not sure who you're talking to.

Posted
Thanks again. I did have to change my reorder level to '0', but I'm still getting stock displaying. I think I need to try again with a new item as I'm not sure I've confused the poor system. I'll report back later.

 

In the mean time if anyone could confirm either way that this is the fix I'd be most grateful.

 

All the best,

 

Peter.

 

Update:

 

Cheers for the extra thread choosealogin!

 

I think now it's just a case of turning those items off as Vger said.

 

If that setting was in place when the items when out of stock it would have done that for you but I don't think it does it retrospective.

-----------------------------------------------------------------------------

OSC user for years and no coder, so I've earned my stripes.

 

Feel free to private message me.

Posted

Setting 'Allow checkout' to false does not stop items which are out of stock being listed on the website - it merely prevents people from checking out with items which are out of stock.

 

Switching the Green button to Red does prevent them from being listed - without removing them from the database. They can be reactivated when in stock again.

 

Vger

Posted
I think now it's just a case of turning those items off as Vger said.

 

If that setting was in place when the items when out of stock it would have done that for you but I don't think it does it retrospective.

 

What he wants is when the last of the stock is sold, then the item does not show in the shop.

 

Thats how my site works, I don't have to go into the admin each time a stock level goes to "0" the system does this. but I think thats what your saying

-----------------------------------------------------------------------------

OSC user for years and no coder, so I've earned my stripes.

 

Feel free to private message me.

Posted
Setting 'Allow checkout' to false does not stop items which are out of stock being listed on the website - it merely prevents people from checking out with items which are out of stock.

 

Switching the Green button to Red does prevent them from being listed - without removing them from the database. They can be reactivated when in stock again.

 

Vger

 

 

Yes, completely agreed.

 

But if you set the stock level accurately, and have the two settings below in place...the green light will turn red automatically when stock reaches zero...after the product has been purchased, and the customer has checked out.

 

Check stock level true

Subtract stock true

 

I'm not an expert at anything, but I just know this because I only list a quantity one of each item in my store....just my experience :blush:

Posted
Yes, completely agreed.

 

But if you set the stock level accurately, and have the two settings below in place...the green light will turn red automatically when stock reaches zero...after the product has been purchased, and the customer has checked out.

 

Check stock level true

Subtract stock true

 

I'm not an expert at anything, but I just know this because I only list a quantity one of each item in my store....just my experience :blush:

 

Hello again! This does the job I'm after. As with others most of my stock is just one unique item. If someone logs on, picks the item and purchases it through checkout the stock is then not visable to other customers. If I look in my admin section the item has been switched to red ie. unavailable.

 

Thanks for everyone's help and just to confirm the answer can be found here (but do read the whole thread):

 

http://www.oscommerce.com/forums/index.php?sho...mp;hl=disappear

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...