We sell goods both on ebay (uk) and through our own Zen-cart based e-commerce shop.
We deduct the ebay sales from a master stock list held on our shop's site at the end of each day. We need a script that will read when an item's quantity reaches 0, and then automatically end all those listings on ebay.
We need the option to run the script automatically (eg every 2 hours), as well as manually (eg if we manually adjust stock quantites and need to pull the ebay listings quickly)
Each item on the shop has a unique product code, the ebay listings will need to be cancelled based on their title as we have multiple listings running at once (both store and BIN). There is a text file on the server that contains all the e-commerce product codes alongside their corresponding ebay titles.
Not a massive job, so would like it done in under a week.