As its need to set up Artification JS file through Open cart Module Admin settings, provided by Artifi Labs along with web site id and web API client key, this helps Magento to talk with Artifi Engine.
Artifi module includes the Artifi js file and thus able to make direct calls to Artifi Engine.
Through each call to Artifi engine, Open cart sends some parameters to Artifi Engine by which Artifi Engine precede its functionality and send data back to Open cart accordingly.
As per the requirement, need to make calls on following states to Artifi Engine through Open cart:
- Editing Personalized product
- Preview personalized product
- Update product details after checkout