Reworked the Observer based on excess code (duplication) of core Magento functionality. Removed that and sice using a hook, only included the important code to the module.

Rework credit of this file goes to https://github.com/exobuzz.

File Modified:

- app/code/local/GSC/Stockavailability/Model/Observer.php