Answer the question
In order to leave comments, you need to log in
How to display products from bitrix24 on a site with modx revo?
There is a site on MODX Revolution 2.7.0-pl there is a catalog of goods in Bitrix24.
It is necessary to display different lists of goods from Bitrix on certain pages of the site (filtering by categories as they are introduced in Bitrix, for example).
As I understand it, there are no ready-made solutions / plugins - and I will have to write my own scripts for periodically unloading from Bitrix via API and importing it into modx in some form? different miniShop2 can't do that?
Accordingly, how is it better to do this so that after updating a product in Bitrix24, it itself is updated within 10 minutes on all pages of the site, ideally, taking into account page caching in modx?
A separate cron script that climbs into the Bitrix api, determines the updated products and uploads them as a file somewhere to a directory on the site, and in modx - a self-written product output snippet checks that directory, updates the product lists, clears the cache, etc... ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question