Online stock management system