integration_documentation:direct_integration

integration_documentation:direct_integration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
integration_documentation:direct_integration [2019/12/05 15:27]
florian
integration_documentation:direct_integration [2019/12/12 17:32]
florian
Line 77: Line 77:
  
 {{ :​integration_documentation:​fl-navigation-result.png |}} {{ :​integration_documentation:​fl-navigation-result.png |}}
 +
 +----
 +
 +==== Inserting content after FINDOLOGIC rendering ====
 +
 +In case of frequent updates to a product’s or category’s specific information (e.g. availability,​ price, promotion banners etc.), it is possible to load this data dynamically via scripts on the shop’s side, after FINDOLOGIC results are fully rendered.
 +
 +If needed, FINDOLOGIC will send an event (such as „findologicFinish“) after results rendering. In further consequence any code may be executed by setting up a respective event-listener.
 +
 +Recommended implementation:​
 +
 +<code php>
 +
 +document.addEventListener("​findologicFinished",​ afterFindo);​
 +function afterFindo() {
 +    // „Shop’s script“
 +}
 +
 +</​code>​
 +
 +
 +