Jump to content

Display Orders which contain a product


Recommended Posts

I'd like to have a page where I can enter a product via autocomplete search which then displays all orders containing that product.

 

I got it working with an all custom solution (without using the built-in methods for displaying the table, filter and so on). 

 

But now I would have to develop all the functionality that comes with the built-in tables so I'm wondering if there maybe is an easier solution. 

 

Is there any way to display a custom field for my product autocomplete search before the actual table but still in the same form so I will receive the data from that field? I know I can do something like 

 public function renderList()
    {
        $this->content = 'hello world';
        $this->content .= parent::renderList();
    }

But than hello world is outside of the form and hence the data is not sent back to the controller. 

 

Thanks for helping

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...