Update an item status once purchased
I need to setup a function on eCart that once an item is purchased the item will get updated as sold. The items would be one of a kind things, so it is only available until someone purchases.
I am thinking on the checkout - (the checkout success page) that it would run this loop to update in items that were purchased when the page loaded.
Am I thinking along the correct lines?