There is a number of events you can use in case you need to change any default values returned by the API.
<tr>
<td>styla_product_info_renderer_collect_additional</td>
<td>Can be used to modify data of a product when it's requested on the magazine page</td>
Event Name | Dispatched when... |
---|---|
styla_category_get_tree | A category tree is ready and filled with data |
styla_get_product_collection | A collection of products requested by Styla API is processed and ready to be returned |
styla_data_convert_before | Magento catalog data is about to be converted to fields needed by Styla API |
styla_data_convert_after | Magento catalog data has just been converted to fields needed by Styla API |
styla_get_data_converters | Get a list of converters needed for generating data format required by the Styla API |