Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Script to enable reservation of inventory to non-webstore customers
I have a need for a scheduled script which would be able to disable webstore sales for items if their available quantities fall below 2 weeks supply, in order to reserve this inventory for our B2B customers..
Basically, if specific location qty available is at or below 2 weeks supply (previous 90 days sales / 6), then script would check box “true” on field “Don’t Show Price” (Field ID: dontshowprice ). Otherwise, It would un-check same box (items are now back in-stock, and available for sale in webstore).
We want the items to continue to display on out site, just not for sale......
I think this could be a fairly simple script, would greatly appreciate any help, or if someone could point me in the direction of somebody who may be able to write this for me.