I am trying to get form that is used in content type template in template.php. I am creating node collections with EntityFieldQuery, and I am pulling field values of content type without problem.
But i need to access form, and add it to html stream that i create in template.php
In content type i can do
print render($content['add_to_cart']);
To get form out.
But now in template.php i need that form for specific nodes (im pulling them with EntityFieldQuery) as html, so i can include it to rest of the stream and send the data in variable, and simply output it where i need it (content type page.)
Thanks!