Forums / Zen Cart Code Suggestions / Specials: status control by stock level

Specials: status control by stock level

Views: 154

Results 1 to 4 of 4
21 Jan 2020, 11:18 PM
#1
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Specials: status control by stock level

Currently the status of the Special Price can be auto-activated/deactivated only by a date range.

Personally I only use Specials to get rid of stock...then someone buys it when it is out of stock and still at the discount price as it has been forgotten to delete it.

For me it would be useful to add another field for a minimum stock level at which the special is deactivated or deleted.

Comments?

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

22 Jan 2020, 11:11 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Specials: status control by stock level

Is this a "move it out" to restock situation? While it seems that such a feature would disable the special price, but wouldn't the product still be available to then purchase while "out-of-stock" and still be somewhat in the same boat?

If implemented, seems like would also want a feature to support buying a specific quantity regardless the available stock... Wouldn't necessarily think it is a one or the other as stock quantities could be updated at any time during such promotion...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

22 Jan 2020, 11:28 AM
#3
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Re: Specials: status control by stock level

I'll only speak for my case where a special is (hopefully) a temporary thing to reduce/clear stock.
Once that stock has gone, normal service is resumed and people can continue to buy at the normal price: I have thousands of products on sale that we supply to order only.
Sometimes certain items start to gather dust and so I want to clear them, not stop selling them.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

1 Feb 2020, 3:32 AM
#4
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Specials: status control by stock level

yeah, this would be super useful. I have also done something similar to all products, a checkbox on collect info and corresponding db column in products table. When stock = 0, disable the product. We use this switch for stuff we are trying to clear out, blemished/damaged items and discontinued items.


Zen Cart and it's community are the best!!