Hi. You're probably here to take care of integration with Styla for your employer/client. That's nice. This content will guide you through the process and give you information you need. Even though its main goal is to make integration easier, it also describes general concepts behind Styla.
There are three products our client use, depending on options in their contracts:
The above products have several features in common, especially:
As a first step, please check if your website and shop are powered by any of the applications Styla has plugins for. If you use any of the ones mentioned on this page, you simply install and configure the plugin and don't have to do any development work.
The plugins don't handle embedding of Modular Content as this depends on each shop's front-end heavily.
If your website and shop solutions are not on the list, then some development on your end will be required. There are several integration options provided and you should decide which ones you are going to use and invest your work into. You can see a summary of them in the table below. The table contains links to applicable sections of this documentation for each of the options, so that you can check them directly.
The work efforts below are estimates and will vary depending on how complex your tech stack is and how experienced your developers are.
|Integration option:||Work effort:||Benefits:|
|Embedding Styla JS for Pages and Magazines:|
|JS+HTML snippet||0-1hr||Styla JS embedded and rendering Styla content between header and footer of your website.|
|Routing for Pages and Magazines:|
|Wildcard URL rule||1-4hrs||
|Embedding Modular Content|
|JS+HTML snippet||0-1hr per template||Styla modules are displayed on a specific template and their content can be managed in editor.styla.com in terms of a) what content is displayed b) where it is displayed (specific paths on your website can be whitelisted).|
|Product data in static files||4-12hrs||Enables users to search for a product by its name and SKU and add products into Styla content directly from editor.styla.com.
This file is only crawled every 6 hours by Styla so there will be a delay between the time you update it and new products visible in editor.styla.com.
|Product data as JSON API||8-16hrs||Product data (from Categories Endpoint and Search Endpoint) is sourced in real time so it’s always up-to-date in editor.styla.com and on Styla content.
Only this way lets Styla enabling the "Add to Cart" function since real-time availability for products is needed.
|Add to Cart functionality||4-8hrs||Customers can add products listed in the Styla content to the shopping cart directly instead of going to product page.|
|Static HTML tags for SEO purposes:|
|Integration with Styla's SEO API||8-16hrs||
The options above can be handled step-by step, so your Styla content can first be launched with a limited set of them, for some other to be added later on. Once you've decided what you need, please read each section of the documentation linked to in the table. Then let's schedule a call with Styla's integration team for them to provide any help you might need and agree on your next steps.
In general, the integration process should look like this (details depend on your setup):
Please stick to this process for the initial integration and any future updates as well. Of course, there's much more details to the process and they are covered in this documentation.
If any of this is missing, please contact Styla support.
We will actively ask you for these later on.