Picking up AJAX to download product data, I wrote a snippet to get data about the manufacturer by id.
How does it work:
We specify id and get the manufacturer's data in the form of an array, or a string of processed chunk.
Options:
vendor - vendor id (default is 0)
tpl - output template, placeholders correspond to fields in the table (by default tpl.msVendor)
returnData - if you specify 1, then the snippet will return an array of data (default is 0)
returnOption - if you specify the name of a specific field that is needed, then the snippet will return only its value (default is '')
includeContent - if 1 is specified, the snippet will check the value of the specified resource with the manufacturer's description and, if there is one, add the pagetitle, introtext and content fields of the specified resource to the output values (default 0)
Supply:
Packed everything in a transport package. In github is both an archive and a php snippet file.