If you have installed the Pickzen App from the Shopify store, you will be able to import your products directly from Shopify. In this case, the Shopify option will be available in the Integrations panel, allowing to configure a time to update the feed of products from Shopify daily:
To synchronize daily enable the Synchronize daily checkbox, and select the time and the Assistant(s) you want to synchronize daily.
The button Synchronize now, fetches the last feed of products from Shopify, and updates the products of the Assistants configured to synchronize daily.
When you import your products in Pickzen from Shopify, they are actually downloaded from a Pickzen cache to avoid downloading them from Shopify. Every time the feed is synchronized, this Pickzen cache is updated with the last Shopify products.

Showing results in Shopify

It is possible to show the recommended products in the Shopify store itself instead of the Pickzen results page. For it, you have to create a Shopify Liquid template that will be displayed as a part of the online Shopify store's theme. Pickzen will redirect to that page passing the following parameters that the Liquid template can use to render the results:
%header% Customized text by quiz.
%pzids% List of recommended product IDs separated by comma.
%pzhandles% List of recommended product handles separated by comma.
%pzselections% User response IDs separated by comma.
%pzslots% Slot titles separated by comma.
%pzuseid% User session execution ID to be used in API requests.
The technology behind this functionality is Shopify App proxy. Refer to Shopify documentation to know more.
The results Liquid template is defined in the Results tabs. For example:
In this example, we are transforming the pzhandles parameter in an array on which we iterate to render each product through the product-item snippet.
Once defined the results template, we need to configure the Assistant to redirect to Shopify. Simply, enter into the end slide settings and enable Show results in Shopify:
We can optionally set a customized text that can be shown in the template through the header parameter, for example:
Try to minimize or avoid if possible the header text passed to the template because the information available to pass to the liquid template, including the recommended products, is limited.
Copy link